Changeset 3916 for trunk/LMDZ.PLUTO/libf


Ignore:
Timestamp:
Sep 18, 2025, 10:13:14 AM (3 months ago)
Author:
tbertrand
Message:

Pluto PCM :
Small fix to initialize n2frac in startfi
TB

Location:
trunk/LMDZ.PLUTO/libf/phypluto
Files:
2 edited

Legend:

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

    r3816 r3916  
    1010     &                     zmea, zstd, zsig, zgam, zthe,
    1111     &                     emissiv, emisice, iceradius,
    12      &                     dtemisice
     12     &                     dtemisice, n2frac
    1313      use comdiurn_h, only: sinlat, coslat, sinlon, coslon
    1414      use comsoil_h, only: nsoilmx, layer, mlayer, inertiedat, volcapa
     
    851851      write(*,*) " inertia = ",inertiedat(1,1)
    852852
     853c  Initialisation n2frac
     854c  --------------------------------------
     855      n2frac(1)=1. ! default value for n2frac
     856
    853857! Initialize soil properties and temperature
    854858! ------------------------------------------
     
    920924      call physdem1("startfi.nc",nsoilmx,1,llm,nq,
    921925     &                dtphys,time,
    922      &                tsurf,tsoil,inertiedat,emis,albedodat,q2,qsurf)
     926     &                tsurf,tsoil,inertiedat,emis,albedodat,q2,qsurf,
     927     &                n2frac)
    923928
    924929c=======================================================================
  • trunk/LMDZ.PLUTO/libf/phypluto/phyetat0_mod.F90

    r3910 r3916  
    148148  call get_field(nid_start,"n2frac",n2frac,found)
    149149  if (.not.found) then
    150     call abort_physic(modname,"Failed loading <n2frac>",1)
     150    n2frac(:)=1.
     151    !call abort_physic(modname,"Failed loading <n2frac>",1)
    151152  endif
    152153else
    153154  ! If no startfi file, use fixed value to test
    154   n2frac(:)=1
     155  n2frac(:)=1.
    155156endif ! of if (startphy_file)
    156157if (is_master) write(*,*) "phyetat0: n2 fraction of ice  <n2frac> range:", &
Note: See TracChangeset for help on using the changeset viewer.