Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regridding curvilinear data #2

Open
DamienIrving opened this issue Jun 5, 2017 · 3 comments
Open

Regridding curvilinear data #2

DamienIrving opened this issue Jun 5, 2017 · 3 comments

Comments

@DamienIrving
Copy link
Owner

DamienIrving commented Jun 5, 2017

I'm a little concerned about the iris.experimental.regrid.regrid_weighted_curvilinear_to_rectilinear function, as it produced some funky results when regriddinghfds * areacello data (but not in other cases, which is weird).
https://groups.google.com/forum/#!topic/scitools-iris/qIO-tZh0tj4

It looks like a good alternative might be ncremap. I'm having a little bit of trouble figuring out exactly how to use it, so I've logged a question at the NCO help forum:
https://sourceforge.net/p/nco/discussion/9830/thread/da8a8a58/

@DamienIrving
Copy link
Owner Author

DamienIrving commented Jun 5, 2017

Another option is cdo:

cdo remapbil,sftlf_fx_NorESM1-M_rcp85_r0i0p0.nc hfds_Omon_NorESM1-M_rcp85_r1i1p1_200601-210012.nc remapped/hfds_Omon_NorESM1-M_rcp85_r1i1p1_200601-210012.nc

(Although when I use this instead of iris for regridding hfds data -- albeit not multiplied by areacello -- it doesn't make much of a difference to the end result.)

@DamienIrving
Copy link
Owner Author

xESMF has been written on top of ESMPy to make things much easier. It uses xarray data arrays.

@DamienIrving
Copy link
Owner Author

I had some problems with the IPSL-CM5A-LR ocean model grid due to disconnected tiles. See the following issue for details: JiaweiZhuang/xESMF#49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant