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

Issue with overlap region in cdfmean ? #23

Open
pmathiot opened this issue Oct 15, 2018 · 1 comment
Open

Issue with overlap region in cdfmean ? #23

pmathiot opened this issue Oct 15, 2018 · 1 comment

Comments

@pmathiot
Copy link
Collaborator

Hi,

In cdfmean, the default is to use the 3d mask in meshmask. In this case, the overlap region are not masked. So when we are computing a global mean the overlap region is double counted. I suggest to read in addition maskutil and multiply both mask for each level (example available here)

I agree the suggested fix could be improve: the use of maskutil should only be done is no custom mask used.

Pierre

@fschwarzkopf
Copy link
Contributor

Hi,

I lately came across the same issue and found your solution very helpful. Also the -surf option makes it so much easier e.g. for SSH. Thank you!
To overcome the issue you mention in the end, I just created a new cdfglobalmean routine using maskutil and left cdfmean un-altered.

Cheers,
Franziska

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