GRASS logo

NAME

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

KEYWORDS

USGS, The National Map, TNM

SYNOPSIS

m.tnm.download
m.tnm.download --help
m.tnm.download [-dsufS] [dataset=string[,string,...]] [type=string] [code=string[,string,...]] [date_type=string] [start_date=string] [end_date=string] [separator=character] [--help] [--verbose] [--quiet] [--ui]

Flags:

-d
List supported datasets and exit
-s
List supported states and exit
-u
List URLs only without downloading
-f
List filenames only without downloading
-S
Compare file size for skipping downloads
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog

Parameters:

dataset=string[,string,...]
Dataset index, ID, or tag
type=string
Polygon type
Options: state, huc2, huc4, huc8
Default: state
code=string[,string,...]
Polygon code (state name, USPS code, FIPS code, or HUC number)
date_type=string
Date type for search
Options: created, updated, published
Default: published
start_date=string
Start date for search in YYYY-MM-DD
end_date=string
End date for search in YYYY-MM-DD
separator=character
Field separator
Special characters: pipe, comma, space, tab, newline
Default: pipe

Table of contents

DESCRIPTION

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

NOTES

This module uses the TNM Access REST APIs to download TNM data.

EXAMPLES

List supported datasets and exit:
# use indices, IDs, or tags to select datasets, but indices can change between
# sessions
m.tnm.download -d
List supported states and exit:
# use FIPS codes, USPS codes, or names to select states for type=state
m.tnm.download -s
Download National Elevation Dataset (NED) 1-arcsecond files for Texas:
# find the dataset ID
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.tnm.download -d | grep WBD
m.tnm.download dataset=watershed-boundary-dataset type=huc8 code=01010001

SEE ALSO

m.cdo.download

AUTHOR

Huidae Cho, New Mexico State University

SOURCE CODE

Available at: m.tnm.download source code (history)

Latest change: Saturday Oct 21 19:13:49 2023 in commit: b4821e57ba2778f696cf9d3e9402d0766d38f87d


Main index | Miscellaneous index | Topics index | Keywords index | Graphical index | Full index

© 2003-2024 GRASS Development Team, GRASS GIS 8.4.1dev Reference Manual