source: trunk/LMDZ.MARS/libf/phymars/dyn1d/write_profile.F90 @ 2997

Last change on this file since 2997 was 2981, checked in by evos, 19 months ago

EV 1D Mars

Created an option to output the profiles in 1D using write_prof (default is false)
for the several years run mostly the PEM

File size: 325 bytes
Line 
1SUBROUTINE writeprofile(nlev,data,name2,iq,qsurf)
2
3
4IMPLICIT NONE
5
6! arguments:
7INTEGER nlev,iq
8REAL data(nlev)
9REAL qsurf
10CHARACTER(len=30) :: name2
11
12!local
13INTEGER il
14
15!write the data
16OPEN(iq,file='profile_out_'//trim(name2),form='formatted')
17write(iq,*) qsurf
18DO il=1,nlev
19        write(iq,*) data(il)
20ENDDO
21CLOSE(iq)
22RETURN
23END
Note: See TracBrowser for help on using the repository browser.