Changeset 3720 for LMDZ6/branches/Ocean_skin/libf/phylmd
- Timestamp:
- Jun 13, 2020, 12:23:29 AM (4 years ago)
- Location:
- LMDZ6/branches/Ocean_skin/libf/phylmd
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Ocean_skin/libf/phylmd/pbl_surface_mod.F90
r3719 r3720 293 293 USE ioipsl_getin_p_mod, ONLY : getin_p 294 294 use phys_state_var_mod, only: s_int, ds_ns, dt_ns 295 use phys_output_var_mod, only: sst_nff, dter, dser, tkt, tks, taur 295 use phys_output_var_mod, only: sst_nff, dter, dser, tkt, tks, taur, sss 296 296 #ifdef CPP_XIOS 297 297 USE wxios, ONLY: missing_val … … 831 831 832 832 real, DIMENSION(klon):: ysst_nff, ys_int, yds_ns, ydt_ns, ydter, ydser, & 833 ytkt, ytks, ytaur 833 ytkt, ytks, ytaur, ysss 834 834 ! compression of sst_nff, s_int, ds_ns, dt_ns, dter, dser, tkt, tks, 835 ! taur on ocean points835 ! taur, sss on ocean points 836 836 837 837 !**************************************************************************************** … … 1956 1956 y_flux_u1, y_flux_v1, ysst_nff(:knon), ys_int(:knon), & 1957 1957 yds_ns(:knon), ydt_ns(:knon), ydter(:knon), ydser(:knon), & 1958 ytkt(:knon), ytks(:knon), ytaur(:knon) )1958 ytkt(:knon), ytks(:knon), ytaur(:knon), ysss) 1959 1959 IF (prt_level >=10) THEN 1960 1960 print *,'arg de surf_ocean: ycdragh ',ycdragh … … 2570 2570 tks = missing_val 2571 2571 taur = missing_val 2572 sss = missing_val 2572 2573 2573 2574 s_int(ni(:knon)) = ys_int(:knon) … … 2580 2581 tks(ni(:knon)) = ytks(:knon) 2581 2582 taur(ni(:knon)) = ytaur(:knon) 2583 sss(ni(:knon)) = ysss(:knon) 2582 2584 end if 2583 2585 -
LMDZ6/branches/Ocean_skin/libf/phylmd/phys_output_ctrlout_mod.F90
r3719 r3720 1983 1983 "momentum flux due to rain", "Pa", '') 1984 1984 1985 type(ctrl_out), save:: o_sss & 1986 = ctrl_out([1, 10, 10, 1, 10, 10, 11, 11, 11, 11], 'SSS', & 1987 "bulk sea-surface salinity", "ppt", '') 1988 1985 1989 END MODULE phys_output_ctrlout_mod -
LMDZ6/branches/Ocean_skin/libf/phylmd/phys_output_var_mod.F90
r3719 r3720 156 156 ! épaisseur (m) de la couche de diffusion de masse (microlayer) 157 157 158 REAL, SAVE, ALLOCATABLE:: taur(:) 159 ! momentum flux due to rain, in Pa 158 REAL, SAVE, ALLOCATABLE:: taur(:) ! momentum flux due to rain, in Pa 159 160 REAL, SAVE, ALLOCATABLE:: sss(:) 161 ! bulk salinity of the surface layer of the ocean, in ppt 160 162 161 !$OMP THREADPRIVATE(sst_nff, dter, dser, tkt, tks, taur )163 !$OMP THREADPRIVATE(sst_nff, dter, dser, tkt, tks, taur, sss) 162 164 163 165 CONTAINS … … 221 223 222 224 if (activate_ocean_skin >= 1) allocate(sst_nff(klon), dter(klon), & 223 dser(klon), tkt(klon), tks(klon), taur(klon) )225 dser(klon), tkt(klon), tks(klon), taur(klon), sss(klon)) 224 226 225 227 END SUBROUTINE phys_output_var_init -
LMDZ6/branches/Ocean_skin/libf/phylmd/phys_output_write_mod.F90
r3719 r3720 203 203 o_flx_co2_ocean, o_flx_co2_land, o_flx_co2_ff, o_flx_co2_bb, & 204 204 o_sst_nff, o_s_int, o_ds_ns, o_dt_ns, o_dter, o_dser, o_tkt, o_tks, & 205 o_taur 205 o_taur, o_sss 206 206 207 207 #ifdef CPP_StratAer … … 360 360 alt_tropo, & 361 361 !Ionela 362 ok_4xCO2atm, sst_nff, dter, dser, tkt, tks, taur 362 ok_4xCO2atm, sst_nff, dter, dser, tkt, tks, taur, sss 363 363 364 364 USE ocean_slab_mod, ONLY: nslay, tslab, slab_bilg, tice, seaice, & … … 2313 2313 CALL histwrite_phy(o_tks, tks) 2314 2314 CALL histwrite_phy(o_taur, taur) 2315 CALL histwrite_phy(o_sss, sss) 2315 2316 end if 2316 2317 -
LMDZ6/branches/Ocean_skin/libf/phylmd/surf_ocean_mod.F90
r3719 r3720 20 20 z0m, z0h, SFRWL, alb_dir_new, alb_dif_new, evap, fluxsens, fluxlat, & 21 21 tsurf_new, dflux_s, dflux_l, lmt_bils, & 22 flux_u1, flux_v1, sst_nff, s_int, ds_ns, dt_ns, dter, dser, tkt, tks, taur) 22 flux_u1, flux_v1, sst_nff, s_int, ds_ns, dt_ns, dter, dser, tkt, tks, & 23 taur, sss) 23 24 24 25 use albedo, only: alboc, alboc_cd … … 127 128 ! momentum flux due to rain, in Pa 128 129 130 real, intent(out):: sss(:) ! (klon) 131 ! Bulk salinity of the surface layer of the ocean, in ppt. (Only 132 ! defined for subscripts 1:knon, but we have to declare it with 133 ! size klon because of the coupling machinery.) 134 129 135 ! Local variables 130 136 !****************************************************************************** … … 138 144 real rhoa(knon) ! density of moist air (kg / m3) 139 145 REAL sens_prec_liq(knon) 140 141 real sss(klon)142 ! Bulk salinity of the surface layer of the ocean, in ppt. (Only143 ! defined for subscripts 1:knon, but we have to declare it with144 ! size klon because of the coupling machinery.)145 146 146 147 REAL t_int(knon) ! ocean-air interface temperature, in K
Note: See TracChangeset
for help on using the changeset viewer.