Ignore:
Timestamp:
Mar 24, 2026, 10:56:41 AM (3 weeks ago)
Author:
idelkadi
Message:

Cleaning up the LMDZ physical model (physiq_mod.F90): reducing the number of arguments passed to Cosp simulators

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/cosp/phys_cosp.f90

    r5312 r6125  
    55!Idelkadi Abderrahmane Nov 2015 version v1.4.0
    66
    7   subroutine phys_cosp( itap,dtime,freq_cosp, &
    8                         ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP, &
    9                         ecrit_mth,ecrit_day,ecrit_hf, ok_all_xml, missing_val, &
     7  subroutine phys_cosp( itap,dtime,missing_val, &
    108                        Nptslmdz,Nlevlmdz,lon,lat, presnivs,overlaplmdz,sunlit, &
    119                        ref_liq,ref_ice,fracTerLic,u_wind,v_wind,phis,phi,ph,p,skt,t, &
     
    7977  USE mod_phys_lmdz_para
    8078  USE mod_grid_phy_lmdz
    81   use ioipsl
    82   use iophy
    83   use cosp_output_mod
    84   use cosp_output_write_mod
     79  USE ioipsl
     80  USE iophy
     81  USE cosp_output_mod
     82  USE cosp_output_write_mod
    8583!  use MOD_COSP_Modis_Simulator, only : cosp_modis
    8684  USE lmdz_xios, ONLY: xios_field_is_active, using_xios
    87   use cosp_read_otputkeys
     85  USE cosp_read_otputkeys
     86  USE conf_phys_m, ONLY : freq_cosp, ecrit_day,ecrit_hf,ecrit_mth, &
     87                          ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP, ok_all_xml
    8888
    8989  IMPLICIT NONE
     
    132132! Declaration necessaires pour les sorties IOIPSL
    133133  integer :: ii
    134   real    :: ecrit_day,ecrit_hf,ecrit_mth, missing_val
    135   logical :: ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP, ok_all_xml
     134  real    :: missing_val
    136135
    137136  logical, save :: debut_cosp=.true.
     
    150149  real,dimension(Nlevlmdz)        :: presnivs
    151150  integer                         :: itap,k,ip
    152   real                            :: dtime,freq_cosp
     151  real                            :: dtime
    153152  real,dimension(2)               :: time_bnds
    154153
Note: See TracChangeset for help on using the changeset viewer.