Changeset 2981 for trunk/LMDZ.MARS/libf
- Timestamp:
- Jun 12, 2023, 5:44:22 PM (19 months ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars/dyn1d
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F
r2980 r2981 992 992 IF (write_prof) then 993 993 DO iq = 1, nq 994 call writeprofile(nlayer,q(:,iq),noms(iq),iq )994 call writeprofile(nlayer,q(:,iq),noms(iq),iq,qsurf) 995 995 ENDDO 996 996 ENDIF -
trunk/LMDZ.MARS/libf/phymars/dyn1d/write_profile.F90
r2948 r2981 1 SUBROUTINE writeprofile(nlev,data,name2,iq )1 SUBROUTINE writeprofile(nlev,data,name2,iq,qsurf) 2 2 3 3 … … 7 7 INTEGER nlev,iq 8 8 REAL data(nlev) 9 REAL qsurf 9 10 CHARACTER(len=30) :: name2 10 11 … … 14 15 !write the data 15 16 OPEN(iq,file='profile_out_'//trim(name2),form='formatted') 17 write(iq,*) qsurf 16 18 DO il=1,nlev 17 19 write(iq,*) data(il)
Note: See TracChangeset
for help on using the changeset viewer.