PecanProject / pecan

The Predictive Ecosystem Analyzer (PEcAn) is an integrated ecological bioinformatics toolbox.
www.pecanproject.org
Other
202 stars 234 forks source link

CRUNCEP URL Bug #1495

Closed tonygardella closed 7 years ago

tonygardella commented 7 years ago

The url to get CRUNCEP data seems to be wrong or their server is down. @eliask1 has been testing RC1 1.5.0 and CRUNCEP is giving this error during the raw download stage of met.process:

> remotefunc <- function() {PEcAn.data.atmosphere::download.CRUNCEP(site_id=1000000421, lat.in=40.0325, lon.in=-105.5469, model=NULL, scenario=NULL, ensemble_member=NULL, overwrite=FALSE, outfolder='/home/carya/output/dbfiles/CRUNCEP_site_1-421/', start_date='2006/01/01', end_date='2006/12/31')}
> remoteout <- remotefunc()
2017-06-27 12:57:36 INFO   [PEcAn.utils::logger.info] : 
   Downloading 
   /home/carya/output/dbfiles/CRUNCEP_site_1-421//CRUNCEP.2006.nc 
2017-06-27 12:57:36 INFO   [PEcAn.utils::logger.info] : 
   https://thredds.daac.ornl.gov/thredds/dodsC/ornldaac/1220/mstmip_driver_global_hd_climate_tair_2006_v1.nc4 
syntax error, unexpected WORD_STRING, expecting WORD_WORD
context: Error { code = 404; message = "ornldaac/1220/mstmip_driver_global_hd_climate_tair_2006_v1.nc4"^;};
Error in R_nc4_open: NetCDF: file not found
Error in ncdf4::nc_open(dap_file) : 
  Error in nc_open trying to open file https://thredds.daac.ornl.gov/thredds/dodsC/ornldaac/1220/mstmip_driver_global_hd_climate_tair_2006_v1.nc4
Calls: remotefunc -> <Anonymous> -> <Anonymous>
Execution halted

Description

The the URL to ornl server is giving an error. If you go to the url in a browser it shows an error code.

ankurdesai commented 7 years ago

@jsimkins2 You had dealt with this before on the switch from http to https. Is something else up now? I can't access the dodsC files either.

jsimkins2 commented 7 years ago

I've contacted the folks in charge of the database

jsimkins2 commented 7 years ago

Working for me now, should be fixed

tonygardella commented 7 years ago

Yeah seems to be working now. Thank you!