Changeset 4179 for LMDZ6/branches/LMDZ_ECRad
- Timestamp:
- Jun 18, 2022, 1:32:25 AM (3 years ago)
- Location:
- LMDZ6/branches/LMDZ_ECRad
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/LMDZ_ECRad/bld.cfg
r4177 r4179 38 38 src::ext_src %EXT_SRC 39 39 src::Ocean_skin %SRC_PATH/%PHYS/Ocean_skin 40 src::NetCDF95 %SRC_PATH/misc/NetCDF9541 40 42 41 bld::lib lmdz … … 101 100 bld::excl_dep use::ifile_attr 102 101 bld::excl_dep use::ixml_tree 102 bld::excl_dep use::netcdf95 103 103 104 104 # Don't generate interface files -
LMDZ6/branches/LMDZ_ECRad/libf/phylmd/open_climoz_m.F90
r2821 r4179 27 27 ! Arguments (OpenMP shared): 28 28 INTEGER, INTENT(OUT):: ncid !--- "climoz_LMDZ.nc" identifier 29 REAL, POINTER:: press_in_cen(:) !--- at cells centers30 REAL, POINTER:: press_in_edg(:) !--- at the interfaces (pressure intervals)31 REAL, POINTER:: time_in(:) !--- records times, in days since Jan. 1st29 REAL, allocatable, intent(out):: press_in_cen(:) !--- at cells centers 30 REAL, allocatable, INTENT(OUT):: press_in_edg(:) !--- at the interfaces (pressure intervals) 31 REAL, allocatable, intent(out):: time_in(:) !--- records times, in days since Jan. 1st 32 32 LOGICAL, INTENT(IN) :: daily !--- daily files (calendar dependent days nb) 33 33 LOGICAL, INTENT(IN) :: adjust !--- tropopause adjustement required -
LMDZ6/branches/LMDZ_ECRad/libf/phylmd/physiq_mod.F90
r4170 r4179 1109 1109 ! climatology and the daylight climatology 1110 1110 INTEGER,SAVE :: ncid_climoz ! NetCDF file identifier 1111 REAL, POINTER, SAVE :: press_cen_climoz(:) ! Pressure levels1112 REAL, POINTER, SAVE :: press_edg_climoz(:) ! Edges of pressure intervals1113 REAL, POINTER, SAVE :: time_climoz(:) ! Time vector1111 REAL, allocatable, SAVE :: press_cen_climoz(:) ! Pressure levels 1112 REAL, allocatable, SAVE :: press_edg_climoz(:) ! Edges of pressure intervals 1113 REAL, allocatable, SAVE :: time_climoz(:) ! Time vector 1114 1114 CHARACTER(LEN=13), PARAMETER :: vars_climoz(2) & 1115 1115 = ["tro3 ","tro3_daylight"] … … 5351 5351 IF (read_climoz >= 1) THEN 5352 5352 IF (is_mpi_root) CALL nf95_close(ncid_climoz) 5353 DEALLOCATE(press_edg_climoz) ! pointer5354 DEALLOCATE(press_cen_climoz) ! pointer5353 DEALLOCATE(press_edg_climoz) 5354 DEALLOCATE(press_cen_climoz) 5355 5355 ENDIF 5356 5356 -
LMDZ6/branches/LMDZ_ECRad/libf/phylmd/press_coefoz_m.F90
r1907 r4179 4 4 implicit none 5 5 6 real, pointer, save:: plev(:)6 real, allocatable, save:: plev(:) 7 7 ! (pressure level of Mobidic input data, converted to Pa, in strictly 8 8 ! ascending order) -
LMDZ6/branches/LMDZ_ECRad/libf/phylmd/readaerosolstrato.F90
r3531 r4179 31 31 integer n_lev ! number of levels in the input data 32 32 integer n_month ! number of months in the input data 33 real, pointer:: latitude(:)34 real, pointer:: longitude(:)35 real, pointer:: time(:)36 real, pointer:: lev(:)33 real, allocatable:: latitude(:) 34 real, allocatable:: longitude(:) 35 real, allocatable:: time(:) 36 real, allocatable:: lev(:) 37 37 integer i, k, band, wave 38 38 integer, save :: mth_pre=1 -
LMDZ6/branches/LMDZ_ECRad/libf/phylmd/readaerosolstrato_m.F90
r3436 r4179 32 32 ! USE YOERAD, ONLY : NLW 33 33 IMPLICIT NONE 34 REAL, POINTER:: latitude(:)35 REAL, POINTER:: longitude(:)34 REAL, allocatable:: latitude(:) 35 REAL, allocatable:: longitude(:) 36 36 INTEGER :: nlat, nlon 37 37 REAL :: null_array(0) … … 75 75 ! USE YOERAD, ONLY : NLW 76 76 IMPLICIT NONE 77 REAL, POINTER:: latitude(:)78 REAL, POINTER:: wav(:)77 REAL, allocatable:: latitude(:) 78 REAL, allocatable:: wav(:) 79 79 INTEGER :: nlat,n_wav 80 80 REAL :: null_array(0) -
LMDZ6/branches/LMDZ_ECRad/libf/phylmd/readchlorophyll.F90
r3531 r4179 29 29 INTEGER n_lev ! number of levels in the input data 30 30 INTEGER n_month ! number of months in the input data 31 REAL, POINTER:: latitude(:)32 REAL, POINTER:: longitude(:)33 REAL, POINTER:: time(:)31 REAL, ALLOCATABLE :: latitude(:) 32 REAL, ALLOCATABLE :: longitude(:) 33 REAL, ALLOCATABLE :: time(:) 34 34 INTEGER i, k 35 35 INTEGER, SAVE :: mth_pre -
LMDZ6/branches/LMDZ_ECRad/libf/phylmd/regr_horiz_time_climoz_m.F90
r3465 r4179 88 88 INTEGER :: nlev_in ! Number of pressure levels 89 89 INTEGER :: nmth_in ! Number of months 90 REAL, POINTER:: lon_in(:) ! Longitudes (ascending order, rad)91 REAL, POINTER:: lat_in(:) ! Latitudes (ascending order, rad)92 REAL, POINTER:: lev_in(:) ! Pressure levels (ascen. order, hPa)90 REAL, ALLOCATABLE:: lon_in(:) ! Longitudes (ascending order, rad) 91 REAL, ALLOCATABLE:: lat_in(:) ! Latitudes (ascending order, rad) 92 REAL, ALLOCATABLE:: lev_in(:) ! Pressure levels (ascen. order, hPa) 93 93 REAL, ALLOCATABLE :: lon_in_edge(:) ! Longitude intervals edges 94 94 ! (ascending order, / ) … … 125 125 INTEGER :: fID_in_m, fID_in, levID_ou, dimid, vID_in(read_climoz), ntim_ou 126 126 INTEGER :: fID_in_p, fID_ou, timID_ou, varid, vID_ou(read_climoz), ndims, ncerr 127 INTEGER, POINTER:: dIDs(:)127 INTEGER, ALLOCATABLE :: dIDs(:) 128 128 CHARACTER(LEN=20) :: cal_ou !--- Calendar; no time inter => same as input 129 129 CHARACTER(LEN=80) :: press_unit !--- Pressure unit -
LMDZ6/branches/LMDZ_ECRad/libf/phylmd/regr_lat_time_coefoz_m.F90
r2788 r4179 55 55 integer n_lat! number of latitudes in the input data 56 56 57 real, pointer:: latitude(:)57 real, allocatable:: latitude(:) 58 58 ! (of input data, converted to rad, sorted in strictly ascending order) 59 59 … … 62 62 ! ascending order) 63 63 64 real, pointer:: plev(:) ! pressure level of input data64 real, allocatable:: plev(:) ! pressure level of input data 65 65 logical desc_lat ! latitude in descending order in the input file 66 66 … … 172 172 forall (j = 2:n_lat) lat_in_edg(j) = (latitude(j - 1) + latitude(j)) / 2 173 173 lat_in_edg(n_lat + 1) = pi / 2 174 deallocate(latitude) ! pointer174 deallocate(latitude) 175 175 176 176 call nf95_inq_varid(ncid_in, "plev", varid) … … 192 192 call nf95_put_var(ncid_out, varid_plev, plev) 193 193 194 deallocate(plev) ! pointer194 deallocate(plev) 195 195 196 196 allocate(o3_par_in(n_lat, n_plev, 12)) -
LMDZ6/branches/LMDZ_ECRad/libf/phylmd/tracco2i_mod.F90
r4050 r4179 358 358 359 359 INTEGER :: n_glo, n_month 360 REAL, POINTER:: vector(:), time(:)360 REAL, allocatable:: vector(:), time(:) 361 361 REAL,ALLOCATABLE :: flx_co2ff_glo(:,:) ! fossil-fuel CO2 362 362 REAL,ALLOCATABLE :: flx_co2bb_glo(:,:) ! biomass-burning CO2 -
LMDZ6/branches/LMDZ_ECRad/makelmdz
r4177 r4179 95 95 EXT_SRC="" 96 96 #src_dirs: directories containing source files 97 src_dirs="grid misc misc/NetCDF95"97 src_dirs="grid misc" 98 98 ######################################################################## 99 99 # lecture des options
Note: See TracChangeset
for help on using the changeset viewer.