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