global_cycle  1.6.0
 All Data Structures Files Functions Variables
land_increments Module Reference

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...
 

Detailed Description

Definition at line 5 of file land_increments.f90.

Member Function/Subroutine Documentation

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.

Parameters
[in,out]RLALatitude on the cubed-sphere tile
[in,out]RLOLongitude on the cubed-sphere tile
[in,out]STC_STATE
[in]SOILSNOW_TILESnow mask for land on the cubed-sphere tile
[in]SOILSNOW_FG_TILEFirst guess snow mask for land on the cubed-sphere tile
[in]LENSFCNumber of points on a tile
[in]LSOILNumber of soil layers
[in]IDIM'I' dimension of a tile
[in]JDIM'J' dimension of a tile
[in]MYRANKMPI rank number
Author
Clara Draper.
Date
March 2021

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.

Parameters
[in]update_typeCode for variable being updated (options: 'stc' - soil temperature)
[in]lsmInteger code for the LSM
[in]isotInteger code for the soil type data set
[in]ivegsrcInteger code for the vegetation type data set
[in]lensfcLength of land state vector
[in]lsoilNumber of soil layers
[in]rsoiltypersoiltype Array of input soil types
[in]smc_bckBackground soil moisture states
[in]slc_bckBackground liquid soil moisture states
[in]stc_bckBackground soil temperature states
[in,out]smc_anlAnalysis soil moisture states
[in,out]slc_anlAnalysis liquid soil moisture states
[in,out]stc_anlAnalysis soil temperature states
Author
Clara Draper
Date
April 2021

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.

Parameters
[in]lensfcTotal numberof points for the cubed-sphere tile.
[in]smcModel soil moisture.
[in]sweModel snow water equivalent
[out]maskOutput mask: 1 - soil, 2 - snow-covered, 0 - land ice or not land.
Author
Clara Draper
Date
March 2021

Definition at line 305 of file land_increments.f90.

Referenced by sfcdrv().


The documentation for this module was generated from the following file: