27 |
! "pa" should be defined before this procedure is called. |
! "pa" should be defined before this procedure is called. |
28 |
|
|
29 |
use nr_util, only: pi |
use nr_util, only: pi |
30 |
use new_unit_m, only: new_unit |
use jumble, only: new_unit |
31 |
|
use unit_nml_m, only: unit_nml |
32 |
|
|
33 |
REAL s(llm+1) |
REAL s(llm+1) |
34 |
! "s(l)" is the atmospheric hybrid sigma-pressure coordinate at |
! "s(l)" is the atmospheric hybrid sigma-pressure coordinate at |
38 |
! "ds(l)" : épaisseur de la couche "l" dans la coordonnée "s" |
! "ds(l)" : épaisseur de la couche "l" dans la coordonnée "s" |
39 |
|
|
40 |
INTEGER l, unit |
INTEGER l, unit |
41 |
REAL alpha, x(llm), trash |
REAL alpha, x(llm) |
42 |
|
|
43 |
character(len=7):: s_sampling = "LMD5" |
character(len=7):: s_sampling = "LMD5" |
44 |
! (other allowed values are "param", "strato1", "strato2" and "read") |
! (other allowed values are "param", "strato1", "strato2" and "read") |
67 |
|
|
68 |
print *, "Enter namelist 'disvert_nml'." |
print *, "Enter namelist 'disvert_nml'." |
69 |
read(unit=*, nml=disvert_nml) |
read(unit=*, nml=disvert_nml) |
70 |
write(unit=*, nml=disvert_nml) |
write(unit_nml, nml=disvert_nml) |
71 |
|
|
72 |
select case (s_sampling) |
select case (s_sampling) |
73 |
case ("param") |
case ("param") |
121 |
position="rewind") |
position="rewind") |
122 |
read(unit, fmt=*) ! skip title line |
read(unit, fmt=*) ! skip title line |
123 |
do l = 1, llm + 1 |
do l = 1, llm + 1 |
124 |
read(unit, fmt=*) trash, s(l) |
read(unit, fmt=*) s(l) |
125 |
end do |
end do |
126 |
close(unit) |
close(unit) |
127 |
! Quick check: |
! Quick check: |