Stream: python-questions
Topic: Regridding + Fill Values
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!
Deepak Cherian (Mar 18 2021 at 01:40):
Could ask on github: https://github.com/pangeo-data/xESMF/issues
Matt Long (Mar 18 2021 at 14:48):
Why not simply replace the fill values with NaN's prior to regridding?
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