These lines limit the calls to subset RDRS to the period we actually have data for. This doesn't seem to happen in all scripts (e.g., Daymet) which results in a lot of error printouts about files not being found:
[..]
ncks: ERROR file /gpfs/tp/gwf/gwf_cmt/wknoben/camels_spat/temp/daymet/daymet_v4_daily_na_srad_1966.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).
ncks: HINT file-not-found errors usually arise from filename typos, incorrect paths, missing files, or capricious gods. Please verify spelling and location of requested file. If the file resides on a High Performance Storage System (HPSS) accessible via the 'hsi' command, then add the --hpss option and re-try command.
ncks: ERROR file /gpfs/tp/gwf/gwf_cmt/wknoben/camels_spat/temp/daymet/daymet_v4_daily_na_tmax_1966.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).
ncks: HINT file-not-found errors usually arise from filename typos, incorrect paths, missing files, or capricious gods. Please verify spelling and location of requested file. If the file resides on a High Performance Storage System (HPSS) accessible via the 'hsi' command, then add the --hpss option and re-try command.
[..]
https://github.com/kasra-keshavarz/datatool/blob/963c65219ced0c1f377450decb48770ed5b4f322/scripts/eccc-rdrs/rdrs.sh#L248-L256
These lines limit the calls to subset RDRS to the period we actually have data for. This doesn't seem to happen in all scripts (e.g., Daymet) which results in a lot of error printouts about files not being found: