Comments (3)
I am trying to download the daymet data for 42224 sites, but it has the following message:
CR_daymet<-download_daymet_batch("CR_header_site.csv",
start = 1980,
end = 2019,
internal = TRUE)
Error : cannot allocate vector of size 125 Kb
Downloading DAYMET data for: sub_510 at 49.34868/-117.7382 latitude/longitude !
Done !
Error : cannot allocate vector of size 125 Kb
Downloading DAYMET data for: sub_511 at 49.44258/-117.7657 latitude/longitude !
from daymetr.
As the statement says: 'could not resolve host' the server is down or unreachable from your network.
Also, it is a bad idea to start your site names with numbers, this is cause for issues during downloading and post processing.
The below example works for me.
library(daymetr)
# create demo locations
locations <- data.frame(site = c("site1", "site2"),
lat = rep(36.0133, 2),
lon = rep(-84.2625, 2))
# write csv to file
write.table(locations, paste0(tempdir(),"/locations.csv"),
sep = ",",
col.names = TRUE,
row.names = FALSE,
quote = FALSE)
# download data
test_data <- download_daymet_batch(
file_location = paste0(tempdir(),"/locations.csv"),
start = 1980,
end = 1980,
internal = TRUE,
silent = FALSE)
from daymetr.
I can't reproduce your problem, so this isn't an issue with the package but with how you format the data. Without a reproducible example from your side I can't do anything with the above statement.
Please provide a reproducible example.
from daymetr.
Related Issues (20)
- Error: The server is unreachable, check your connection. HOT 4
- Faulty documentation NCSS downloads HOT 1
- download_dayment_ncss() cannot pull 2020 data HOT 2
- Check for server uptime fails CRAN tests HOT 1
- add daymet v4 option to download_daymet_ncss HOT 1
- download_daymet_ncss() not downloading some variables HOT 1
- 2021 data now available HOT 7
- Download functions not linking correctly to FTP servers? HOT 1
- Please remove dependencies on **rgdal**, **rgeos**, and/or **maptools** HOT 2
- Cannot Open Daymet Files HOT 3
- When will year 2022 be available HOT 1
- grid aggregation fail HOT 1
- Unable to download ncss data from hawaii
- CRAN release - minor fixes HOT 3
- Identify key variables in download_daymet_batch HOT 2
- nc2tif fails: terra/Mac OS issue? HOT 1
- Roxygen CRAN issue HOT 1
- Error with spatial raster in daymetr::daymet_grid_tmean HOT 1
- Missing data for Leap days HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from daymetr.