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

Question about the global mean value using cdms2.regrid #415

Open
leiduan4320 opened this issue Nov 4, 2019 · 1 comment
Open

Question about the global mean value using cdms2.regrid #415

leiduan4320 opened this issue Nov 4, 2019 · 1 comment

Comments

@leiduan4320
Copy link

Dear all,

I have a question regarding the "regrid" function in cdms2.

When I regrid the global-scale climate variable (e.g., surface air temperature, precipitation) from a fine input grid to a coarse destination grid, how will the global mean value be treated?

I tested with some model outputs. The original grid resolution is 160° by latitude and 320° by longitude, and a series of Gaussian grid (64x128, 32x64, 10x20, 5x10) generated by cdms2. I compared results using "linear", "patch", and "conservative" using "regidTool = ESMF".

My understanding is that for each data point in the destination grid, the linear regression only makes use of the surrounding four data points and thus the global mean value should change, whereas the conservative method is able to keep the global mean value consistent with the original value.

However, it seems to me from the above results that the "linear" approach produces quite consistent results, both for spatial pattern and global mean value, especially for the last two cases (10x20 and 5x10).

I tried to search for documents (https://cdms.readthedocs.io/en/latest/manual/cdms_4.html) but haven't got much useful information yet. Can someone give me some hints or point me to the right link? Thanks very much!

Best,
Lei

@jasonb5 jasonb5 transferred this issue from CDAT/cdat Aug 17, 2020
@jypeter
Copy link
Member

jypeter commented Aug 18, 2020

@jasonb5 this reminds me that there are lots and lots and lots of nice examples in the vacumm gallery , including many regridding examples

And vacumm relies on cdms2 and friends. I think it also relied on vcs a long time ago, but vcs become too hard/unreliable to use when it switched to vtk (that's also the reason why I haven't used vcs in a long time, even though it has so many nice and efficient defaults, because I don't like notebooks too much)

I think there are several issues in the many CDAT/* packages mentioning vacumm (e.g. #236)

If only the CDAT web site could be as complete as vacumm's!

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

2 participants