Open ammaratalib opened 5 years ago
I was running code to download GEFS forecasting data. My error could be because I am using windows instead of linux. I just wanted to check if anyone faced similar problem or if you have any suggestions to fix it.
That's what I did.
download.NOAA_GEFS(outfolder="Working/results", lat.in= 45.805925, lon.in = -90.07961, sitename="US-WCr")
Error in ncdf4::nc_open(gefs_url) : Error in nc_open trying to open file http://thredds.ucar.edu/thredds/dodsC/grib/NCEP/GEFS/Global_1p0deg_Ensemble/members/GEFS_Global_1p0deg_Ensemble_20190802_1200.grib2
Another error I am getting is with dates start_date="2018-06-24T06:00" end_date="2019-01-02T06:00"
#######code download.NOAA_GEFS_downscale("Temperature_forecast", 41.165,-96.477, "us_wcr", start_date = Sys.time(), end_date = (as.POSIXct(start_date, tz="UTC") + lubridate::days(16)), overwrite = FALSE, verbose = FALSE)
Error in PEcAn.logger::logger.severe("Invalid dates: end date occurs before start date") : Invalid dates: end date occurs before start date
This issue is stale because it has been open 365 days with no activity.
Bug Description
I was running code to download GEFS forecasting data. My error could be because I am using windows instead of linux. I just wanted to check if anyone faced similar problem or if you have any suggestions to fix it.
That's what I did.
code
download.NOAA_GEFS(outfolder="Working/results", lat.in= 45.805925, lon.in = -90.07961, sitename="US-WCr")
error
Error in ncdf4::nc_open(gefs_url) : Error in nc_open trying to open file http://thredds.ucar.edu/thredds/dodsC/grib/NCEP/GEFS/Global_1p0deg_Ensemble/members/GEFS_Global_1p0deg_Ensemble_20190802_1200.grib2
Another error I am getting is with dates start_date="2018-06-24T06:00" end_date="2019-01-02T06:00"
#######code download.NOAA_GEFS_downscale("Temperature_forecast", 41.165,-96.477, "us_wcr", start_date = Sys.time(), end_date = (as.POSIXct(start_date, tz="UTC") + lubridate::days(16)), overwrite = FALSE, verbose = FALSE)
error
Error in PEcAn.logger::logger.severe("Invalid dates: end date occurs before start date") : Invalid dates: end date occurs before start date