Stream: python-questions

Topic: Regridding + Fill Values


view this post on Zulip Danica Lombardozzi (Mar 18 2021 at 00:03):

Hi All,
I am working with a dataset that includes non-conventional fill values (65534 and 65535). When regridding, these fill values get merged into the regridded dataset. Is there any way to identify non-standard fill values in the xESMF regridder to avoid this problem? Thanks in advance!

view this post on Zulip Deepak Cherian (Mar 18 2021 at 01:40):

Could ask on github: https://github.com/pangeo-data/xESMF/issues

view this post on Zulip Matt Long (Mar 18 2021 at 14:48):

Why not simply replace the fill values with NaN's prior to regridding?

view this post on Zulip Danica Lombardozzi (Mar 18 2021 at 18:43):

@Matt Long I can do that! I was curious whether an option to specify the fill value was available in the regridder function. Sounds like there is not.


Last updated: Jan 30 2022 at 12:01 UTC