ESMF linear regridding fails with periodic data #87
Comments
Hi Charles, I can't say for sure without seeing the implementation in UV-CDAT. However, it seems like the periodic connection is not turned on in this case. I realize UV-CDAT is using the ESMP prototype code, but that is usually done in ESMPy using coord_sys=ESMF.CoordSys.SPH_DEG (instead of the CoordSys.CART). I believe this setting was handled with similarly named flags ESMP_COORDSYS_CART, ESMP_COORDSYS_SPH_DEG in ESMP. It would be worth a grep through the ESMP implementation in UVCDAT using these two strings to see if you can tell coordinate system is being used for the grids in this case. |
@dnadeau4 and @doutriaux1 : did you have a chance to look at the ESMP implementation in UVCDAT to check if the correct coordinate system is being passed? |
@dnadeau4 is working on esmpy as his next task. |
* Fix #87 ESMF periodicity * add Test for regriding periodicity * add UVCDAT URL to retrieve file remotely * tear down Downloaded files * Change array test to string test * Change array to 1d array * pass slicelist = () for numpy 1.12 * Fix #4 _FillValue exist and missing_value does not in file * trigger CI * First conversion to ESMPy * ignore degenerate and fix corner problem * esmpy fix for periodicity test * esmpy fix for merging issues * esmpy delete print unMappedAction * add some 2d and 3D test plus devel * Continue to convert test from ESMP to ESMF * conver to ESMF * continue development for ESMF * disable SSL_CERTIFICATE from urllib; add ESMF test * move Test to tests * rename test files * if PLOT import matplolib * add ESMPy to travis * add mpi4py to travis and circleci * Fix more ESMF tests * fix circleci dep and some tests * fix circleci dep move anonymous download * Fix mask in test
Regridding a cmds2 variable with the ESMF 'linear' regridder produces a re-gridded variable with missing values in the last row even with 'periodicity' option:
ESMF 'conservative' works:
Complete example: regrid.zip
The text was updated successfully, but these errors were encountered: