- Timestamp:
- Mar 18, 2016, 12:09:23 PM (9 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2436-2457
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/regr_lat_time_coefoz_m.F90
r2408 r2471 41 41 42 42 use mod_grid_phy_lmdz, ONLY : nbp_lat 43 use regr1_ step_av_m, only: regr1_step_av43 use regr1_conserv_m, only: regr1_conserv 44 44 use regr3_lint_m, only: regr3_lint 45 45 use netcdf95, only: nf95_open, nf95_close, nf95_inq_varid, handle_err, & … … 162 162 latitude = latitude / 180. * pi 163 163 n_lat = size(latitude) 164 ! We need to supply the latitudes to "regr1_ step_av" in164 ! We need to supply the latitudes to "regr1_conserv" in 165 165 ! ascending order, so invert order if necessary: 166 166 desc_lat = latitude(1) > latitude(n_lat) … … 209 209 ! We average with respect to sine of latitude, which is 210 210 ! equivalent to weighting by cosine of latitude: 211 v_regr_lat(nbp_lat:1:-1, :, 1:12) = regr1_step_av(o3_par_in, & 212 xs=sin(lat_in_edg), xt=sin((/- pi / 2, boundslat_reg(nbp_lat-1:1:-1,south), pi / 2/))) 211 call regr1_conserv(o3_par_in, xs = sin(lat_in_edg), & 212 xt = (/-1., sin((/boundslat_reg(nbp_lat-1:1:-1,south)/)), 1./), & 213 vt = v_regr_lat(nbp_lat:1:-1, :, 1:12)) 213 214 ! (invert order of indices in "v_regr_lat" because "rlatu" is 214 215 ! in descending order)
Note: See TracChangeset
for help on using the changeset viewer.