-
Notifications
You must be signed in to change notification settings - Fork 41
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
Using interpolate_grid_label()
to regrid data
#262
Comments
interpolate_grid_label()
to regrid data
Hi @r-ford, thanks for using xMIP! The I think what you are trying to achieve is actually simpler. I would suggest to use xesmf(which is what we are using here under the hood) to regrid all models to a common lat/lon grid of your choice, and then you should be able to average them together on the new grid. Let me know if that works for you |
Thanks @jbusecke! That makes sense. xesmf seems like my best option, though I've been running into some issues getting results so far (one example is in this other notebook, where the regridded data is all |
There are some common tricks (I think there is a 'masking' or similar argument that might help you here). But generally this case would be a nice demonstration to include either in the xMIP docs or the pangeo gallery. |
I was able to regrid the data with xesmf (with the help of this notebook). I plan on writing up a tutorial to add to the Project Pythia CMIP6 Cookbook, which is a slightly modified version of the one in the Pangeo gallery. Thanks again for the help! |
I'm trying to put some of the CMIP6 data in the Pangeo Google storage on the same grid in order to take an average across models. I thought that
interpolate_grid_label()
might do this. In this notebook, I am trying to regrid the MPI data from itsgn
grid to the CESM'sgr
grid, but it does not work. Isinterpolate_grid_label()
meant to do this sort of regridding, or could there just be an error in my code?The text was updated successfully, but these errors were encountered: