bluegreen-labs / daymetr

An R Interface to the Daymet Web Services
http://bluegreen-labs.github.io/daymetr/
Other
30 stars 17 forks source link

Implement THREDDS tile subsets, instead of tile downloads #6

Closed khufkens closed 7 years ago

khufkens commented 7 years ago

As per email from Michele:

The ORNL DAAC has posted a guide to the THREDDS NetCDF Subset Service. This REST API allows subsetting of netCDF datasets in coordinate space. Due to file sizes, it may be cumbersome to download the entire North American extent of the Daymet data. Subsetting the data through THREDDS is one option available for users who don't need access to entire data set. The THREDDS data server provides an interactive GUI web form which allows users to perform NCSS-based spatio-temporal subsetting and download of one Daymet variable_year per submission. These interactive requests can be automated through programmatic, machine-to-machine requests which involve the construction and submission of an HTTP request to the THREDDS data server through an extended URL with defined parameters. Gridded data subsets are returned in CF-compliant netCDF-3 or netCDF-4 formats.

https://daymet.ornl.gov/web_services.html

khufkens commented 7 years ago

new function download_daymet_ncss() added covering this functionality