variable for coupling period
Calculate coupling period
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real, | intent(in) | :: | dtime | |||
| real, | intent(in), | DIMENSION(klon) | :: | rlon |
|
|
| real, | intent(in), | DIMENSION(klon) | :: | rlat |
|
Transform seaice fraction (read_sic : ocean-seaice mask) into global fraction (pctsrf : ocean-seaice-land-landice mask)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | itime | |||
| real, | intent(in) | :: | dtime | |||
| real, | intent(inout), | DIMENSION(klon,nbsrf) | :: | pctsrf | ||
| logical, | intent(out) | :: | is_modified |
|
Transform read_co2 into uncompressed 1D variable fco2_ocn_day added directly in the module carbon_cycle_mod
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | knon | |||
| integer, | intent(in), | DIMENSION(klon) | :: | knindex |
|
|
| real, | intent(out), | DIMENSION(klon) | :: | tsurf_new | ||
| real, | intent(out), | DIMENSION(klon) | :: | u0_new | ||
| real, | intent(out), | DIMENSION(klon) | :: | v0_new |
|
|
| real, | intent(out) | :: | sss(:) |
The fields received from the coupler have to be weighted with the sea-ice concentration (in relation to the total sea-ice + ocean).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | knon | |||
| integer, | intent(in), | DIMENSION(klon) | :: | knindex |
|
|
| real, | intent(out), | DIMENSION(klon) | :: | tsurf_new | ||
| real, | intent(out), | DIMENSION(klon) | :: | alb_new | ||
| real, | intent(out), | DIMENSION(klon) | :: | u0_new | ||
| real, | intent(out), | DIMENSION(klon) | :: | v0_new |
|
Reset fields to zero in the beginning of a new coupling period
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | itime | |||
| integer, | intent(in) | :: | knon | |||
| integer, | intent(in), | DIMENSION(klon) | :: | knindex | ||
| real, | intent(in), | DIMENSION(klon) | :: | swdown | ||
| real, | intent(in), | DIMENSION(klon) | :: | lwdown | ||
| real, | intent(in), | DIMENSION(klon) | :: | fluxlat | ||
| real, | intent(in), | DIMENSION(klon) | :: | fluxsens | ||
| real, | intent(in), | DIMENSION(klon) | :: | precip_rain | ||
| real, | intent(in), | DIMENSION(klon) | :: | precip_snow | ||
| real, | intent(in), | DIMENSION(klon) | :: | evap | ||
| real, | intent(in), | DIMENSION(klon) | :: | tsurf | ||
| real, | intent(in), | DIMENSION(klon) | :: | fder | ||
| real, | intent(in), | DIMENSION(klon) | :: | albsol | ||
| real, | intent(in), | DIMENSION(klon) | :: | taux | ||
| real, | intent(in), | DIMENSION(klon) | :: | tauy | ||
| real, | intent(in), | DIMENSION(klon) | :: | windsp | ||
| real, | intent(in) | :: | sens_prec_liq(:) | |||
| real, | intent(in) | :: | sens_prec_sol(:) | |||
| real, | intent(in), | DIMENSION(klon) | :: | lat_prec_liq | ||
| real, | intent(in), | DIMENSION(klon) | :: | lat_prec_sol | ||
| real, | intent(in) | :: | delta_sst(:) | |||
| real, | intent(in) | :: | delta_sal(:) | |||
| real, | intent(in) | :: | dter(:) | |||
| real, | intent(in) | :: | dser(:) | |||
| real, | intent(in) | :: | dt_ds(:) |
|
Reset fields to zero in the beginning of a new coupling period
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | itime | |||
| real, | intent(in) | :: | dtime | |||
| integer, | intent(in) | :: | knon | |||
| integer, | intent(in), | DIMENSION(klon) | :: | knindex | ||
| real, | intent(in), | DIMENSION(klon,nbsrf) | :: | pctsrf | ||
| logical, | intent(in) | :: | lafin |
|
||
| real, | intent(in), | DIMENSION(klon) | :: | rlon | ||
| real, | intent(in), | DIMENSION(klon) | :: | rlat | ||
| real, | intent(in), | DIMENSION(klon) | :: | swdown | ||
| real, | intent(in), | DIMENSION(klon) | :: | lwdown | ||
| real, | intent(in), | DIMENSION(klon) | :: | fluxlat | ||
| real, | intent(in), | DIMENSION(klon) | :: | fluxsens | ||
| real, | intent(in), | DIMENSION(klon) | :: | precip_rain | ||
| real, | intent(in), | DIMENSION(klon) | :: | precip_snow | ||
| real, | intent(in), | DIMENSION(klon) | :: | evap | ||
| real, | intent(in), | DIMENSION(klon) | :: | tsurf | ||
| real, | intent(in), | DIMENSION(klon) | :: | fder | ||
| real, | intent(in), | DIMENSION(klon) | :: | albsol | ||
| real, | intent(in), | DIMENSION(klon) | :: | taux | ||
| real, | intent(in), | DIMENSION(klon) | :: | tauy | ||
| real, | intent(in) | :: | sens_prec_liq(:) | |||
| real, | intent(in) | :: | sens_prec_sol(:) | |||
| real, | intent(in), | DIMENSION(klon) | :: | lat_prec_liq | ||
| real, | intent(in), | DIMENSION(klon) | :: | lat_prec_sol |
Reset cumulated fields to zero in the beginning of a new coupling period
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | itime | |||
| integer, | intent(in) | :: | knon | |||
| integer, | intent(in), | DIMENSION(klon) | :: | knindex | ||
| real, | intent(in), | DIMENSION(klon) | :: | rriv_in | ||
| real, | intent(in), | DIMENSION(klon) | :: | rcoa_in |
|
Reset field to zero in the beginning of a new coupling period
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | itime | |||
| integer, | intent(in) | :: | knon | |||
| integer, | intent(in), | DIMENSION(klon) | :: | knindex | ||
| real, | intent(in), | DIMENSION(klon) | :: | rlic_in | ||
| real, | intent(in), | DIMENSION(klon) | :: | rlic_in_frac |
|
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real, | intent(in), | DIMENSION(klon) | :: | champ_in | ||
| real, | intent(out), | DIMENSION(nbp_lon,jj_nb) | :: | champ_out |
|
|
| integer, | intent(in) | :: | knon | |||
| integer, | intent(in), | DIMENSION(klon) | :: | knindex |
|