SUEWS API Site
Documentation of SUEWS source code
|
Functions/Subroutines | |
subroutine | suews_cal_dailystate (iy, id, it, imin, isec, tstep, tstep_prev, dt_since_start, DayofWeek_id, Tmin_id_prev, Tmax_id_prev, lenDay_id_prev, WaterUseMethod, Ie_start, Ie_end, LAICalcYes, LAIType, nsh_real, avkdn, Temp_C, Precip, BaseTHDD, lat, Faut, LAI_obs, AlbMax_DecTr, AlbMax_EveTr, AlbMax_Grass, AlbMin_DecTr, AlbMin_EveTr, AlbMin_Grass, CapMax_dec, CapMin_dec, PorMax_dec, PorMin_dec, Ie_a, Ie_m, DayWatPer, DayWat, BaseT, BaseTe, GDDFull, SDDFull, LAIMin, LAIMax, LAIPower, DecidCap_id_prev, StoreDrainPrm_prev, LAI_id_prev, GDD_id_prev, SDD_id_prev, albDecTr_id_prev, albEveTr_id_prev, albGrass_id_prev, porosity_id_prev, HDD_id_prev, HDD_id_next, Tmin_id_next, Tmax_id_next, lenDay_id_next, albDecTr_id_next, albEveTr_id_next, albGrass_id_next, porosity_id_next, DecidCap_id_next, StoreDrainPrm_next, LAI_id_next, GDD_id_next, SDD_id_next, deltaLAI, WUDay_id) |
subroutine | update_dailystate_end (id, it, imin, tstep, dt_since_start, Tmin_id, Tmax_id, lenDay_id, LAIType, Ie_end, Ie_start, LAICalcYes, WaterUseMethod, DayofWeek_id, AlbMax_DecTr, AlbMax_EveTr, AlbMax_Grass, AlbMin_DecTr, AlbMin_EveTr, AlbMin_Grass, BaseT, BaseTe, CapMax_dec, CapMin_dec, DayWat, DayWatPer, Faut, GDDFull, Ie_a, Ie_m, LAIMax, LAIMin, LAIPower, lat, PorMax_dec, PorMin_dec, SDDFull, LAI_obs, GDD_id, SDD_id, HDD_id, LAI_id, DecidCap_id, albDecTr_id, albEveTr_id, albGrass_id, porosity_id, StoreDrainPrm, WUDay_id, deltaLAI) |
subroutine | update_dailystate_day (avkdn, Temp_C, Precip, BaseTHDD, nsh_real, Tmin_id, Tmax_id, lenDay_id, HDD_id) |
subroutine | update_veg (LAImax, LAIMin, AlbMax_DecTr, AlbMax_EveTr, AlbMax_Grass, AlbMin_DecTr, AlbMin_EveTr, AlbMin_Grass, CapMax_dec, CapMin_dec, PorMax_dec, PorMin_dec, LAI_id, LAI_id_prev, DecidCap_id, albDecTr_id, albEveTr_id, albGrass_id, porosity_id, StoreDrainPrm, deltaLAI) |
subroutine | update_gddlai (id, LAICalcYes, lat, LAI_obs, BaseT, BaseTe, GDDFull, SDDFull, LAIMin, LAIMax, LAIPower, LAIType, LAI_id_prev, GDD_id, LAI_id_next) |
subroutine | update_gddlai_x (id, LAICalcYes, lat, LAI_obs, Tmin_id_prev, Tmax_id_prev, lenDay_id_prev, BaseT, BaseTe, GDDFull, SDDFull, LAIMin, LAIMax, LAIPower, LAIType, LAI_id_prev, GDD_id, SDD_id, LAI_id_next) |
subroutine | update_wateruse (id, WaterUseMethod, DayofWeek_id, lat, Faut, HDD_id, Ie_a, Ie_m, Ie_start, Ie_end, DayWatPer, DayWat, WUDay_id) |
subroutine | update_hdd (dt_since_start, it, imin, tstep, HDD_id) |
subroutine | update_dailystate_start (it, imin, HDD_id) |
subroutine | suews_update_dailystate (id, datetimeline, Gridiv, NumberOfGrids, DailyStateLine, dataOutDailyState) |
subroutine | update_dailystateline (it, imin, nsh_real, GDD_id, HDD_id, LAI_id, SDD_id, Tmin_id, Tmax_id, lenday_id, DecidCap_id, albDecTr_id, albEveTr_id, albGrass_id, porosity_id, WUDay_id, deltaLAI, VegPhenLumps, SnowAlb, SnowDens, a1, a2, a3, DailyStateLine) |
subroutine dailystate_module::suews_cal_dailystate | ( | integer, intent(in) | iy, |
integer, intent(in) | id, | ||
integer, intent(in) | it, | ||
integer, intent(in) | imin, | ||
integer, intent(in) | isec, | ||
integer, intent(in) | tstep, | ||
integer, intent(in) | tstep_prev, | ||
integer, intent(in) | dt_since_start, | ||
integer, dimension(3), intent(in) | DayofWeek_id, | ||
real(kind(1d0)), intent(in) | Tmin_id_prev, | ||
real(kind(1d0)), intent(in) | Tmax_id_prev, | ||
real(kind(1d0)), intent(in) | lenDay_id_prev, | ||
integer, intent(in) | WaterUseMethod, | ||
integer, intent(in) | Ie_start, | ||
integer, intent(in) | Ie_end, | ||
integer, intent(in) | LAICalcYes, | ||
integer, dimension(nvegsurf), intent(in) | LAIType, | ||
real(kind(1d0)), intent(in) | nsh_real, | ||
real(kind(1d0)), intent(in) | avkdn, | ||
real(kind(1d0)), intent(in) | Temp_C, | ||
real(kind(1d0)), intent(in) | Precip, | ||
real(kind(1d0)), intent(in) | BaseTHDD, | ||
real(kind(1d0)), intent(in) | lat, | ||
real(kind(1d0)), intent(in) | Faut, | ||
real(kind(1d0)), intent(in) | LAI_obs, | ||
real(kind(1d0)), intent(in) | AlbMax_DecTr, | ||
real(kind(1d0)), intent(in) | AlbMax_EveTr, | ||
real(kind(1d0)), intent(in) | AlbMax_Grass, | ||
real(kind(1d0)), intent(in) | AlbMin_DecTr, | ||
real(kind(1d0)), intent(in) | AlbMin_EveTr, | ||
real(kind(1d0)), intent(in) | AlbMin_Grass, | ||
real(kind(1d0)), intent(in) | CapMax_dec, | ||
real(kind(1d0)), intent(in) | CapMin_dec, | ||
real(kind(1d0)), intent(in) | PorMax_dec, | ||
real(kind(1d0)), intent(in) | PorMin_dec, | ||
real(kind(1d0)), dimension(3), intent(in) | Ie_a, | ||
real(kind(1d0)), dimension(3), intent(in) | Ie_m, | ||
real(kind(1d0)), dimension(7), intent(in) | DayWatPer, | ||
real(kind(1d0)), dimension(7), intent(in) | DayWat, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | BaseT, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | BaseTe, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | GDDFull, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | SDDFull, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | LAIMin, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | LAIMax, | ||
real(kind(1d0)), dimension(4, nvegsurf), intent(in) | LAIPower, | ||
real(kind(1d0)), intent(in) | DecidCap_id_prev, | ||
real(kind(1d0)), dimension(6, nsurf), intent(in) | StoreDrainPrm_prev, | ||
real(kind(1d0)), dimension(3), intent(in) | LAI_id_prev, | ||
real(kind(1d0)), dimension(3), intent(in) | GDD_id_prev, | ||
real(kind(1d0)), dimension(3), intent(in) | SDD_id_prev, | ||
real(kind(1d0)), intent(in) | albDecTr_id_prev, | ||
real(kind(1d0)), intent(in) | albEveTr_id_prev, | ||
real(kind(1d0)), intent(in) | albGrass_id_prev, | ||
real(kind(1d0)), intent(inout) | porosity_id_prev, | ||
real(kind(1d0)), dimension(12), intent(in) | HDD_id_prev, | ||
real(kind(1d0)), dimension(12), intent(out) | HDD_id_next, | ||
real(kind(1d0)), intent(out) | Tmin_id_next, | ||
real(kind(1d0)), intent(out) | Tmax_id_next, | ||
real(kind(1d0)), intent(out) | lenDay_id_next, | ||
real(kind(1d0)), intent(out) | albDecTr_id_next, | ||
real(kind(1d0)), intent(out) | albEveTr_id_next, | ||
real(kind(1d0)), intent(out) | albGrass_id_next, | ||
real(kind(1d0)), intent(inout) | porosity_id_next, | ||
real(kind(1d0)), intent(out) | DecidCap_id_next, | ||
real(kind(1d0)), dimension(6, nsurf), intent(out) | StoreDrainPrm_next, | ||
real(kind(1d0)), dimension(3), intent(out) | LAI_id_next, | ||
real(kind(1d0)), dimension(3), intent(out) | GDD_id_next, | ||
real(kind(1d0)), dimension(3), intent(out) | SDD_id_next, | ||
real(kind(1d0)), intent(out) | deltaLAI, | ||
real(kind(1d0)), dimension(9), intent(out) | WUDay_id | ||
) |
Definition at line 76 of file suews_phys_dailystate.f95.
References update_dailystate_day(), update_dailystate_end(), and update_dailystate_start().
subroutine dailystate_module::suews_update_dailystate | ( | integer, intent(in) | id, |
real(kind(1d0)), dimension(5), intent(in) | datetimeline, | ||
integer, intent(in) | Gridiv, | ||
integer, intent(in) | NumberOfGrids, | ||
real(kind(1d0)), dimension(ncolumnsdataoutdailystate - 5), intent(in) | DailyStateLine, | ||
real(kind(1d0)), dimension(ndays, ncolumnsdataoutdailystate, numberofgrids), intent(inout) | dataOutDailyState | ||
) |
Definition at line 1158 of file suews_phys_dailystate.f95.
References allocatearray::ncolumnsdataoutdailystate.
Referenced by suews_calculations().
subroutine dailystate_module::update_dailystate_day | ( | real(kind(1d0)), intent(in) | avkdn, |
real(kind(1d0)), intent(in) | Temp_C, | ||
real(kind(1d0)), intent(in) | Precip, | ||
real(kind(1d0)), intent(in) | BaseTHDD, | ||
real(kind(1d0)), intent(in) | nsh_real, | ||
real(kind(1d0)), intent(inout) | Tmin_id, | ||
real(kind(1d0)), intent(inout) | Tmax_id, | ||
real(kind(1d0)), intent(inout) | lenDay_id, | ||
real(kind(1d0)), dimension(12), intent(inout) | HDD_id | ||
) |
Definition at line 498 of file suews_phys_dailystate.f95.
Referenced by suews_cal_dailystate().
subroutine dailystate_module::update_dailystate_end | ( | integer, intent(in) | id, |
integer, intent(in) | it, | ||
integer, intent(in) | imin, | ||
integer, intent(in) | tstep, | ||
integer, intent(in) | dt_since_start, | ||
real(kind(1d0)), intent(in) | Tmin_id, | ||
real(kind(1d0)), intent(in) | Tmax_id, | ||
real(kind(1d0)), intent(in) | lenDay_id, | ||
integer, dimension(nvegsurf), intent(in) | LAIType, | ||
integer, intent(in) | Ie_end, | ||
integer, intent(in) | Ie_start, | ||
integer, intent(in) | LAICalcYes, | ||
integer, intent(in) | WaterUseMethod, | ||
integer, dimension(3), intent(in) | DayofWeek_id, | ||
real(kind(1d0)), intent(in) | AlbMax_DecTr, | ||
real(kind(1d0)), intent(in) | AlbMax_EveTr, | ||
real(kind(1d0)), intent(in) | AlbMax_Grass, | ||
real(kind(1d0)), intent(in) | AlbMin_DecTr, | ||
real(kind(1d0)), intent(in) | AlbMin_EveTr, | ||
real(kind(1d0)), intent(in) | AlbMin_Grass, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | BaseT, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | BaseTe, | ||
real(kind(1d0)), intent(in) | CapMax_dec, | ||
real(kind(1d0)), intent(in) | CapMin_dec, | ||
real(kind(1d0)), dimension(7), intent(in) | DayWat, | ||
real(kind(1d0)), dimension(7), intent(in) | DayWatPer, | ||
real(kind(1d0)), intent(in) | Faut, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | GDDFull, | ||
real(kind(1d0)), dimension(3), intent(in) | Ie_a, | ||
real(kind(1d0)), dimension(3), intent(in) | Ie_m, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | LAIMax, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | LAIMin, | ||
real(kind(1d0)), dimension(4, nvegsurf), intent(in) | LAIPower, | ||
real(kind(1d0)), intent(in) | lat, | ||
real(kind(1d0)), intent(in) | PorMax_dec, | ||
real(kind(1d0)), intent(in) | PorMin_dec, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | SDDFull, | ||
real(kind(1d0)), intent(in) | LAI_obs, | ||
real(kind(1d0)), dimension(3), intent(inout) | GDD_id, | ||
real(kind(1d0)), dimension(3), intent(inout) | SDD_id, | ||
real(kind(1d0)), dimension(12), intent(inout) | HDD_id, | ||
real(kind(1d0)), dimension(nvegsurf), intent(inout) | LAI_id, | ||
real(kind(1d0)), intent(inout) | DecidCap_id, | ||
real(kind(1d0)), intent(inout) | albDecTr_id, | ||
real(kind(1d0)), intent(inout) | albEveTr_id, | ||
real(kind(1d0)), intent(inout) | albGrass_id, | ||
real(kind(1d0)), intent(inout) | porosity_id, | ||
real(kind(1d0)), dimension(6, nsurf), intent(inout) | StoreDrainPrm, | ||
real(kind(1d0)), dimension(9), intent(out) | WUDay_id, | ||
real(kind(1d0)), intent(out) | deltaLAI | ||
) |
Definition at line 355 of file suews_phys_dailystate.f95.
References update_gddlai_x(), update_hdd(), update_veg(), and update_wateruse().
Referenced by suews_cal_dailystate().
subroutine dailystate_module::update_dailystate_start | ( | integer, intent(in) | it, |
integer, intent(in) | imin, | ||
real(kind(1d0)), dimension(6), intent(inout) | HDD_id | ||
) |
Definition at line 1133 of file suews_phys_dailystate.f95.
Referenced by suews_cal_dailystate().
subroutine dailystate_module::update_dailystateline | ( | integer, intent(in) | it, |
integer, intent(in) | imin, | ||
real(kind(1d0)), intent(in) | nsh_real, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | GDD_id, | ||
real(kind(1d0)), dimension(6), intent(in) | HDD_id, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | LAI_id, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | SDD_id, | ||
real(kind(1d0)), intent(in) | Tmin_id, | ||
real(kind(1d0)), intent(in) | Tmax_id, | ||
real(kind(1d0)), intent(in) | lenday_id, | ||
real(kind(1d0)), intent(in) | DecidCap_id, | ||
real(kind(1d0)), intent(in) | albDecTr_id, | ||
real(kind(1d0)), intent(in) | albEveTr_id, | ||
real(kind(1d0)), intent(in) | albGrass_id, | ||
real(kind(1d0)), intent(in) | porosity_id, | ||
real(kind(1d0)), dimension(9), intent(in) | WUDay_id, | ||
real(kind(1d0)), intent(in) | deltaLAI, | ||
real(kind(1d0)), intent(in) | VegPhenLumps, | ||
real(kind(1d0)), intent(in) | SnowAlb, | ||
real(kind(1d0)), dimension(7), intent(in) | SnowDens, | ||
real(kind(1d0)), intent(in) | a1, | ||
real(kind(1d0)), intent(in) | a2, | ||
real(kind(1d0)), intent(in) | a3, | ||
real(kind(1d0)), dimension(ncolumnsdataoutdailystate - 5), intent(out) | DailyStateLine | ||
) |
Definition at line 1196 of file suews_phys_dailystate.f95.
subroutine dailystate_module::update_gddlai | ( | integer, intent(in) | id, |
integer, intent(in) | LAICalcYes, | ||
real(kind(1d0)), intent(in) | lat, | ||
real(kind(1d0)), intent(in) | LAI_obs, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | BaseT, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | BaseTe, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | GDDFull, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | SDDFull, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | LAIMin, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | LAIMax, | ||
real(kind(1d0)), dimension(4, nvegsurf), intent(in) | LAIPower, | ||
integer, dimension(nvegsurf), intent(in) | LAIType, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | LAI_id_prev, | ||
real(kind(1d0)), dimension(5), intent(inout) | GDD_id, | ||
real(kind(1d0)), dimension(nvegsurf), intent(out) | LAI_id_next | ||
) |
Definition at line 666 of file suews_phys_dailystate.f95.
References allocatearray::nvegsurf.
subroutine dailystate_module::update_gddlai_x | ( | integer, intent(in) | id, |
integer, intent(in) | LAICalcYes, | ||
real(kind(1d0)), intent(in) | lat, | ||
real(kind(1d0)), intent(in) | LAI_obs, | ||
real(kind(1d0)), intent(in) | Tmin_id_prev, | ||
real(kind(1d0)), intent(in) | Tmax_id_prev, | ||
real(kind(1d0)), intent(in) | lenDay_id_prev, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | BaseT, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | BaseTe, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | GDDFull, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | SDDFull, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | LAIMin, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | LAIMax, | ||
real(kind(1d0)), dimension(4, nvegsurf), intent(in) | LAIPower, | ||
integer, dimension(nvegsurf), intent(in) | LAIType, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | LAI_id_prev, | ||
real(kind(1d0)), dimension(3), intent(inout) | GDD_id, | ||
real(kind(1d0)), dimension(3), intent(inout) | SDD_id, | ||
real(kind(1d0)), dimension(nvegsurf), intent(out) | LAI_id_next | ||
) |
Definition at line 830 of file suews_phys_dailystate.f95.
References allocatearray::nvegsurf.
Referenced by update_dailystate_end().
subroutine dailystate_module::update_hdd | ( | integer, intent(in) | dt_since_start, |
integer, intent(in) | it, | ||
integer, intent(in) | imin, | ||
integer, intent(in) | tstep, | ||
real(kind(1d0)), dimension(12), intent(inout) | HDD_id | ||
) |
Definition at line 1097 of file suews_phys_dailystate.f95.
Referenced by update_dailystate_end().
subroutine dailystate_module::update_veg | ( | real(kind(1d0)), dimension(nvegsurf), intent(in) | LAImax, |
real(kind(1d0)), dimension(nvegsurf), intent(in) | LAIMin, | ||
real(kind(1d0)), intent(in) | AlbMax_DecTr, | ||
real(kind(1d0)), intent(in) | AlbMax_EveTr, | ||
real(kind(1d0)), intent(in) | AlbMax_Grass, | ||
real(kind(1d0)), intent(in) | AlbMin_DecTr, | ||
real(kind(1d0)), intent(in) | AlbMin_EveTr, | ||
real(kind(1d0)), intent(in) | AlbMin_Grass, | ||
real(kind(1d0)), intent(in) | CapMax_dec, | ||
real(kind(1d0)), intent(in) | CapMin_dec, | ||
real(kind(1d0)), intent(in) | PorMax_dec, | ||
real(kind(1d0)), intent(in) | PorMin_dec, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | LAI_id, | ||
real(kind(1d0)), dimension(nvegsurf), intent(in) | LAI_id_prev, | ||
real(kind(1d0)), intent(inout) | DecidCap_id, | ||
real(kind(1d0)), intent(inout) | albDecTr_id, | ||
real(kind(1d0)), intent(inout) | albEveTr_id, | ||
real(kind(1d0)), intent(inout) | albGrass_id, | ||
real(kind(1d0)), intent(inout) | porosity_id, | ||
real(kind(1d0)), dimension(6, nsurf), intent(inout) | StoreDrainPrm, | ||
real(kind(1d0)), intent(out) | deltaLAI | ||
) |
Definition at line 565 of file suews_phys_dailystate.f95.
References allocatearray::decidsurf, allocatearray::ivconif, allocatearray::ivdecid, and allocatearray::ivgrass.
Referenced by update_dailystate_end().
subroutine dailystate_module::update_wateruse | ( | integer, intent(in) | id, |
integer, intent(in) | WaterUseMethod, | ||
integer, dimension(3), intent(in) | DayofWeek_id, | ||
real(kind(1d0)), intent(in) | lat, | ||
real(kind(1d0)), intent(in) | Faut, | ||
real(kind(1d0)), dimension(12), intent(in) | HDD_id, | ||
real(kind(1d0)), dimension(3), intent(in) | Ie_a, | ||
real(kind(1d0)), dimension(3), intent(in) | Ie_m, | ||
integer, intent(in) | Ie_start, | ||
integer, intent(in) | Ie_end, | ||
real(kind(1d0)), dimension(7), intent(in) | DayWatPer, | ||
real(kind(1d0)), dimension(7), intent(in) | DayWat, | ||
real(kind(1d0)), dimension(9), intent(out) | WUDay_id | ||
) |
Definition at line 994 of file suews_phys_dailystate.f95.
Referenced by initialstate(), and update_dailystate_end().