Ignore:
Timestamp:
Jul 28, 2025, 7:23:15 PM (7 days ago)
Author:
aborella
Message:

Merge with trunk r5789

Location:
LMDZ6/branches/contrails
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/contrails

  • LMDZ6/branches/contrails/libf/phylmd/phyredem.f90

    r5790 r5791  
    2525                                qvcon, qccon,                                &
    2626                                qvc_ancien, cfc_ancien, qtc_ancien, nic_ancien, &
    27                                 u_ancien, v_ancien,                          &
     27                                u_ancien, v_ancien, tke_ancien,              &
    2828                                clwcon, rnebcon, ratqs, pbl_tke,             &
    2929                                wake_delta_pbl_tke, zmax0, f0, sig1, w01,    &
     
    3636                                du_gwd_rando, du_gwd_front, u10m, v10m, &
    3737                                treedrg, solswfdiff, delta_sal, ds_ns, dt_ns, &
    38                                 delta_sst, ratqs_inter_, dter, dser, dt_ds,  &
    39                                 frac_tersrf, z0m_tersrf, ratio_z0m_z0h_tersrf, &
    40                                 albedo_tersrf, beta_tersrf, inertie_tersrf,  &
    41                                 hcond_tersrf, tsurfi_tersrf, tsoili_tersrf, tsoil_depth, &
    42                                 qsurf_tersrf, tsurf_tersrf, tsoil_tersrf, tsurf_new_tersrf, &
    43                                 cdragm_tersrf, cdragh_tersrf, &
    44                                 swnet_tersrf, lwnet_tersrf, fluxsens_tersrf, fluxlat_tersrf
     38!GG                                delta_sst, ratqs_inter_, dter,
     39                                !dser, dt_ds
     40                                delta_sst, ratqs_inter_, dter, dser,&
     41                                & dt_ds, hice, tice, bilg_cumul, &
     42!GG
     43                                frac_tersrf, z0m_tersrf,&
     44                                     & ratio_z0m_z0h_tersrf,&
     45                                     & albedo_tersrf, beta_tersrf,&
     46                                     & inertie_tersrf, hcond_tersrf,&
     47                                     & tsurfi_tersrf, tsoili_tersrf,&
     48                                     & tsoil_depth, qsurf_tersrf,&
     49                                     & tsurf_tersrf, tsoil_tersrf,&
     50                                     & tsurf_new_tersrf,&
     51                                     & cdragm_tersrf, cdragh_tersrf,&
     52                                     & swnet_tersrf, lwnet_tersrf,&
     53                                     & fluxsens_tersrf, fluxlat_tersrf
    4554
    4655  USE geometry_mod, ONLY : longitude_deg, latitude_deg
     
    5059  USE carbon_cycle_mod, ONLY : carbon_cycle_cpl, co2_send, carbon_cycle_rad, RCO2_glo
    5160  USE indice_sol_mod, ONLY: nbsrf, is_oce, is_sic, is_ter, is_lic, epsfra
    52   USE surface_data, ONLY: type_ocean, version_ocean
    53   USE ocean_slab_mod, ONLY : nslay, tslab, seaice, tice, fsic
     61!GG  USE surface_data, ONLY: type_ocean, version_ocean
     62  USE surface_data, ONLY: type_ocean, version_ocean, iflag_seaice, iflag_seaice_alb, &
     63                          iflag_leads
     64!GG
     65  USE ocean_slab_mod, ONLY : nslay, tslab, seaice, tice_slab, fsic
    5466  USE time_phylmdz_mod, ONLY: annee_ref, day_end, itau_phy, pdtphys
    5567  use config_ocean_skin_m, only: activate_ocean_skin
     
    123135  IF (carbon_cycle_rad) tab_cntrl(17) = RCO2_glo
    124136  !PRINT*, "PC : phyredem RCO2_glo =",RCO2_glo
     137  !GG
     138  tab_cntrl(18 ) = iflag_seaice
     139  tab_cntrl(19 ) = iflag_seaice_alb
     140  tab_cntrl(20 ) = iflag_leads
     141  !GG
    125142
    126143  DO pass=1,2   ! pass=1 netcdf definition ; pass=2 netcdf write
     
    227244    CALL put_field_srf1(pass,"SNOW", "Neige", snow(:,:))
    228245
     246    !GG
     247    CALL put_field(pass,"hice", "Ice thickness", hice)
     248    CALL put_field(pass,"tice", "Sea Ice temperature", tice)
     249    CALL put_field(pass,"bilg_cumul", "Flux conductivite + transmit sea-ice", bilg_cumul)
     250    !GG
     251
    229252    CALL put_field(pass,"RADS", "Rayonnement net a la surface", radsol)
    230253
     
    313336
    314337    ! DEB TKE PBL !
     338
     339    IF (ok_advtke) THEN
     340      CALL put_field(pass,"TKEANCIEN", "TKEANCIEN", tke_ancien)
     341    ENDIF
     342
    315343
    316344    IF (iflag_pbl>1) then
     
    410438        IF (version_ocean == 'sicINT') THEN
    411439            CALL put_field(pass,"seaice", "Slab seaice (kg/m2)", seaice)
    412             CALL put_field(pass,"slab_tice", "Slab sea ice temperature", tice)
     440            CALL put_field(pass,"slab_tice", "Slab sea ice temperature", tice_slab)
    413441        END IF
    414442    END IF
Note: See TracChangeset for help on using the changeset viewer.