Ignore:
Timestamp:
Feb 12, 2026, 12:32:15 PM (2 weeks ago)
Author:
jbclement
Message:

PEM:
Following r4065, some safeguards forgotten in "io_netcdf.F90" + 'tsurf' is not needed anymore in the "start1D.txt" + few forgotten small updates.
JBC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/clim_state_rec.F90

    r4065 r4068  
    3131
    3232!=======================================================================
    33 SUBROUTINE write_restart(ps4PCM,pa4PCM,preff4PCM,tsurf4PCM,q4PCM,teta4PCM,air_mass4PCM)
     33SUBROUTINE write_restart(ps4PCM,pa4PCM,preff4PCM,q4PCM,teta4PCM,air_mass4PCM)
    3434!-----------------------------------------------------------------------
    3535! NAME
     
    6161real(dp),                   intent(in) :: pa4PCM, preff4PCM
    6262real(dp), dimension(:),     intent(in) :: ps4PCM
    63 real(dp), dimension(:,:),   intent(in) :: tsurf4PCM, teta4PCM, air_mass4PCM
     63real(dp), dimension(:,:),   intent(in) :: teta4PCM, air_mass4PCM
    6464real(dp), dimension(:,:,:), intent(in) :: q4PCM
    6565
     
    7575! ~~~~~~~~~~~~~
    7676if (ngrid == 1) then
    77     call write_restart1D(ps4PCM,pa4PCM,preff4PCM,tsurf4PCM,q4PCM)
     77    call write_restart1D(ps4PCM,pa4PCM,preff4PCM,q4PCM)
    7878    return
    7979end if
     
    120120
    121121!=======================================================================
    122 SUBROUTINE write_restart1D(ps4PCM,pa4PCM,preff4PCM,tsurf4PCM,q4PCM)
     122SUBROUTINE write_restart1D(ps4PCM,pa4PCM,preff4PCM,q4PCM)
    123123!-----------------------------------------------------------------------
    124124! NAME
     
    151151real(dp),                   intent(in) :: pa4PCM, preff4PCM
    152152real(dp), dimension(:),     intent(in) :: ps4PCM
    153 real(dp), dimension(:,:),   intent(in) :: tsurf4PCM
    154153real(dp), dimension(:,:,:), intent(in) :: q4PCM
    155154
     
    170169write(funit,*) 'u', (u_PCM(1,l), l = 1,nlayer)
    171170write(funit,*) 'v', (v_PCM(1,l), l = 1,nlayer)
    172 write(funit,*) 'teta', (tsurf4PCM(1,j), j = 1,nslope), (teta_PCM(1,l), l = 1,nlayer)
     171write(funit,*) 'teta', (teta_PCM(1,l), l = 1,nlayer)
    173172close(funit)
    174173
Note: See TracChangeset for help on using the changeset viewer.