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

Last change on this file since 3001 was 3000, checked in by jbclement, 18 months ago

Mars PCM:
Some adaptations to make the 1D model run with XIOS and MPICH for use with 1D PEM.
JBC

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