Changeset 3025


Ignore:
Timestamp:
Aug 7, 2023, 6:02:51 AM (16 months ago)
Author:
emillour
Message:

Mars PCM:
Fixed a bug in newstart call to lect_start_archive; missing perenial_co2ice
argument. Turned lect_start_archive into a module so this cant't happen again.
EM

Location:
trunk/LMDZ.MARS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/changelog.txt

    r3024 r3025  
    41624162Complete rewriting (much simpler) of script "run_pem1d_1" in deftank/pem/ to launch chained simulations of 1D PCM/PEM. To be adapted to 3D in the future.
    41634163Addition of a bash script "modify_startfi.sh" to modify orbital parameters in "startfi.nc". It is needed to initialize the PCM/PEM simulation with right orbital parameters according to the year in Laskar data.
     4164
     4165== 07/08/2023 == EM
     4166Fixed a bug in newstart call to lect_start_archive; missing perenial_co2ice
     4167argument. Turned lect_start_archive into a module so this cant't happen again.
  • trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/lect_start_archive.F

    r2999 r3025  
     1      MODULE lect_start_archive_mod
     2     
     3      IMPLICIT NONE
     4     
     5      CONTAINS
     6     
    17      SUBROUTINE lect_start_archive(ngrid,nlayer,nqtot,
    28     &     date,tsurf,tsoil,inertiesoil,albedo,emis,q2,
     
    12771283     &       watercap(:,1))
    12781284
    1279 c Watercap
     1285c Perenial CO2 ice cap
    12801286      call interp_horiz (peren_co2iceold(:,:,1),peren_co2iceS(:,:,1),
    12811287     &       imold,jmold,iim,jjm,1,rlonuold,rlatvold,rlonu,rlatv)
     
    16861692
    16871693!      write(*,*)'lect_start_archive: END'
    1688       return
    1689       end
     1694
     1695      END SUBROUTINE lect_start_archive
     1696
     1697      END MODULE lect_start_archive_mod
  • trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/newstart.F

    r2999 r3025  
    3737      use control_mod, only: day_step, iphysiq, anneeref, planet_type
    3838      use geometry_mod, only: longitude,latitude,cell_area
     39      use lect_start_archive_mod, only: lect_start_archive
    3940      use phyetat0_mod, only: phyetat0
    4041      use phyredem, only: physdem0, physdem1
     
    444445     &   date,tsurf,tsoil,inertiesoil,albedo,emis,q2,
    445446     &   t,ucov,vcov,ps,teta,phisold_newgrid,q,qsurf,
    446      &   tauscaling,totcloudfrac,surfith,nid,watercap)
     447     &   tauscaling,totcloudfrac,surfith,nid,watercap,perenial_co2ice)
    447448        write(*,*) "OK, read start_archive file"
    448449        ! copy soil thermal inertia
Note: See TracChangeset for help on using the changeset viewer.