Data File Access
Enter NEUBrew Data Access Area
Automated (Scripted), or command line Access to NEUBrew Data
If you are looking to download numerous data files, this section provides a method to accomplish this from the command line using wget. NEUBrew data can be downloaded via HTTP using WGET for Linux (Docs) or WGET for Windows (Cygwin).
Example:
The following command would retrieve all the Level 212 UV Index files in 2015 for BR140 at Raleigh, NC (command line is wrapped for readability). The files will be placed in the current working directory on your local system, unless -P option is supplied
$ wget -nc -nd -c -o ./logFile.txt -A '2015*.212' https://esrl.noaa.gov/gmd/grad/neubrewdata/products/uv_index/Lev212/2015/raleigh_nc/BR140
Options: | Descrption |
---|---|
-r | Recursive sub-directory search. |
-l n | Look n = number directories deep. |
-t x | Re-try on failures x times. |
-nc | noclobber (don't download a file more than once). |
-c | Continue to try to download a partically downloaded file. |
-o fileName | Write command line status and responses to specified fileName. |
-nd | No Directory creation. Without this option, the full directory path to files will be recreated on your local system |
-A | Accept List. Example: pattern '2015*.212' must be enclosed in quotes to prevent shell expansion |
-P localPath | prefix. The top-level-directory of where downloaded files will be placed. Default is '.' |