Ignore:
Timestamp:
Aug 7, 2023, 6:02:51 AM (17 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/libf/dynphy_lonlat/phymars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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.