Download NEON files
neon_download_filesDownload NEON ecological data files, package ZIPs, prototype datasets, or documents to a local directory with size checks, MD5 verification, and skip of identical existing files.
Instructions
Download data files (or package ZIPs), a prototype dataset's files, or a NEON document into the configured download directory (stdio only; data files need a token). The plan is checked against file/byte caps before any transfer; MD5s are verified; identical existing files are skipped. Next: read the CSVs (pandas.read_csv) and cite with neon_get_citation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hor | No | Horizontal index, e.g. 000. | |
| tmi | No | Temporal index in minutes, e.g. 030. | |
| ver | No | Vertical index, e.g. 010. | |
| kind | No | data, variables, readme, sensor_positions, eml, ... or package. | |
| table | No | Table name, e.g. 2DWSD_30min or brd_countdata. | |
| as_zip | No | Download NEON's package ZIP per site-month instead of files. | |
| package | No | basic (default) or expanded. | basic |
| product | No | Product code or name. | |
| release | No | Only files in this release (default: latest per month). | |
| end_month | No | Last month (YYYY-MM); defaults to start_month. | |
| if_exists | No | skip identical existing files (default) or error. | skip |
| max_bytes | No | Refuse the plan above this many bytes. | |
| file_names | No | With prototype_uuid: only these file names. | |
| site_codes | No | Site codes or names (up to 30). | |
| dest_subdir | No | Relative sub-directory of the download directory. | |
| spec_number | No | Download one NEON document (e.g. NEON.DOC.000780vD). | |
| start_month | No | First month (YYYY-MM). | |
| name_contains | No | Substring the file name must contain. | |
| prototype_uuid | No | Download a prototype dataset's files instead. | |
| include_provisional | No | Include PROVISIONAL (unreleased) months. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| notes | No | ||
| source | No | ||
| totals | Yes | ||
| resolved | No | ||
| nextSteps | No | ||
| requested | Yes | ||
| downloadDir | Yes |