Skip to content

Commit

Permalink
Accept more validity flags
Browse files Browse the repository at this point in the history
  • Loading branch information
magnusuMET committed Jan 7, 2025
1 parent a8e3c7d commit 00f5239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyaro_readers/eeareader/EEATimeseriesReader.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def _transform_filters(
filters: Iterable[pyaro.timeseries.Filter.Filter], variable_id: int
) -> _Filters:
pollutant_filter = ("Pollutant", "=", variable_id)
validity_filter = ("Validity", "=", 1)
validity_filter = ("Validity", ">", 0)

pyarrow_filters_daily = [pollutant_filter, validity_filter]
pyarrow_filters_hourly = pyarrow_filters_daily.copy()
Expand Down

0 comments on commit 00f5239

Please sign in to comment.