Skip to content

Having trouble with readWDM #176

@mishranurag

Description

@mishranurag

Hi

I tried to read two wdm files using HSP2tools. One file was read properly, and the other file gave the following error.

Is there an easy way to troubleshoot this issue?

Thanks
Anurag

File c:\\Users\\Anurag.Mishra\\miniconda3\\envs\\alafia_py311\\Lib\\site-packages\\hsp2\\hsp2tools\\readWDM.py:51, in readWDM(wdmfile, hdffile, compress_output)
     49         dsnlist.append(index)
     50 if len(dsnlist) != ntimeseries:
---> 51     raise RuntimeError (f'Wrong number of Time Series Records found expecting:{ntimeseries} found:{len(dsnlist)}')
     53 with pd.HDFStore(hdffile) as store:
     54     summary = []

RuntimeError: Wrong number of Time Series Records found expecting:75 found:74"
}

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