[MITgcm-support] model grid output
Jean-Michel Campin
jmc at mit.edu
Tue Feb 1 13:53:35 EST 2022
Hi Estanislao,
I don't think you need to set debugMode to True to get the grid output files wrriten.
And doing so might slow down your simulation (writting messages to STDOUT each time
a key routine is called or entering/leaving some routines).
As you rightly found, MITgcm will skip the output of these grid files after a restart
(still always doing it when starting from nIter0=0) when debugLevel is set to 0 or -1
(which is not recommended), as a way so free some disk space and save a little bit of I/O.
The default value for debugLevel is either 1 (when pkg/autodiff is compiled) or 2,
but this default is increased to 4 if setting debugMode=T (and this might be where
the confusion came from); because of this, when debuging, I often also set debugLevel
to 2 (or 3) when turning on debugMode, since debugLevel=4 would result in much more
output that I may not need.
Cheers,
Jean-Michel
On Sat, Jan 29, 2022 at 08:51:42AM +0800, ESTANISLAO GAVILAN PASCUAL-AHU wrote:
> Hi Stanislav,
> Thanks for your reply. You were totally right. I will complete the answer because there are two namelist that need to be changed. The first is the eedata where you need to add debugMode=.True. and the second is data where you need to add debugLevel= 1 (for debleva, 2 for b, 3+ for c ). Thanks again for all your help. Kind regards,
>
>
> Estanislao Gavilan
>
>
> From: mitgcm-support-request at mitgcm.org
> Date: 2022-01-29 01:00:01
> To: mitgcm-support at mitgcm.org
> Subject: MITgcm-support Digest, Vol 223, Issue 11>Send MITgcm-support mailing list submissions to
> > mitgcm-support at mitgcm.org
> >
> >To subscribe or unsubscribe via the World Wide Web, visit
> > http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support
> >or, via email, send a message with subject or body 'help' to
> > mitgcm-support-request at mitgcm.org
> >
> >You can reach the person managing the list at
> > mitgcm-support-owner at mitgcm.org
> >
> >When replying, please edit your Subject line so it is more specific
> >than "Re: Contents of MITgcm-support digest..."
> >
> >
> >Today's Topics:
> >
> > 1. model grid output (ESTANISLAO GAVILAN PASCUAL-AHU)
> > 2. Re: model grid output (Stanislav Martyanov)
> >
> >
> >----------------------------------------------------------------------
> >
> >Message: 1
> >Date: Fri, 28 Jan 2022 13:24:27 +0800 (GMT+08:00)
> >From: ESTANISLAO GAVILAN PASCUAL-AHU <e.gavilan at hhu.edu.cn>
> >To: mitgcm-support at mitgcm.org
> >Subject: [MITgcm-support] model grid output
> >Message-ID:
> > <AFcAMAA-E*4RacMsmQgYJqrV.1.1643347467537.Hmail.20190929 at hhu.edu.cn>
> >Content-Type: text/plain; charset="utf-8"
> >
> >Hi Community,
> >
> > These days I have started running a coupled ocean-ice regional model and for some reason the model does not output the grid.meta and data files. The configuration includes the routine that should write these files, so I think I am missing a flag here. Thanks in advance for your help
> >
> >Kind regards,
> >
> > Estanislao
> >
> >
> >
> >-------------- next part --------------
> >An HTML attachment was scrubbed...
> >URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20220128/26d7889f/attachment-0001.html>
> >
> >------------------------------
> >
> >Message: 2
> >Date: Fri, 28 Jan 2022 10:23:09 +0300
> >From: Stanislav Martyanov <martyanov.sd at gmail.com>
> >To: mitgcm-support at mitgcm.org
> >Subject: Re: [MITgcm-support] model grid output
> >Message-ID:
> > <CANJ4tTMDG05cSTOpObUJ+7RB7s7zWnhk7GgByuQd2BBLTGj3TQ at mail.gmail.com>
> >Content-Type: text/plain; charset="utf-8"
> >
> >Hello!
> >
> >The subroutine WRITE_GRID is called from the s/r INITIALISE_FIXED only for
> >the very first iteration (startTime = baseTime = 0.0) or when the flag
> >debugLevel >= debLevA, so I suggest to check this flag in your
> >configuration in the main data file (nml PARM01).
> >
> >---
> >Kind regards,
> >Stanislav Martyanov
> >
> >??, 28 ???. 2022 ?. ? 08:25, ESTANISLAO GAVILAN PASCUAL-AHU <
> >e.gavilan at hhu.edu.cn>:
> >
> >> Hi Community,
> >>
> >> These days I have started running a coupled ocean-ice regional model and for some reason the model does not output the grid.meta and data files. The configuration includes the routine that should write these files, so I think I am missing a flag here. Thanks in advance for your help
> >>
> >> Kind regards,
> >>
> >> Estanislao
> >>
> >>
> >> _______________________________________________
> >> MITgcm-support mailing list
> >> MITgcm-support at mitgcm.org
> >> http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support
> >>
> >-------------- next part --------------
> >An HTML attachment was scrubbed...
> >URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20220128/b5e56b20/attachment-0001.html>
> >
> >------------------------------
> >
> >Subject: Digest Footer
> >
> >_______________________________________________
> >MITgcm-support mailing list
> >MITgcm-support at mitgcm.org
> >http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support
> >
> >
> >------------------------------
> >
> >End of MITgcm-support Digest, Vol 223, Issue 11
> >***********************************************
>
>
>
>
>
>
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support
More information about the MITgcm-support
mailing list