[MITgcm-support] Inconsistent sizes between MNC and binary output

Naughten, Kaitlin A. kaight at bas.ac.uk
Thu May 24 08:00:06 EDT 2018


Thanks Martin, that definitely makes sense for the per-tile output. My confusion came with the glued output, and I think I've now figured it out.


The gluemnc script (utils/scripts/gluemnc) produces glued files where Xp1 and Yp1 are the same size as X and Y respectively. The gluemncbig script (utils/python/MITgcmutils/scripts/gluemncbig) produces glued files where Xp1 and Yp1 are one larger than X and Y.


I'm not sure which is more "correct" for glued files covering the entire domain, but it does explain why an old NetCDF grid file I was given (generated using MNC and gluemnc) had different Xp1 and Yp1 dimensions to the one I generated myself using gluemncbig.


Many thanks again,

Kaitlin



________________________________
From: MITgcm-support <mitgcm-support-bounces at mitgcm.org> on behalf of Martin Losch <Martin.Losch at awi.de>
Sent: 23 May 2018 15:58:01
To: MITgcm Support
Subject: Re: [MITgcm-support] Inconsistent sizes between MNC and binary output

That’s not a bug, that’s a feature. I don’t think that you can turn it off.

The point at nx+1 is the same as point 1 either on the adjacent tile or (if you have only one tile) on the current tile. It help computing velocities or their gradients at cell centres. In more complicated topologies (cubed sphere) it is convenient because you don’t have to sort out the connectivity between tiles for these computations. MDS output does not have this feature.

Martin

> On 23. May 2018, at 15:20, Naughten, Kaitlin A. <kaight at bas.ac.uk> wrote:
>
> Hi everyone,
>
> I've noticed something strange when running MITgcm using binary output vs MNC output. MNC includes the easternmost and northernmost points of the Xp1 and Yp1 axes, so they are one longer than the X and Y axes. Binary output lops these points off, so Xp1 is the same size as X, and Yp1 is the same size as Y. The same is true for all variables on the u, v, or psi grids. So even though it's a C-grid, all the output arrays are the same size.
>
> Is there some namelist flag I am missing so that the two output methods agree on the dimensions? I would like to be able to switch between MNC and binary, and still use the same plotting scripts.
>
> Many thanks,
> Kaitlin Naughten
> This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system.
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support

_______________________________________________
MITgcm-support mailing list
MITgcm-support at mitgcm.org
http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support
________________________________
This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system.
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20180524/1ed37bde/attachment.html>


More information about the MITgcm-support mailing list