Ignore:
Timestamp:
Sep 19, 2018, 1:04:56 PM (6 years ago)
Author:
emillour
Message:

Mars GCM:

  • Bug fix in newstart. lon/lat and cell_area were not correctly sent to the restartfi.nc file.

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/newstart.F

    r1974 r2001  
    3030      use comsoil_h, only: inertiedat, layer, mlayer, nsoilmx, tsoil
    3131      use control_mod, only: day_step, iphysiq, anneeref, planet_type
     32      use geometry_mod, only: longitude,latitude,cell_area
    3233      use phyetat0_mod, only: phyetat0
    3334      use phyredem, only: physdem0, physdem1
     
    108109      real ith(iip1,jjp1,nsoilmx),ithfi(ngridmx,nsoilmx) ! thermal inertia (3D)
    109110      real surfith(iip1,jjp1),surfithfi(ngridmx) ! surface thermal inertia (2D)
    110       REAL latfi(ngridmx),lonfi(ngridmx),airefi(ngridmx)
     111!      REAL latfi(ngridmx),lonfi(ngridmx),airefi(ngridmx)
    111112
    112113      INTEGER i,j,l,isoil,ig,idum
     
    16461647C Ecriture etat initial physique
    16471648C
    1648 
    1649       call physdem0("restartfi.nc",lonfi,latfi,nsoilmx,ngridmx,llm,
    1650      .              nqtot,dtphys,real(day_ini),0.0,
    1651      .              airefi,albfi,ithfi,zmea,zstd,zsig,zgam,zthe,
    1652      .              hmons)
     1649      call physdem0("restartfi.nc",longitude,latitude,
     1650     &              nsoilmx,ngridmx,llm,
     1651     &              nqtot,dtphys,real(day_ini),0.0,cell_area,
     1652     &              albfi,ithfi,zmea,zstd,zsig,zgam,zthe,
     1653     &              hmons)
    16531654      call physdem1("restartfi.nc",nsoilmx,ngridmx,llm,nqtot,
    16541655     &              dtphys,hour_ini,
Note: See TracChangeset for help on using the changeset viewer.