[MITgcm-devel] monitor and ptracers

Martin Losch mlosch at awi-bremerhaven.de
Mon Oct 10 16:07:41 EDT 2005


Ed,
I am sorry, I can't do it myself:
the monitor output for passive tracers does not appear in monitor.*.nc, 
if
useMNC=.true.,
and
monitor_mnc=.true., (the default)
It seems to work for exf_monitor and seaice_monitor, but for some 
reason not for ptracers_monitor. The difference may be that the former 
are called from within monitor.F while the latter is called a little 
later from ptracers_output (from within do_the_model_io).
I suspect that in ptracers_monitor the following section is missing 
(after the first _END_MASTER(myThid)):
> #ifdef ALLOW_MNC
>         IF (useMNC .AND. monitor_mnc) THEN
>           DO i = 1,MAX_LEN_MBUF
>             mon_fname(i:i) = ' '
>           ENDDO
>           mon_fname(1:7) = 'monitor'
>           CALL MNC_CW_APPEND_VNAME(
>      &         'T', '-_-_--__-__t', 0,0, myThid)
>           CALL MNC_CW_SET_UDIM(mon_fname, -1, myThid)
>           CALL MNC_CW_RL_W_S(
>      &        'D',mon_fname,1,1,'T', myTime, myThid)
>           CALL MNC_CW_SET_UDIM(mon_fname, 0, myThid)
>           mon_write_mnc = .TRUE.
>         ENDIF
> #endif /*  ALLOW_MNC  */
Seriously, I don't know what this is doing, but when I include this 
part in ptracers_monitor, I get at least some output. Can you check for 
me, whether this is correct, and I'll check the stuff in.

Martin




More information about the MITgcm-devel mailing list