Skip to content

shefParser export command generates empty SHEF file when some aliases are empty #73

Description

@jbatterman

I am attempting to test shefParser export on a group of many time series, but only one alias id is present in the group. It appears to work but the test.SHEF file is empty.

> shefParser export -a $CDA_API_ROOT -o NWDM -tsg GRFT -st T-1D -et T -f test.SHEF
INFO: CdaLoader v0.5 instatiated
WARNING: 'alias-id' occurred while processing SHEF criteria for BEND-Powerhouse.Flow.Inst.1Hour.0.Best-MRBWM
WARNING: 'alias-id' occurred while processing SHEF criteria for HAIA.Flow.Inst.1Hour.0.Best-NWDM
WARNING: 'alias-id' occurred while processing SHEF criteria for GARR.Flow-Out.Ave.~1Day.1Day.Fcst-MRBWM-ThreeWeek
INFO: Exporting data for time window = 2026-05-12 13:14:00 to 2026-05-13 13:14:00
INFO: Saving data to file test.SHEF

If I cat test.SHEF there is no information in the file.

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions