Ignore:
Timestamp:
Jan 20, 2026, 10:46:15 AM (2 days ago)
Author:
debatzbr
Message:

Pluto PCM: Adding a slow_diagfi flag for 1D model from Generic PCM (revision 3928).
BBT

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.PLUTO/libf/phypluto/writediagspecVI.F

    r3749 r4027  
    179179           call iniwrite_specVI(nid,day_ini,areafi_glo(1),1,1)
    180180         ENDIF
     181         ! Close the NetCDF file
     182               ierr= NF_CLOSE(nid)
    181183         endif ! of if (is_master)
    182184
    183185         zitau = -1 ! initialize zitau
    184       else
    185          if (is_master) then
    186            ! Open the NetCDF file
    187            ierr = NF_OPEN(fichnom,NF_WRITE,nid)
    188          endif
    189186      endif ! if (firstnom.eq.'1234567890')
    190187
     
    207204!       (like the 'histoire' outputs)
    208205!--------------------------------------------------------
     206
     207        if (is_master) then
     208                ! Open the NetCDF file
     209                ierr = NF_OPEN(fichnom,NF_WRITE,nid)
     210              endif
    209211
    210212        if (nom.eq.firstnom) then
     
    333335        endif ! of if (dimpx.eq.3)
    334336
     337        ! Close the NetCDF file
     338              if (is_master) then
     339                ierr= NF_CLOSE(nid)
     340              endif
     341
    335342      endif ! of if ( MOD(zitau+1,irythme) .eq.0.)
    336343
    337       ! Close the NetCDF file
    338       if (is_master) then
    339         ierr= NF_CLOSE(nid)
    340       endif
    341 
    342344      end
Note: See TracChangeset for help on using the changeset viewer.