OpenWaterFoundation / cdss-app-snodas-tools

Colorado's Decision Support Systems (CDSS) Snow Data Assimilation System (SNODAS) Tools
8 stars 4 forks source link

Need to update TSTool command file to warn if time series is too short for ensemble #25

Closed smalers closed 3 years ago

smalers commented 3 years ago

Attempting to run the TSTool command file on time "ByBasin" data with not enough data causes issues. This is only an issue with testing since the production system has years of data.

A simple fix is to check the table read for data and generate a warning if the number of days is too few. This will at least provide a warning about reasons for later errors.

smalers commented 3 years ago

What I ended up doing was modifying the CreateEnsembleFromOneTimeSeries command to warn if zero time series result from the command. This is at least a warning that something is not right. Close this issue.