--- trunk/dyn3d/ce0l.f 2018/07/11 17:06:09 275 +++ trunk/dyn3d/ce0l.f 2018/07/12 14:49:20 276 @@ -5,26 +5,31 @@ use comdissnew, only: read_comdissnew use conf_gcm_m, only: conf_gcm use dimensions, only: iim, jjm - use etat0_mod, only: etat0 + use dimphy, only: klon + use dynetat0_m, only: read_serre + use etat0_m, only: etat0 use grilles_gcm_netcdf_sub_m, only: grilles_gcm_netcdf_sub - use jumble, only: new_unit + use indicesol, only: nbsrf use limit_mod, only: limit - use read_serre_m, only: read_serre - use unit_nml_m, only: unit_nml + use unit_nml_m, only: unit_nml, set_unit_nml implicit none REAL phis(iim + 1, jjm + 1) ! surface geopotential, in m2 s-2 + REAL pctsrf(klon, nbsrf) + ! ("pctsrf(i, :)" is the composition of the surface at horizontal + ! position "i") + !------------------------------------- - call new_unit(unit_nml) + call set_unit_nml open(unit_nml, file="used_namelists.txt", status="replace", action="write") CALL conf_gcm call read_comdissnew call read_serre - CALL etat0(phis) - CALL limit + CALL etat0(phis, pctsrf) + CALL limit(pctsrf) CALL grilles_gcm_netcdf_sub(phis) close(unit_nml) print *, "ce0l: done"