intake / intake-esm

An intake plugin for parsing an Earth System Model (ESM) catalog and loading assets into xarray datasets.
https://intake-esm.readthedocs.io
Apache License 2.0
135 stars 46 forks source link

Add support for None in search query #612

Closed aulemahal closed 1 year ago

aulemahal commented 1 year ago

Change Summary

_search.search will use df[column].isnull() if column=None has been passed. np.NaN and pd.NA or anything that pd.isna(value) is suported.

Related issue number

Checklist

There are two added search tests because the case None was raising an error is QueryModel, while np.nan (which is a float) was not.