|
Last change
on this file since 2639 was
2607,
checked in by romain.vande, 4 years ago
|
|
LMDZ_MARS RV : Open_MP; Reading files in parallel for NIR parametrisation
(callnirco2.and.nircorr.eq.1)
|
|
File size:
1.5 KB
|
| Line | |
|---|
| 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 | |
|---|
| 9 | use datafile_mod, only: datadir |
|---|
| 10 | USE mod_phys_lmdz_para, ONLY: is_master |
|---|
| 11 | USE mod_phys_lmdz_transfert_para, ONLY: bcast |
|---|
| 12 | |
|---|
| 13 | implicit none |
|---|
| 14 | |
|---|
| 15 | include 'nirdata.h' |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | c local variables |
|---|
| 19 | |
|---|
| 20 | integer ind |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | c*********************************************************************** |
|---|
| 24 | if(is_master) then |
|---|
| 25 | open(43,file=trim(datadir)//'/NIRcorrection_feb2011.dat', |
|---|
| 26 | $ status='old') |
|---|
| 27 | do ind=1,9 |
|---|
| 28 | read(43,*) |
|---|
| 29 | enddo |
|---|
| 30 | |
|---|
| 31 | do ind=1,npres |
|---|
| 32 | read(43,*)pres1d(ind),corgcm(ind),oco21d(ind),p1999(ind), |
|---|
| 33 | $ alfa(ind) |
|---|
| 34 | !Tabulated pression to Pa |
|---|
| 35 | pres1d(ind)=pres1d(ind)*100. |
|---|
| 36 | enddo |
|---|
| 37 | close(43) |
|---|
| 38 | |
|---|
| 39 | endif ! if(is_master) then |
|---|
| 40 | |
|---|
| 41 | call bcast(pres1d) |
|---|
| 42 | call bcast(corgcm) |
|---|
| 43 | call bcast(oco21d) |
|---|
| 44 | call bcast(p1999) |
|---|
| 45 | call bcast(alfa) |
|---|
| 46 | |
|---|
| 47 | return |
|---|
| 48 | |
|---|
| 49 | end |
|---|
Note: See
TracBrowser
for help on using the repository browser.