Data Types | |
type | glaciertimeseries |
Functions/Subroutines | |
subroutine, public | soilmodel_3 (i, j, isoil, iluse, subid, pdayno, classarea, prec, cprec, temp, daylength, mintemp, maxtemp, rh, swrad, radext, netrad, actvap, satvap, wind, rrcscorr, frozenstate, soilstate, miscstate, csrunoff, crunoffd, cropuptakein, nitrif, denitrif, epot, gwat, frostdepth, smdef, evap, cevap, crunoff1, crunoff2, crunoff3, glac_part, nonglac_part, snowfall, rainfall, cropsources, ruralaload, rgrwload, atmdepload, infiltrationflows, glacierflows, evapflows, runofflows, verticalflows, cverticalflows, horizontalflows, horizontalflows2, evapsnow, lruralflow, snowtemp, snowsurftemp, stressthreshold) |
subroutine, public | get_glacier_parameters (nc, arr) |
subroutine, public | initiate_glacier (nc, arr) |
subroutine, public | initiate_glacier_state (nc, arr, frozenstate) |
real function | calculate_glacier_area (i, classarea, vol) |
subroutine, public | calculate_glacier_massbalance (i, recMP, comMB, comMA) |
Variables | |
real, dimension(2) | glac_areavol_par2 |
real, dimension(:), allocatable | glac_areavol_par1 |
type(glaciertimeseries), dimension(:), allocatable | glaciertimeseriesdata |
integer, parameter | glaciertimeseriessteps = 731 |
HYPE glacier soil model (glacier_model = 3)
|
private |
Calculate glacier area based on glacier area-volume relationship or class' area depending on glacier type.
Reference ModelDescription Chapter Land routines (Glaciers)
[in] | i | index of current subbasin |
[in] | classarea | glacier class' area (m2) |
[in] | vol | glacier volume of current subbasin (m3) |
subroutine, public glacier_soilmodel::calculate_glacier_massbalance | ( | integer, intent(in) | i, |
real, intent(in) | recMP, | ||
real, intent(out) | comMB, | ||
real, intent(out) | comMA | ||
) |
Glacier mass for a requested obseration period.
"observation operator" for comparison with WGMS mass balance data
[in] | i | current subbasin |
[in] | recmp | mass balance period |
[out] | commb | computed glacier mass balance |
[out] | comma | computed mass balance area |
subroutine, public glacier_soilmodel::get_glacier_parameters | ( | integer, intent(in) | nc, |
integer, dimension(nc,2), intent(in) | arr | ||
) |
Initialize glacier parameters.
Reference ModelDescription Chapter Land routines (Glaciers)
[in] | nc | number of classes (nclass) |
[in] | arr | classmodels |
subroutine, public glacier_soilmodel::initiate_glacier | ( | integer, intent(in) | nc, |
integer, dimension(nc,2), intent(in) | arr | ||
) |
Initialize glacier parameters and variables.
Reference ModelDescription Chapter Land routines (Glaciers)
[in] | nc | number of classes (nclass) |
[in] | arr | classmodels |
subroutine, public glacier_soilmodel::initiate_glacier_state | ( | integer, intent(in) | nc, |
integer, dimension(nc,2), intent(in) | arr, | ||
type(snowicestatetype), intent(inout) | frozenstate | ||
) |
Initialize glacier volume.
Reference ModelDescription Chapter Land routines (Glaciers)
[in] | nc | number of classes (nclass) |
[in] | arr | classmodels |
[in,out] | frozenstate | Snow and ice states |
subroutine, public glacier_soilmodel::soilmodel_3 | ( | integer, intent(in) | i, |
integer, intent(in) | j, | ||
integer, intent(in) | isoil, | ||
integer, intent(in) | iluse, | ||
integer, intent(in) | subid, | ||
integer, intent(in) | pdayno, | ||
real, intent(in) | classarea, | ||
real, intent(in) | prec, | ||
real, dimension(numsubstances), intent(in) | cprec, | ||
real, intent(in) | temp, | ||
real, intent(in) | daylength, | ||
real, intent(in) | mintemp, | ||
real, intent(in) | maxtemp, | ||
real, intent(in) | rh, | ||
real, intent(in) | swrad, | ||
real, intent(in) | radext, | ||
real, intent(in) | netrad, | ||
real, intent(in) | actvap, | ||
real, intent(in) | satvap, | ||
real, intent(in) | wind, | ||
real, intent(in) | rrcscorr, | ||
type(snowicestatetype), intent(inout) | frozenstate, | ||
type(soilstatetype), intent(inout) | soilstate, | ||
type(miscstatetype), intent(inout) | miscstate, | ||
real, dimension(numsubstances), intent(out) | csrunoff, | ||
real, dimension (numsubstances), intent(out) | crunoffd, | ||
real, intent(out) | cropuptakein, | ||
real, intent(out) | nitrif, | ||
real, dimension(maxsoillayers), intent(out) | denitrif, | ||
real, intent(out) | epot, | ||
real, intent(out) | gwat, | ||
real, intent(out) | frostdepth, | ||
real, intent(out) | smdef, | ||
real, intent(out) | evap, | ||
real, dimension(numsubstances), intent(out) | cevap, | ||
real, dimension(numsubstances), intent(out) | crunoff1, | ||
real, dimension(numsubstances), intent(out) | crunoff2, | ||
real, dimension(numsubstances), intent(out) | crunoff3, | ||
real, intent(out) | glac_part, | ||
real, intent(out) | nonglac_part, | ||
real, intent(out) | snowfall, | ||
real, intent(out) | rainfall, | ||
real, dimension(numsubstances,2), intent(inout) | cropsources, | ||
real, dimension(numsubstances), intent(out) | ruralaload, | ||
real, dimension(numsubstances), intent(inout) | rgrwload, | ||
real, dimension(numsubstances), intent(inout) | atmdepload, | ||
real, dimension(7), intent(out) | infiltrationflows, | ||
real, dimension(2), intent(out) | glacierflows, | ||
real, dimension(4), intent(out) | evapflows, | ||
real, dimension(7), intent(out) | runofflows, | ||
real, dimension(6), intent(out) | verticalflows, | ||
real, dimension(numsubstances,2), intent(out) | cverticalflows, | ||
real, dimension(3), intent(out) | horizontalflows, | ||
real, dimension(maxsoillayers,nsub), intent(inout) | horizontalflows2, | ||
real, intent(out) | evapsnow, | ||
real, dimension(numsubstances,maxsoillayers), intent(out) | lruralflow, | ||
real, intent(out) | snowtemp, | ||
real, intent(out) | snowsurftemp, | ||
real, intent(out) | stressthreshold | ||
) |
Soilmodel for glacier land class Calculate glacier, snow and soil processes for a glacier land class.
Reference ModelDescription Chapter Land routines (Glaciers)
[in] | i | index for current subbasin |
[in] | j | index for current class |
[in] | isoil | index of soil type |
[in] | iluse | index of landuse |
[in] | subid | subbasin id |
[in] | pdayno | pseudo dayno for use in soil model subroutines |
[in] | classarea | class area (km2) |
[in] | prec | precipitation (mm/timestep) |
[in] | cprec | concentration of precipitation |
[in] | temp | temperature |
[in] | daylength | day length (hours) |
[in] | mintemp | current daily min temperature (C) |
[in] | maxtemp | current daily max temperature (C) |
[in] | rh | relative humuidity (-) |
[in] | swrad | downward shortwave radiation [MJ/m2/ts] |
[in] | radext | extraterrestrial solar radiation [MJ/m2/day] |
[in] | netrad | net downward radiation [MJ/m2/ts] |
[in] | actvap | actual vapor pressure [kPa] |
[in] | satvap | saturated vapour pressure [kPa] |
[in] | wind | wind speed [m/s] |
[in] | rrcscorr | correction of recession coefficients |
[in,out] | frozenstate | Snow and ice states |
[in,out] | soilstate | Soil states |
[in,out] | miscstate | Misc states |
[out] | csrunoff | concentration surface flow |
[out] | crunoffd | concentration tile runoff |
[out] | cropuptakein | crop uptake of IN |
[out] | nitrif | nitrification |
[out] | denitrif | denitrification |
[out] | epot | potential evaporation (mm/timestep) |
[out] | gwat | groundwater table (m) |
[out] | frostdepth | soil frost depth |
[out] | smdef | soil moisture deficit (mm) |
[out] | evap | evapotranspiration |
[out] | cevap | concentration of evapotranspiration |
[out] | crunoff1 | concentration of runoff from soil layer 1 (mg/L) |
[out] | crunoff2 | concentration of runoff from soil layer 2 (mg/L) |
[out] | crunoff3 | concentration of runoff from soil layer 3 (mg/L) |
[out] | glac_part | fraction of glacier (-) |
[out] | nonglac_part | old fraction of class is snow field (-) |
[out] | snowfall | Precipitation as rain (mm) |
[out] | rainfall | Precipitation as snow (mm) |
[in,out] | cropsources | Load from fertiliser and residues (kg/timestep) |
[out] | ruralaload | Load from rural households (kg/timestep) |
[in,out] | rgrwload | Load from regional groundwater flow to soil (kg/timestep) |
[in,out] | atmdepload | Load of atmospheric dry deposition (kg/timestep) |
[out] | infiltrationflows | several infiltration flows [mm] |
[out] | glacierflows | flow between snow plain snow and glacier when glacier grow, precipitation on glacier [m3] |
[out] | evapflows | evaporation from soillayers, snow and glacier [mm] |
[out] | runofflows | different runoff flows:1-3=soil runoff sl 1-3,4-6=tile runoff sl 1-3,7=saturated surface runoff |
[out] | verticalflows | vertical flows:1-2=percolation,3-4=upwelling due to rural,5-6=upwelling due to reg. grw flows |
[out] | cverticalflows | concentration of vertical flows:1-2=percolation |
[out] | horizontalflows | horizontal flows:1-3=recieved rural load flow |
[in,out] | horizontalflows2 | horizontal flows:1-3=division of regional groundwater flows to grwdown |
[out] | evapsnow | evaporation from snow covered land (from snow and glacier) |
[out] | lruralflow | load of rural flow |
[out] | snowtemp | snowpack temperature |
[out] | snowsurftemp | snow surface temperature |
[out] | stressthreshold | stress threshold for irrigation |
|
private |
variable holding parameters for glacier area-volume relationship
|
private |
variable holding parameters for glacier area-volume relationship
|
private |
|
private |
two years (one leap year) maximum mass balance period