cable_output_bindings_mod Module

Bindings between output catalogue names and CABLE model state.

Everything that describes a variable lives in output_catalogue.yaml. This module supplies only what Fortran must provide: the model variable each name points at, its unit conversion, its valid range and whether it exists in the current model configuration. All model state and configuration is passed in as arguments.



Functions

public function cable_output_bindings(met, canopy, soil, ssnow, rad, veg, bal, rough, bgc, ranges, gw_params, landpt_global, patch, mvtype, mstype, dels, use_groundwater_model, use_popluc, calculate_soil_albedo) result(bindings)

Arguments

Type IntentOptional Attributes Name
type(met_type), intent(inout) :: met
type(canopy_type), intent(inout) :: canopy
type(soil_parameter_type), intent(inout) :: soil
type(soil_snow_type), intent(inout) :: ssnow
type(radiation_type), intent(inout) :: rad
type(veg_parameter_type), intent(inout) :: veg
type(balances_type), intent(inout) :: bal
type(roughness_type), intent(inout) :: rough
type(bgc_pool_type), intent(inout) :: bgc
type(ranges_type), intent(in) :: ranges
type(gw_parameters_type), intent(inout) :: gw_params
type(land_type), intent(inout) :: landpt_global(:)
type(patch_type), intent(inout) :: patch(:)
integer, intent(inout) :: mvtype
integer, intent(inout) :: mstype
real, intent(in) :: dels
logical, intent(in) :: use_groundwater_model
logical, intent(in) :: use_popluc
logical, intent(in) :: calculate_soil_albedo

Return Value type(cable_output_binding_t), allocatable, (:)