[MITgcm-devel] diagCode
Patrick Heimbach
heimbach at MIT.EDU
Fri Jun 15 10:14:54 EDT 2012
Hi Torge,
good to hear from you, sounds like you're making good progress.
Not sure if useful addition to Jean-Michel's comment,
but the ptracers package also has an extra dimension
to account for tracer index
(e.g., pkg/ptracers/ptracers_diagnostics_state.F )
Perhaps useful.
Cheers
-Patrick
On Jun 14, 2012, at 9:18 AM, Jean-Michel Campin wrote:
> 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
>
>
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-devel
---
Patrick Heimbach | heimbach at mit.edu | http://www.mit.edu/~heimbach
MIT | EAPS 54-1420 | 77 Massachusetts Ave | Cambridge MA 02139 USA
FON +1-617-253-5259 | FAX +1-617-253-4464 | SKYPE patrick.heimbach
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1588 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-devel/attachments/20120615/992d5fec/attachment.p7s>
More information about the MITgcm-devel
mailing list