ocean-eddy-cpt / gcm-filters

Diffusion-based Spatial Filtering of Gridded Data
https://gcm-filters.readthedocs.io/
Other
37 stars 24 forks source link

Allow wet_mask to be a boolean array #88

Open rabernat opened 3 years ago

rabernat commented 3 years ago

As noted in https://github.com/ocean-eddy-cpt/gcm-filters/issues/85#issuecomment-918632578, the wet_mask grid variable actually is supposed to be a float. This is confusing and counterintuitive, since "mask" implies a binary variable.

We should make it so things just work with a boolean wet_mask.