NEONScience / NEON-utilities

Utilities and scripts for working with NEON data. Currently: an R package with functions to join (stack) the month-by-site files in downloaded NEON data, to convert data to geoCSV format, and to download data from the API.
GNU Affero General Public License v3.0
57 stars 36 forks source link

Precip data from AQU site co-located with TIS site will not download #123

Closed znickerson8 closed 1 year ago

znickerson8 commented 2 years ago

Function zipsByProduct

Describe the bug Error when downloading precip data (DP1.00006.001) using an aquatic site ID that does not have its own precip data, but pulls from the nearest co-located terrestrial site

To Reproduce

precipitation data from the NEON API

DP1.00006.001 <- neonUtilities::loadByProduct( dpID="DP1.00006.001", package = "basic", check.size = F, site = "MCRA", startdate = "2017-10", enddate = "2018-09) Error in zipsByProduct(dpID = dpID, site = site, startdate = startdate, : There are no data at the selected site(s).

Expected behavior I should download data from ABBY

System (please complete the following information):

Additional context N/A