Changeset 5451 for LMDZ6/trunk/libf/phylmd/iophys.F90
- Timestamp:
- Dec 23, 2024, 6:08:12 PM (33 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/iophys.F90
r5390 r5451 110 110 111 111 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 112 SUBROUTINE iophys_ini(timestep) 112 SUBROUTINE iophys_ini(timestep,nlev) 113 USE dimphy, ONLY: klev 113 114 USE mod_phys_lmdz_para, ONLY: is_mpi_root 114 115 USE vertical_layers_mod, ONLY: presnivs 115 116 USE regular_lonlat_mod, ONLY: lon_reg, lat_reg 116 USE dimphy, ONLY: klev117 117 USE mod_grid_phy_lmdz, ONLY: klon_glo 118 118 USE time_phylmdz_mod, ONLY : annee_ref, day_ref, day_ini … … 139 139 ! ------------- 140 140 141 integer, intent(in) :: nlev 142 real, intent(in) :: timestep 143 141 144 real pi 142 145 INTEGER nlat_eff 143 146 INTEGER jour0,mois0,an0 144 REAL t imestep,t0147 REAL t0 145 148 CHARACTER(len=20) :: calendrier 149 integer ilev 150 real coord_vert(nlev) 146 151 147 152 ! Arguments: … … 178 183 print*,'iophys_ini annee_ref day_ref',annee_ref,day_ref,day_ini,calend,t0 179 184 180 185 if ( nlev == klev ) then 186 coord_vert=presnivs 187 print*,'ON EST LA ' 188 else 189 do ilev=1,nlev 190 coord_vert(ilev)=ilev 191 enddo 192 endif 193 print*,'nlev=',nlev 194 print*,'coord_vert',coord_vert 181 195 call iotd_ini('phys.nc', & 182 size(lon_reg),nlat_eff,klev,lon_reg(:)*180./pi,lat_reg*180./pi,presnivs,jour0,mois0,an0,t0,timestep,calendrier) 196 size(lon_reg),nlat_eff,nlev,lon_reg(:)*180./pi,lat_reg*180./pi,coord_vert,jour0,mois0,an0,t0,timestep,calendrier) 197 ! SUBROUTINE iotd_ini(fichnom,iim,jjm,llm,prlon,prlat,pcoordv,jour0,mois0,an0,t0,timestep,calendrier) 198 ! ------- 183 199 ENDIF 184 200 !$OMP END MASTER … … 216 232 217 233 SUBROUTINE iotd_ecrit_seq(nom,lllm,titre,unite,px) 234 !call iotd_ecrit_seq('f0',1,'f0 in thermcell_plume_6A',' ',f0(1:ngrid)) 235 218 236 USE iotd_mod_h 219 237 … … 230 248 integer i,j,l,ijl 231 249 250 !print*,'iotd_ecrit_seq ,nom,lllm,titre,unite,px',nom,lllm,titre,unite,px 232 251 allocate(zx(imax,jmax,lllm)) 233 252
Note: See TracChangeset
for help on using the changeset viewer.