ArtesiaWater / hydropandas

Module for loading observation data into custom DataFrames
https://hydropandas.readthedocs.io
MIT License
52 stars 11 forks source link

Error when reading Menyanthes file without stresses #140

Closed OnnoEbbens closed 1 year ago

OnnoEbbens commented 1 year ago

When I read a Menyanthes file without stresses and the default setting load_stresses=True, I git a KeyError: 'IN'.

I would like the function to return nothing instead of an error.

OnnoEbbens commented 1 year ago

Also when metadata is missing in the menyanthes file the metadata of the obs object is set by default to an empty numpy array. I will change this to a np.nan value.