global_cycle
1.6.0
|
Public Member Functions | |
subroutine, public | add_increment_soil (rla, rlo, stc_state, soilsnow_tile, soilsnow_fg_tile, lensfc, lsoil, idim, jdim, myrank) |
Read in gsi file with soil state increments (on the gaussian grid), interpolate increments to the cubed-sphere tile, and add to the soil states. More... | |
subroutine, public | apply_land_da_adjustments (update_type, lsm, isot, ivegsrc, lensfc, lsoil, rsoiltype, smc_bck, slc_bck, stc_bck, smc_anl, slc_anl, stc_anl) |
Make adjustments to dependent variables after applying land increments. More... | |
subroutine, public | calculate_soilsnowmask (smc, swe, lensfc, mask) |
Calculate soil mask for land on model grid. More... | |
Definition at line 5 of file land_increments.f90.
subroutine, public land_increments::add_increment_soil | ( | real, dimension(lensfc), intent(inout) | rla, |
real, dimension(lensfc), intent(inout) | rlo, | ||
real, dimension(lensfc, lsoil), intent(inout) | stc_state, | ||
integer, dimension(lensfc), intent(in) | soilsnow_tile, | ||
integer, dimension(lensfc), intent(in) | soilsnow_fg_tile, | ||
integer, intent(in) | lensfc, | ||
integer, intent(in) | lsoil, | ||
integer, intent(in) | idim, | ||
integer, intent(in) | jdim, | ||
integer, intent(in) | myrank | ||
) |
Read in gsi file with soil state increments (on the gaussian grid), interpolate increments to the cubed-sphere tile, and add to the soil states.
Adapted from adjust_nsst. Currently only coded for soil temperature. Soil moisture will need the model soil moisture paramaters for regridding.
[in,out] | RLA | Latitude on the cubed-sphere tile |
[in,out] | RLO | Longitude on the cubed-sphere tile |
[in,out] | STC_STATE | |
[in] | SOILSNOW_TILE | Snow mask for land on the cubed-sphere tile |
[in] | SOILSNOW_FG_TILE | First guess snow mask for land on the cubed-sphere tile |
[in] | LENSFC | Number of points on a tile |
[in] | LSOIL | Number of soil layers |
[in] | IDIM | 'I' dimension of a tile |
[in] | JDIM | 'J' dimension of a tile |
[in] | MYRANK | MPI rank number |
Definition at line 34 of file land_increments.f90.
References utils::remap_coef().
Referenced by sfcdrv().
subroutine, public land_increments::apply_land_da_adjustments | ( | character(len=3), intent(in) | update_type, |
integer, intent(in) | lsm, | ||
integer, intent(in) | isot, | ||
integer, intent(in) | ivegsrc, | ||
integer, intent(in) | lensfc, | ||
integer, intent(in) | lsoil, | ||
real, dimension(lensfc), intent(in) | rsoiltype, | ||
real, dimension(lensfc,lsoil), intent(in) | smc_bck, | ||
real, dimension(lensfc,lsoil), intent(in) | slc_bck, | ||
real, dimension(lensfc, lsoil), intent(in) | stc_bck, | ||
real, dimension(lensfc,lsoil), intent(inout) | smc_anl, | ||
real, dimension(lensfc,lsoil), intent(inout) | slc_anl, | ||
real, dimension(lensfc, lsoil), intent(inout) | stc_anl | ||
) |
Make adjustments to dependent variables after applying land increments.
These adjustments are model-dependent, and are currently only coded for Noah LSM. For Noah LSM, copy relevent code blocks from model code (same as has been done in sfc_sub). For Noah-MP, will call into the model code to use same routines / code as in the model.
[in] | update_type | Code for variable being updated (options: 'stc' - soil temperature) |
[in] | lsm | Integer code for the LSM |
[in] | isot | Integer code for the soil type data set |
[in] | ivegsrc | Integer code for the vegetation type data set |
[in] | lensfc | Length of land state vector |
[in] | lsoil | Number of soil layers |
[in] | rsoiltype | rsoiltype Array of input soil types |
[in] | smc_bck | Background soil moisture states |
[in] | slc_bck | Background liquid soil moisture states |
[in] | stc_bck | Background soil temperature states |
[in,out] | smc_anl | Analysis soil moisture states |
[in,out] | slc_anl | Analysis liquid soil moisture states |
[in,out] | stc_anl | Analysis soil temperature states |
Definition at line 352 of file land_increments.f90.
References tfreez().
Referenced by sfcdrv().
subroutine, public land_increments::calculate_soilsnowmask | ( | real, dimension(lensfc), intent(in) | smc, |
real, dimension(lensfc), intent(in) | swe, | ||
integer, intent(in) | lensfc, | ||
integer, dimension(lensfc), intent(out) | mask | ||
) |
Calculate soil mask for land on model grid.
Output is 1 - soil, 2 - snow-covered, 0 - land ice or not land.
[in] | lensfc | Total numberof points for the cubed-sphere tile. |
[in] | smc | Model soil moisture. |
[in] | swe | Model snow water equivalent |
[out] | mask | Output mask: 1 - soil, 2 - snow-covered, 0 - land ice or not land. |
Definition at line 305 of file land_increments.f90.
Referenced by sfcdrv().