Closed martinvonk closed 1 year ago
Sometimes there can be different Observation Classes in the same FEWS xml. These can be recognized using the parameterId. For instance, the parameterId's h.G.w and P.radar should return the type GroundwaterObs and PrecipitationObs respectively. Currently, the function https://github.com/ArtesiaWater/hydropandas/blob/0039a76eb4cf526b00350a8cfc970f382e8c8abc/hydropandas/obs_collection.py#L1216-L1232 only takes one argument for ObsClass. It would be nice if we could maybe input a translation dictionary:
ObsClass
{"h.G.w" : hpd.GroundwaterObs, "P.radar": hpd.PreciptationObs}
This translation dictionary is of course different per waterboard.
Good idea! Would you like to implement this?
Sometimes there can be different Observation Classes in the same FEWS xml. These can be recognized using the parameterId. For instance, the parameterId's h.G.w and P.radar should return the type GroundwaterObs and PrecipitationObs respectively. Currently, the function https://github.com/ArtesiaWater/hydropandas/blob/0039a76eb4cf526b00350a8cfc970f382e8c8abc/hydropandas/obs_collection.py#L1216-L1232 only takes one argument for
ObsClass
. It would be nice if we could maybe input a translation dictionary:This translation dictionary is of course different per waterboard.