Energinet-DataHub / ARCHIVED-geh-charges

Apache License 2.0
8 stars 3 forks source link

Validation of time series and metering points should reuse methods #1926

Closed cenh-halfspace closed 1 year ago

cenh-halfspace commented 1 year ago

After looking at the validation and invalidation methods for time series and metering points I see a couple of things that we can do better:

I suggest that we have one function that takes a dataframe and a ruleset as input, it will check the dataframe against the rules and mark those that does not comply with rules. Rows that are not marked, would be seen as valid.