New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 10759 for branches/UKMO/dev_r5518_GO6_package_text_diagnostics/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2019-03-15T12:06:27+01:00 (5 years ago)
Author:
andmirek
Message:

GMED 450 write output.namelist.dyn only for nprint > 2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_package_text_diagnostics/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90

    r10745 r10759  
    295295   ENDIF 
    296296#endif 
     297      nprint    = nn_print          ! convert DOCTOR namelist names into OLD names 
     298      !do it here because output.namelist.dyn is opened before nprint was set earlier 
    297299      ! 
    298300      !                             !--------------------------------------------! 
     
    342344      lwp = (narea == 1) .OR. ln_ctl                        ! control of all listing output print 
    343345 
    344       IF(lwm) THEN 
     346      IF(lwm .AND. nprint > 2) THEN 
    345347         ! write merged namelists from earlier to output namelist now that the 
    346348         ! file has been opened in call to mynode. nammpp has already been 
     
    554556      ENDIF 
    555557      ! 
    556       nprint    = nn_print          ! convert DOCTOR namelist names into OLD names 
    557558      nictls    = nn_ictls 
    558559      nictle    = nn_ictle 
Note: See TracChangeset for help on using the changeset viewer.