0.3.2.2
Updates
- Regridding weights to the input dataset grid now uses the "conservative" regridding algorithm from
xesmf
instead of the "bilinear" one; the bilinear one is inappropriate for many weights (population, etc.), since it throws away many low-valued source boxes. - Weights now have
nan
s set to 0 before regridding, to make surenan
pixels are included in weights. Sincenan
s usually imply 0s in weights (for example, population weights for which water surfaces are set tonan
), this prevents entire coarser pixels from being set to 0 if they overlap with anan
- Both of the above can be changed with
xa.set_options(rgrd_alg='bilinear',nan_to_zero_regridding=False)
, respectively.
Bug fixes
wm.diag_fig()
now accepts DataArrays, as stated in docs.
What's Changed
- Increase codecov by @ks905383 in #72
- Diag fig fix by @kerriegeil in #73
- Add in main updates by @ks905383 in #74
- Changes regridding algorithm default to conservative, done after setting weight nans to 0s by @ks905383 in #75
Full Changelog: v0.3.2.1...v0.3.2.2