[MITgcm-devel] diagCode
Jean-Michel Campin
jmc at ocean.mit.edu
Thu Jun 14 09:18:02 EDT 2012
Hi Torge,
diagCode is (shortly) described in the manual, section 7.1.3,
table 7.1 (which is also reproduced in 2 source code files:
diagnostics_init_early.F and diagnostics_main_init.F).
Surprisingly, these tables seems up-to-date, but might not be
enough doc. So, if there is something not clear, please let us know.
And regarding the definition of a diagnostic with a 3rd dim
which is different from Nr, there is a special diagcode,
(with 'X' in 10th position) and subroutine DIAGNOSTICS_SETKLEV
(in diagnostics_utils.F) to set the number of level.
There is 1 example of such diagnostics, MYPaLev3, in diagnostics_init_early.F
Cheers,
Jean-Michel
On Wed, Jun 13, 2012 at 02:26:34PM -0700, Torge Martin wrote:
> Hi folks,
>
> I'd like to add a new diagnostic to the seaice package.
>
> What does "diagCode" in call to DIAGNOSTICS_ADDTOLIST in
> seaice_diagnostics_init.F mean?
> How can I find out what the correct diagCode for my new variable is?
>
> I want output of ice thickness for each ice thickness category separately,
> i.e. my new variable has a 3rd dimension.
>
> diagCode of HEFF is
> 'SM M1 '
>
> but for SItices it is
> 'SM C M1 '
> (TICES has a 3rd dimension introduced with SEAICE_MULTICATEGORY)
>
> Thanks,
> Torge
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-devel
More information about the MITgcm-devel
mailing list