PecanProject / pecan

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

CRUNCEP downloading incomplete number of years #1546

Open mccabete opened 7 years ago

mccabete commented 7 years ago

When doing runs while using CRUNCEP as a met source, sometimes the correct number of years aren't created.

@tonygardella @eliandrotavares Have also experienced this error.

Workaround

Redo just the function download.CRUNCEP with the apropriate site id's, lat+lon, outfolder, and dates.

PEcAn.data.atmosphere::download.CRUNCEP(site_id=853,
                                        lat.in=35.9667,
                                        lon.in=-79.0833,
                                        model=NULL, scenario=NULL,
                                        ensemble_member=NULL, overwrite=FALSE,
                                        outfolder='/fs/data1/pecan.data/dbfiles/CRUNCEP_site_0-853',
                                        start_date='1995-06-01', end_date='2010-12-31')
tonygardella commented 7 years ago

Downloading raw will stop for some reason in the middle of processing. Error Looks like this:

2017-07-18 12:00:58 INFO [PEcAn.utils::logger.info] :
https://thredds.daac.ornl.gov/thredds/dodsC/ornldaac/1220/mstmip_driver_global_hd_climate_uwind_2010_v1.nc4
2017-07-18 12:01:05 INFO [PEcAn.utils::logger.info] :
https://thredds.daac.ornl.gov/thredds/dodsC/ornldaac/1220/mstmip_driver_global_hd_climate_vwind_2010_v1.nc4
Error in Rsx_nc4_get_vara_double: NetCDF: file not found
Var: time Ndims: 1 Start: 0 Count: 1460
Error in ncvar_get_inner(d$dimvarid$group_id, d$dimvarid$id, default_missval_ncdf4(), :
C function R_nc4_get_vara_double returned error
Calls: remotefunc -> -> -> ncvar_get_inner
Execution halted

Trying the run again will continue processing met from where it left off fine. It could be a memory issue .

github-actions[bot] commented 4 years ago

This issue is stale because it has been open 365 days with no activity.