Closed golaz closed 7 years ago
@rokuingh pinging you here, is that an expected behaviour of esmf? We are still using 6.3 and ESMP. @dnadeau4 and I need to get in touch about esmpy see #57
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.
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