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
Version 2.1.2 not getting data that does exist #120
Describe the bug
the new version (2.1.2) of neonUtilities fails to produce existing data that can be downloaded with v2.0.0
To Reproduce
With version 2.1.2,
df <- loadByProduct(dpID = 'DP1.20206.001', site = 'ARIK', startdate = '2021-05', enddate = '2021-05', check.size = FALSE, package='expanded', token = Sys.getenv('NEON_TOKEN') )
Produces the error:
Error in getZipUrls(month.urls, avg = avg, package = package, dpID = dpID, : No files found. This indicates either your internet connection failed, or the API is temporarily unavailable, or the data available for DP1.20206.001 are all hosted elsewhere. Check the data portal data.neonscience.org for outage alerts, and check the DP1.20206.001 data download page for external links.
while doing it in version 2.0.0 actually produces data for the same site month.
Not only does this occur with ASI, but also with CFC at CEPR, also for 2021-05
Expected behavior
A clear and concise description of what you expected to happen.
System (please complete the following information):
The NEON Remote Desktop (where it fails)
R Version: [3.6.1] (its what's on the remote desktop)
Function loadByProduct
Describe the bug the new version (2.1.2) of neonUtilities fails to produce existing data that can be downloaded with v2.0.0
To Reproduce With version 2.1.2,
df <- loadByProduct(dpID = 'DP1.20206.001', site = 'ARIK', startdate = '2021-05', enddate = '2021-05', check.size = FALSE, package='expanded', token = Sys.getenv('NEON_TOKEN') )
Produces the error:Error in getZipUrls(month.urls, avg = avg, package = package, dpID = dpID, : No files found. This indicates either your internet connection failed, or the API is temporarily unavailable, or the data available for DP1.20206.001 are all hosted elsewhere. Check the data portal data.neonscience.org for outage alerts, and check the DP1.20206.001 data download page for external links.
while doing it in version 2.0.0 actually produces data for the same site month. Not only does this occur with ASI, but also with CFC at CEPR, also for 2021-05Expected behavior A clear and concise description of what you expected to happen.
System (please complete the following information): The NEON Remote Desktop (where it fails)