4 |
|
|
5 |
contains |
contains |
6 |
|
|
7 |
subroutine regr_pr_o3(o3_mob_regr) |
subroutine regr_pr_o3(p3d, o3_mob_regr) |
8 |
|
|
9 |
! "regr_pr_o3" stands for "regrid pressure ozone". |
! "regr_pr_o3" stands for "regrid pressure ozone". |
10 |
! This procedure reads Mobidic ozone mole fraction from |
! This procedure reads Mobidic ozone mole fraction from |
30 |
use nr_util, only: assert |
use nr_util, only: assert |
31 |
use grid_change, only: dyn_phy |
use grid_change, only: dyn_phy |
32 |
use numer_rec_95, only: regr1_step_av |
use numer_rec_95, only: regr1_step_av |
33 |
use pressure_var, only: p3d |
|
34 |
|
REAL, intent(in):: p3d(:, :, :) ! (iim + 1, jjm + 1, llm+1) |
35 |
|
! pressure at layer interfaces, in Pa |
36 |
|
! ("p3d(i, j, l)" is at longitude "rlonv(i)", latitude "rlatu(j)", |
37 |
|
! for interface "l") |
38 |
|
|
39 |
real, intent(out):: o3_mob_regr(:, :, :) ! (iim + 1, jjm + 1, llm) |
real, intent(out):: o3_mob_regr(:, :, :) ! (iim + 1, jjm + 1, llm) |
40 |
! (ozone mole fraction from Mobidic adapted to the LMDZ grid) |
! (ozone mole fraction from Mobidic adapted to the LMDZ grid) |
61 |
!------------------------------------------------------------ |
!------------------------------------------------------------ |
62 |
|
|
63 |
print *, "Call sequence information: regr_pr_o3" |
print *, "Call sequence information: regr_pr_o3" |
64 |
call assert(shape(o3_mob_regr) == (/iim + 1, jjm + 1, llm/), "regr_pr_o3") |
|
65 |
|
call assert(shape(o3_mob_regr) == (/iim + 1, jjm + 1, llm/), & |
66 |
|
"regr_pr_o3 o3_mob_regr") |
67 |
|
call assert(shape(p3d) == (/iim + 1, jjm + 1, llm + 1/), & |
68 |
|
"regr_pr_o3 p3d") |
69 |
|
|
70 |
call nf95_open("coefoz_LMDZ.nc", nf90_nowrite, ncid) |
call nf95_open("coefoz_LMDZ.nc", nf90_nowrite, ncid) |
71 |
|
|