From 5ccf5ae90f785f2959dc0f8bd806ef6e5aac7419 Mon Sep 17 00:00:00 2001 From: Huidae Cho Date: Sat, 21 Oct 2023 07:49:09 -0600 Subject: [PATCH] m.tnm.download: Renamed from m.download.tnm to be consistent with other *.*.download (#961) --- src/misc/m.download.tnm/Makefile | 2 +- .../{m.download.tnm.html => m.tnm.download.html} | 14 +++++++------- .../{m.download.tnm.py => m.tnm.download.py} | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) rename src/misc/m.download.tnm/{m.download.tnm.html => m.tnm.download.html} (75%) rename src/misc/m.download.tnm/{m.download.tnm.py => m.tnm.download.py} (99%) diff --git a/src/misc/m.download.tnm/Makefile b/src/misc/m.download.tnm/Makefile index 4f8d363b3a..243b38bc24 100644 --- a/src/misc/m.download.tnm/Makefile +++ b/src/misc/m.download.tnm/Makefile @@ -1,6 +1,6 @@ MODULE_TOPDIR = ../.. -PGM = m.download.tnm +PGM = m.tnm.download include $(MODULE_TOPDIR)/include/Make/Script.make diff --git a/src/misc/m.download.tnm/m.download.tnm.html b/src/misc/m.download.tnm/m.tnm.download.html similarity index 75% rename from src/misc/m.download.tnm/m.download.tnm.html rename to src/misc/m.download.tnm/m.tnm.download.html index 9ad9a9ea40..18acc8049e 100644 --- a/src/misc/m.download.tnm/m.download.tnm.html +++ b/src/misc/m.download.tnm/m.tnm.download.html @@ -1,6 +1,6 @@

DESCRIPTION

-m.download.tnm downloads data for specified polygon codes from The National Map (TNM). +m.tnm.download downloads data for specified polygon codes from The National Map (TNM).

NOTES

@@ -14,27 +14,27 @@

EXAMPLES

 # use indices, IDs, or tags to select datasets, but indices can change between
 # sessions
-m.download.tnm -d
+m.tnm.download -d
 
List supported states and exit:
 # use FIPS codes, USPS codes, or names to select states for type=state
-m.download.tnm -s
+m.tnm.download -s
 
Download National Elevation Dataset (NED) 1-arcsecond files for Texas:
 # find the dataset ID
-m.download.tnm -d | grep "NED.* 1 arc-second"
-m.download.tnm dataset=one-arc-second-dem type=state code=TX
+m.tnm.download -d | grep "NED.* 1 arc-second"
+m.tnm.download dataset=one-arc-second-dem type=state code=TX
 
Download National Watershed Boundary Dataset (WBD) files for HUC8 01010001:
 # find the dataset ID
-m.download.tnm -d | grep WBD
-m.download.tnm dataset=watershed-boundary-dataset type=huc8 code=01010001
+m.tnm.download -d | grep WBD
+m.tnm.download dataset=watershed-boundary-dataset type=huc8 code=01010001
 
diff --git a/src/misc/m.download.tnm/m.download.tnm.py b/src/misc/m.download.tnm/m.tnm.download.py similarity index 99% rename from src/misc/m.download.tnm/m.download.tnm.py rename to src/misc/m.download.tnm/m.tnm.download.py index ff759f3c76..a90838baa3 100755 --- a/src/misc/m.download.tnm/m.download.tnm.py +++ b/src/misc/m.download.tnm/m.tnm.download.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 ############################################################################ # -# MODULE: m.download.tnm +# MODULE: m.tnm.download # AUTHOR(S): Huidae Cho # PURPOSE: Downloads data for specified polygon codes from The National # Map (TNM).