You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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
The text was updated successfully, but these errors were encountered: