CH-Earth / datatool

datatool: Dynamical Data Processing Tool for HPCs
GNU General Public License v3.0
9 stars 4 forks source link

out-of-range dates are causing issues with `rdrsv2.1` #51

Closed kasra-keshavarz closed 5 months ago

kasra-keshavarz commented 6 months ago

The tool cannot take care of out-of-range dates in processing rdrsv2.1 files. However, it seems that anything later than the --end-date is taken care, while those before in the --start-date throw an issue like the following:

ncks: ERROR file /gpfs/tp/gwf/gwf_cmt/wknoben/camels_spat/temp/rdrs/1950/1950010112.nc not found. It does not exist on the local filesystem, nor does it match remote filename patterns (e.g., http://foo/ or foo.bar.edu:file).

Since the subsetting is done in a until ... do loop, it may continue indefinitely, without any solution.

Reported-by: Wouter Knoben @wknoben

kasra-keshavarz commented 5 months ago

Resolved for RDRSv2.1 with #52.