Soil Water Balance (SWB2)
Loading...
Searching...
No Matches
direct_soil_moisture__gridded_data Module Reference

Module direct_soil_moisture__gridded_data provides support for adding miscellaneous source and sink terms. More...

Functions/Subroutines

subroutine, public direct_soil_moisture_initialize (is_cell_active, landuse_index)
 Initialize the routine to enable input/output of arbitrary sources/sink terms to be added directly to SOIL MOISTURE.
subroutine, public direct_soil_moisture_calculate (direct_soil_moisture, is_cell_active, indx)

Variables

type(data_catalog_entry_t), pointer pseptic_discharge
type(data_catalog_entry_t), pointer pannual_septic_discharge
real(c_float), dimension(:), allocatable fseptic_discharge
real(c_float), dimension(:), allocatable fannual_septic_discharge
real(c_float), dimension(:), allocatable fseptic_discharge_table
real(c_float), dimension(:), allocatable fannual_septic_discharge_table
type(t_netcdf4_file), pointer pncfile
type(datetime_tdate_of_last_retrieval

Detailed Description

Module direct_soil_moisture__gridded_data provides support for adding miscellaneous source and sink terms.

Function/Subroutine Documentation

◆ direct_soil_moisture_calculate()

subroutine, public direct_soil_moisture__gridded_data::direct_soil_moisture_calculate ( real (c_float), intent(inout) direct_soil_moisture,
logical (c_bool), dimension(:,:), intent(in) is_cell_active,
integer (c_int), intent(in) indx )

Definition at line 162 of file direct_soil_moisture__gridded_data.F90.

◆ direct_soil_moisture_initialize()

subroutine, public direct_soil_moisture__gridded_data::direct_soil_moisture_initialize ( logical (c_bool), dimension(:,:), intent(in) is_cell_active,
integer (c_int), dimension(:), intent(in) landuse_index )

Initialize the routine to enable input/output of arbitrary sources/sink terms to be added directly to SOIL MOISTURE.

Open gridded data file. Open a NetCDF output file to hold variable output.

Parameters
[in]lActive2D array of active cells within the model domain.
[in]iLanduseIndex1D vector of indices corresponding to rows of the landuse lookup table(s).
[in]dX1D vector of X coordinates associated with the model domain.
[in]dY1D vector of Y coordinates.
[in]dX_lon2D array of longitude values.
[in]dY_lat2D array of latitude values.

Determine how many landuse codes are present

Definition at line 59 of file direct_soil_moisture__gridded_data.F90.

Here is the call graph for this function:

Variable Documentation

◆ date_of_last_retrieval

type ( datetime_t ) direct_soil_moisture__gridded_data::date_of_last_retrieval
private

Definition at line 41 of file direct_soil_moisture__gridded_data.F90.

◆ fannual_septic_discharge

real (c_float), dimension(:), allocatable direct_soil_moisture__gridded_data::fannual_septic_discharge
private

Definition at line 34 of file direct_soil_moisture__gridded_data.F90.

◆ fannual_septic_discharge_table

real (c_float), dimension(:), allocatable direct_soil_moisture__gridded_data::fannual_septic_discharge_table
private

Definition at line 37 of file direct_soil_moisture__gridded_data.F90.

◆ fseptic_discharge

real (c_float), dimension(:), allocatable direct_soil_moisture__gridded_data::fseptic_discharge
private

Definition at line 33 of file direct_soil_moisture__gridded_data.F90.

◆ fseptic_discharge_table

real (c_float), dimension(:), allocatable direct_soil_moisture__gridded_data::fseptic_discharge_table
private

Definition at line 36 of file direct_soil_moisture__gridded_data.F90.

◆ pannual_septic_discharge

type (data_catalog_entry_t), pointer direct_soil_moisture__gridded_data::pannual_septic_discharge
private

Definition at line 31 of file direct_soil_moisture__gridded_data.F90.

◆ pncfile

type (t_netcdf4_file), pointer direct_soil_moisture__gridded_data::pncfile
private

Definition at line 39 of file direct_soil_moisture__gridded_data.F90.

◆ pseptic_discharge

type (data_catalog_entry_t), pointer direct_soil_moisture__gridded_data::pseptic_discharge
private

Definition at line 30 of file direct_soil_moisture__gridded_data.F90.