Changeset 3000 for trunk/LMDZ.MARS/libf
- Timestamp:
- Jul 19, 2023, 11:55:56 AM (18 months ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F
r2997 r3000 43 43 use write_output_mod, only: write_output 44 44 #ifdef CPP_XIOS 45 use mod_const_mpi, only: init_const_mpi 45 use mod_const_mpi, only: init_const_mpi, COMM_LMDZ 46 46 use parallel_lmdz, only: init_parallel 47 47 #endif … … 358 358 359 359 call init_physics_distribution(regular_lonlat,4, 360 & 1,1,1,nlayer, 1)360 & 1,1,1,nlayer,COMM_LMDZ) 361 361 362 362 if(.not. startfile_1D ) then … … 988 988 call getin("write_prof",write_prof) 989 989 IF (write_prof) then 990 DO iq = 1, 991 call writeprofile(nlayer,q(:,iq),noms(iq),iq,qsurf)990 DO iq = 1,nq 991 call writeprofile(nlayer,q(:,iq),noms(iq),qsurf) 992 992 ENDDO 993 993 ENDIF 994 995 994 996 995 c ======================================================== -
trunk/LMDZ.MARS/libf/phymars/dyn1d/write_profile.F90
r2981 r3000 1 SUBROUTINE writeprofile(nlev,data,name2, iq,qsurf)1 SUBROUTINE writeprofile(nlev,data,name2,qsurf) 2 2 3 3 … … 5 5 6 6 ! arguments: 7 INTEGER nlev ,iq7 INTEGER nlev 8 8 REAL data(nlev) 9 9 REAL qsurf … … 14 14 15 15 !write the data 16 OPEN( iq,file='profile_out_'//trim(name2),form='formatted')17 write( iq,*) qsurf16 OPEN(1,file='profile_out_'//trim(name2),form='formatted') 17 write(1,*) qsurf 18 18 DO il=1,nlev 19 write(iq,*) data(il)19 write(1,*) data(il) 20 20 ENDDO 21 CLOSE( iq)21 CLOSE(1) 22 22 RETURN 23 23 END -
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r2999 r3000 3830 3830 call write_output('zdqcloud_vap','cloud vap', 3831 3831 & 'kg.m-2.s-1',zdqcloud(:,:,igcm_h2o_vap)) 3832 call write_output('zdqcloud','cloud ice',3832 call write_output('zdqcloud','cloud', 3833 3833 & 'kg.m-2.s-1',zdqcloud(:,:,igcm_h2o_ice) 3834 3834 & +zdqcloud(:,:,igcm_h2o_vap))
Note: See TracChangeset
for help on using the changeset viewer.