Running shefParser export on a time series group that contains a time series with no data for the specified time window breaks the export and no shef file is generated. The error is difficult to understand as well.
> shefParser export -a $CDA_API_ROOT -o NWDM -tsg Mainstem -st T-3D -et T -f test.SHEF
INFO: CdaLoader v0.5 instatiated
WARNING: Tranform for time seires GAPT.Flow-Out.Inst.1Hour.0.Best-MRBWM specified in group(s) Mainstem is/are overriden by transform specified in group GRFT_Obs
INFO: Exporting data for time window = 2026-05-11 08:13:00 to 2026-05-14 08:13:00
INFO: Saving data to file test.SHEF
INFO: Generating SHEF text from CDA Time Series responses via file [<streamed input>]
ERROR: Error encountered while parsing CDA Time Series response JSON object:
Error: Expecting value: line 1 column 118899 (char 118898)
The Mainstem group contained time series for Flow-In that were empty for the specified time window and the above error occurred. Once I removed those time series from the group, the shef file was generated successfully.
Running shefParser export on a time series group that contains a time series with no data for the specified time window breaks the export and no shef file is generated. The error is difficult to understand as well.
The Mainstem group contained time series for Flow-In that were empty for the specified time window and the above error occurred. Once I removed those time series from the group, the shef file was generated successfully.