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

Last change on this file since 3036 was 3000, checked in by jbclement, 2 years 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
RevLine 
[3000]1SUBROUTINE writeprofile(nlev,data,name2,qsurf)
[2948]2
3
4IMPLICIT NONE
5
6! arguments:
[3000]7INTEGER nlev
[2948]8REAL data(nlev)
[2981]9REAL qsurf
[2948]10CHARACTER(len=30) :: name2
11
12!local
13INTEGER il
14
15!write the data
[3000]16OPEN(1,file='profile_out_'//trim(name2),form='formatted')
17write(1,*) qsurf
[2948]18DO il=1,nlev
[3000]19    write(1,*) data(il)
[2948]20ENDDO
[3000]21CLOSE(1)
[2948]22RETURN
23END
Note: See TracBrowser for help on using the repository browser.