|
Last change
on this file since 2393 was
1918,
checked in by emillour, 8 years ago
|
|
Mars GCM:
Code cleanup:
- remove "comorbit.h" since it is no longer used.
- turn "datafile.h" into module datafile_mod.F90 (and rename variable
"datafile" as "datadir" since it stores the path to the datafile directory).
EM
|
|
File size:
1.3 KB
|
| Rev | Line | |
|---|
| [414] | 1 | c*********************************************************************** |
|---|
| 2 | subroutine NIR_leedat |
|---|
| 3 | |
|---|
| 4 | c reads parameters for NIR NLTE calculation |
|---|
| 5 | |
|---|
| 6 | c nov 2011 fgg+malv first version |
|---|
| 7 | c*********************************************************************** |
|---|
| 8 | |
|---|
| [1918] | 9 | use datafile_mod, only: datadir |
|---|
| 10 | |
|---|
| [414] | 11 | implicit none |
|---|
| 12 | |
|---|
| [498] | 13 | include 'nirdata.h' |
|---|
| [414] | 14 | |
|---|
| 15 | |
|---|
| 16 | c local variables |
|---|
| 17 | |
|---|
| 18 | integer ind |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | c*********************************************************************** |
|---|
| 22 | |
|---|
| [1918] | 23 | open(43,file=trim(datadir)//'/NIRcorrection_feb2011.dat', |
|---|
| [414] | 24 | $ status='old') |
|---|
| 25 | do ind=1,9 |
|---|
| 26 | read(43,*) |
|---|
| 27 | enddo |
|---|
| 28 | |
|---|
| 29 | do ind=1,npres |
|---|
| 30 | read(43,*)pres1d(ind),corgcm(ind),oco21d(ind),p1999(ind), |
|---|
| 31 | $ alfa(ind) |
|---|
| 32 | !Tabulated pression to Pa |
|---|
| 33 | pres1d(ind)=pres1d(ind)*100. |
|---|
| 34 | enddo |
|---|
| 35 | close(43) |
|---|
| 36 | |
|---|
| 37 | return |
|---|
| 38 | |
|---|
| 39 | end |
|---|
Note: See
TracBrowser
for help on using the repository browser.