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