SUEWS API Site
Documentation of SUEWS source code
|
AnOHM: Analytical Objective Hysteresis Model. More...
Functions/Subroutines | |
subroutine | anohm (tstep, dt_since_start, qn1, qn_av_prev, dqndt_prev, qf, metforcingdata_grid, moist_surf, alb, emis, cpanohm, kkanohm, chanohm, sfr_surf, nsurf, emissionsmethod, id, gridiv, qn_av_next, dqndt_next, a1, a2, a3, qs, deltaqi) |
High level wrapper for AnOHM calculation. | |
subroutine | anohm_coef (sfc_typ, xid, xgrid, metforcingdata_grid, moist, emissionsmethod, qf, alb, emis, cpanohm, kkanohm, chanohm, xa1, xa2, xa3) |
High level wrapper for AnOHM coefficients calculation. | |
subroutine | anohm_xts (sfc_typ, asd, msd, ata, mta, tau, mws, mwf, mah, xalb, xemis, xcp, xk, xch, xbo, tsd, xthr, xts) |
calculate the surface temperature related parameters (ATs, mTs, gamma) based on forcings and sfc. | |
subroutine | anohm_coef_land_cal (asd, msd, ata, mta, tau, mws, mwf, mah, xalb, xemis, xcp, xk, xch, xbo, xa1, xa2, xa3, ats, mts, gamma) |
subroutine | anohm_coef_water_cal (asd, msd, ata, mta, tau, mws, mwf, mah, xalb, xemis, xcp, xk, xch, xbo, xeta, xmu, xa1, xa2, xa3, ats, mts, gamma) |
a wrapper for retrieving AnOHM coefficients of water body | |
subroutine | anohm_fc (xid, metforcingdata_grid, emissionsmethod, qf, asd, msd, tsd, ata, mta, tta, tau, mws, mwf, mah) |
subroutine | anohm_fcload (xid, metforcingdata_grid, emissionsmethod, qf, sd, ta, rh, pres, ws, wf, ah, thr) |
load forcing series for AnOHM_FcCal | |
subroutine | anohm_fccal (sd, ta, ws, wf, ah, thr, asd, msd, tsd, ata, mta, tta, tau, mws, mwf, mah) |
calculate the key parameters of a sinusoidal curve for AnOHM forcings i.e., a, b, c in a*Sin(Pi/12*t+b)+c | |
subroutine | anohm_shapefit (thr, obs, amp, mean, tpeak) |
calculate the key parameters of a sinusoidal curve for AnOHM forcings i.e., a, b, c in a*Sin(Pi/12*t+b)+c, where t is in hour | |
subroutine | fsin (m, n, x, xdat, ydat, fvec, iflag) |
sinusoidal function f(t) for fitting: f(t) = mean+amp*Sin(Pi/12(t-delta)) x = (/mean,amp,delta/) contains the fitting parameters | |
subroutine | anohm_bo_cal (sfc_typ, sd, ta, rh, pres, thr, asd, msd, ata, mta, tau, mws, mwf, mah, xalb, xemis, xcp, xk, xch, xsm, tsd, xbo) |
estimate daytime Bowen ratio for calculation of AnOHM coefficients | |
subroutine | fcnbo (n, x, fvec, iflag, m, prms) |
this fucntion will construct an equaiton for Bo calculation | |
real(kind(1d0)) function | esat_fn (ta) |
calculate saturation vapor pressure (es) at air temperature (Ta) (MRR, 1987) | |
real(kind(1d0)) function | qsat_fn (ta, pres) |
calculate saturation specific humidity (qsat) at air temperature (Ta) and atmospheric pressure (pres) (MRR, 1987) | |
real(kind(1d0)) function | qa_fn (ta, rh, pres) |
convert relative humidity (RH) to specific humidity (qa) at air temperature (Ta) and atmospheric pressure (pres) | |
AnOHM: Analytical Objective Hysteresis Model.
calculate heat storage. model details refer to https://doi.org/10.5194/gmd-2016-300
subroutine anohm_module::anohm | ( | integer, intent(in) | tstep, |
integer, intent(in) | dt_since_start, | ||
real(kind(1d0)), intent(in) | qn1, | ||
real(kind(1d0)), intent(in) | qn_av_prev, | ||
real(kind(1d0)), intent(in) | dqndt_prev, | ||
real(kind(1d0)), intent(in) | qf, | ||
real(kind(1d0)), dimension(:, :), intent(in) | metforcingdata_grid, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | moist_surf, | ||
real(kind(1d0)), dimension(:), intent(in) | alb, | ||
real(kind(1d0)), dimension(:), intent(in) | emis, | ||
real(kind(1d0)), dimension(:), intent(in) | cpanohm, | ||
real(kind(1d0)), dimension(:), intent(in) | kkanohm, | ||
real(kind(1d0)), dimension(:), intent(in) | chanohm, | ||
real(kind(1d0)), dimension(nsurf), intent(in) | sfr_surf, | ||
integer, intent(in) | nsurf, | ||
integer, intent(in) | emissionsmethod, | ||
integer, intent(in) | id, | ||
integer, intent(in) | gridiv, | ||
real(kind(1d0)), intent(out) | qn_av_next, | ||
real(kind(1d0)), intent(out) | dqndt_next, | ||
real(kind(1d0)), intent(out) | a1, | ||
real(kind(1d0)), intent(out) | a2, | ||
real(kind(1d0)), intent(out) | a3, | ||
real(kind(1d0)), intent(out) | qs, | ||
real(kind(1d0)), dimension(nsurf), intent(out) | deltaqi ) |
High level wrapper for AnOHM calculation.
calculate heat storage based within AnOHM framework.
[in] | metforcingdata_grid | met forcing array of grid |
[in] | qn1 | net all-wave radiation [W m-2] |
[in] | qf | anthropogenic heat flux [W m-2] |
[in] | sfr_surf | surface fraction (0-1) [-] |
[in] | moist_surf | non-dimensional surface wetness status (0-1) [-] |
[in] | alb | albedo [-] |
[in] | emis | emissivity [-] |
[in] | cpanohm | heat capacity [J m-3 K-1] |
[in] | kkanohm | thermal conductivity [W m-1 K-1] |
[in] | chanohm | bulk transfer coef [J m-3 K-1] |
[in] | id | day of year [-] |
[in] | gridiv | grid id [-] |
[in] | emissionsmethod | AnthropHeat option [-] |
[in] | nsurf | number of surfaces [-] |
[out] | a1 | AnOHM coefficients of grid [-] |
[out] | a2 | AnOHM coefficients of grid [h] |
[out] | a3 | AnOHM coefficients of grid [W m-2] |
[out] | qs | storage heat flux [W m-2] |
[out] | deltaqi | storage heat flux of snow surfaces |
Definition at line 28 of file suews_phys_anohm.f95.
References anohm_coef(), errorhint(), ohm_dqndt_cal_x(), and ohm_qs_cal().
subroutine anohm_module::anohm_bo_cal | ( | integer, intent(in) | sfc_typ, |
real(kind=8), dimension(:), intent(in) | sd, | ||
real(kind=8), dimension(:), intent(in) | ta, | ||
real(kind=8), dimension(:), intent(in) | rh, | ||
real(kind=8), dimension(:), intent(in) | pres, | ||
real(kind=8), dimension(:), intent(in) | thr, | ||
real(kind(1d0)), intent(in) | asd, | ||
real(kind(1d0)), intent(in) | msd, | ||
real(kind(1d0)), intent(in) | ata, | ||
real(kind(1d0)), intent(in) | mta, | ||
real(kind(1d0)), intent(in) | tau, | ||
real(kind(1d0)), intent(in) | mws, | ||
real(kind(1d0)), intent(in) | mwf, | ||
real(kind(1d0)), intent(in) | mah, | ||
real(kind(1d0)), intent(in) | xalb, | ||
real(kind(1d0)), intent(in) | xemis, | ||
real(kind(1d0)), intent(in) | xcp, | ||
real(kind(1d0)), intent(in) | xk, | ||
real(kind(1d0)), intent(in) | xch, | ||
real(kind(1d0)), intent(in) | xsm, | ||
real(kind(1d0)), intent(in) | tsd, | ||
real(kind=8), intent(out) | xbo ) |
estimate daytime Bowen ratio for calculation of AnOHM coefficients
[in] | sd | incoming solar radiation [W m-2] |
[in] | ta | air temperature [degC] |
[in] | rh | relative humidity [%] |
[in] | pres | Atmospheric pressure [mbar] |
[in] | thr | local time [hr] |
[in] | asd | daily amplitude of solar radiation [W m-2] |
[in] | msd | daily mean solar radiation [W m-2] |
[in] | tsd | local peaking time of solar radiation [hr] |
[in] | ata | daily amplitude of air temperature [degC] |
[in] | mta | daily mean air temperature [degC] |
[in] | tau | phase lag between Sd and Ta (Ta-Sd) [rad] |
[in] | mws | daily mean wind speed [m s-1] |
[in] | mwf | daily mean underground moisture flux [m3 s-1 m-2] |
[in] | mah | daily mean anthropogenic heat flux [W m-2] |
[in] | xalb | albedo [-] |
[in] | xemis | emissivity [-] |
[in] | xcp | heat capacity [J m-3 K-1] |
[in] | xk | thermal conductivity [W m-1 K-1] |
[in] | xch | bulk transfer coef [J m-3 K-1] |
[in] | xsm | surface moisture status [-] |
Definition at line 1035 of file suews_phys_anohm.f95.
References fcnbo(), and hybrd1().
Referenced by anohm_coef().
subroutine anohm_module::anohm_coef | ( | integer, intent(in) | sfc_typ, |
integer, intent(in) | xid, | ||
integer, intent(in) | xgrid, | ||
real(kind(1d0)), dimension(:, :), intent(in) | metforcingdata_grid, | ||
real(kind(1d0)), dimension(:), intent(in) | moist, | ||
integer, intent(in) | emissionsmethod, | ||
real(kind(1d0)), intent(in) | qf, | ||
real(kind(1d0)), dimension(:), intent(in) | alb, | ||
real(kind(1d0)), dimension(:), intent(in) | emis, | ||
real(kind(1d0)), dimension(:), intent(in) | cpanohm, | ||
real(kind(1d0)), dimension(:), intent(in) | kkanohm, | ||
real(kind(1d0)), dimension(:), intent(in) | chanohm, | ||
real(kind(1d0)), intent(out) | xa1, | ||
real(kind(1d0)), intent(out) | xa2, | ||
real(kind(1d0)), intent(out) | xa3 ) |
High level wrapper for AnOHM coefficients calculation.
calculate OHM coefficients within AnOHM framework.
[in] | sfc_typ | surface type [-] |
[in] | xid | day of year [-] |
[in] | xgrid | grid id [-] |
[in] | emissionsmethod | AnthropHeat option [-] |
[in] | qf | anthropogenic heat flux [W m-2] |
[in] | alb | albedo [-] |
[in] | emis | emissivity [-] |
[in] | cpanohm | heat capacity [J m-3 K-1] |
[in] | kkanohm | thermal conductivity [W m-1 K-1] |
[in] | chanohm | bulk transfer coef [J m-3 K-1] |
[in] | moist | surface wetness status [-] |
[in] | metforcingdata_grid | met forcing array of grid |
[out] | xa1 | AnOHM coefficients of grid [-] |
[out] | xa2 | AnOHM coefficients of grid [h] |
[out] | xa3 | AnOHM coefficients of grid [W m-2] |
Definition at line 147 of file suews_phys_anohm.f95.
References anohm_bo_cal(), anohm_coef_land_cal(), anohm_coef_water_cal(), anohm_fc(), and anohm_fcload().
Referenced by anohm().
subroutine anohm_module::anohm_coef_land_cal | ( | real(kind(1d0)), intent(in) | asd, |
real(kind(1d0)), intent(in) | msd, | ||
real(kind(1d0)), intent(in) | ata, | ||
real(kind(1d0)), intent(in) | mta, | ||
real(kind(1d0)), intent(in) | tau, | ||
real(kind(1d0)), intent(in) | mws, | ||
real(kind(1d0)), intent(in) | mwf, | ||
real(kind(1d0)), intent(in) | mah, | ||
real(kind(1d0)), intent(in) | xalb, | ||
real(kind(1d0)), intent(in) | xemis, | ||
real(kind(1d0)), intent(in) | xcp, | ||
real(kind(1d0)), intent(in) | xk, | ||
real(kind(1d0)), intent(in) | xch, | ||
real(kind(1d0)), intent(in) | xbo, | ||
real(kind(1d0)), intent(out) | xa1, | ||
real(kind(1d0)), intent(out) | xa2, | ||
real(kind(1d0)), intent(out) | xa3, | ||
real(kind(1d0)), intent(out) | ats, | ||
real(kind(1d0)), intent(out) | mts, | ||
real(kind(1d0)), intent(out) | gamma ) |
[in] | asd | daily amplitude of solar radiation [W m-2] |
[in] | msd | daily mean solar radiation [W m-2] |
[in] | ata | daily amplitude of air temperature [K] |
[in] | mta | daily mean air temperature [K] |
[in] | tau | phase lag between Sd and Ta (Ta-Sd) [rad] |
[in] | mws | daily mean wind speed [m s-1] |
[in] | mwf | daily mean underground moisture flux [m3 s-1 m-2] |
[in] | mah | daily mean anthropogenic heat flux [W m-2] |
[in] | xalb | albedo [-] |
[in] | xemis | emissivity [-] |
[in] | xcp | heat capacity [J m-3 K-1] |
[in] | xk | thermal conductivity [W m-1 K-1] |
[in] | xch | bulk transfer coef [J m-3 K-1] |
[in] | xbo | Bowen ratio [-] |
[out] | xa1 | AnOHM coefficients of grid [-] |
[out] | xa2 | AnOHM coefficients of grid [h] |
[out] | xa3 | AnOHM coefficients of grid [W m-2] |
[out] | ats | daily amplitude of surface temperature [K] |
[out] | mts | daily mean of surface temperature [K] |
[out] | gamma | phase difference between Ts and Sd [K] |
Definition at line 361 of file suews_phys_anohm.f95.
Referenced by anohm_coef(), and anohm_xts().
subroutine anohm_module::anohm_coef_water_cal | ( | real(kind(1d0)), intent(in) | asd, |
real(kind(1d0)), intent(in) | msd, | ||
real(kind(1d0)), intent(in) | ata, | ||
real(kind(1d0)), intent(in) | mta, | ||
real(kind(1d0)), intent(in) | tau, | ||
real(kind(1d0)), intent(in) | mws, | ||
real(kind(1d0)), intent(in) | mwf, | ||
real(kind(1d0)), intent(in) | mah, | ||
real(kind(1d0)), intent(in) | xalb, | ||
real(kind(1d0)), intent(in) | xemis, | ||
real(kind(1d0)), intent(in) | xcp, | ||
real(kind(1d0)), intent(in) | xk, | ||
real(kind(1d0)), intent(in) | xch, | ||
real(kind(1d0)), intent(in) | xbo, | ||
real(kind(1d0)), intent(in) | xeta, | ||
real(kind(1d0)), intent(in) | xmu, | ||
real(kind(1d0)), intent(out) | xa1, | ||
real(kind(1d0)), intent(out) | xa2, | ||
real(kind(1d0)), intent(out) | xa3, | ||
real(kind(1d0)), intent(out) | ats, | ||
real(kind(1d0)), intent(out) | mts, | ||
real(kind(1d0)), intent(out) | gamma ) |
a wrapper for retrieving AnOHM coefficients of water body
[in] | asd | daily amplitude of solar radiation [W m-2] |
[in] | msd | daily mean solar radiation [W m-2] |
[in] | ata | daily amplitude of air temperature [K] |
[in] | mta | daily mean air temperature [K] |
[in] | tau | phase lag between Sd and Ta (Ta-Sd) [rad] |
[in] | mws | daily mean wind speed [m s-1] |
[in] | mwf | daily mean underground moisture flux [m3 s-1 m-2] |
[in] | mah | daily mean anthropogenic heat flux [W m-2] |
[in] | xalb | albedo [-] |
[in] | xemis | emissivity [-] |
[in] | xcp | heat capacity [J m-3 K-1] |
[in] | xk | thermal conductivity [W m-1 K-1] |
[in] | xch | bulk transfer coef [J m-3 K-1] |
[in] | xbo | Bowen ratio [-] |
[in] | xeta | effective absorption fraction [-] |
[in] | xmu | effective absorption coefficient [m-1] |
[out] | xa1 | AnOHM coefficients of grid [-] |
[out] | xa2 | AnOHM coefficients of grid [h] |
[out] | xa3 | AnOHM coefficients of grid [W m-2] |
[out] | ats | daily amplitude of surface temperature [K] |
[out] | mts | daily mean of surface temperature [K] |
[out] | gamma | phase difference between Ts and Sd [K] |
Definition at line 518 of file suews_phys_anohm.f95.
Referenced by anohm_coef(), and anohm_xts().
subroutine anohm_module::anohm_fc | ( | integer, intent(in) | xid, |
real(kind(1d0)), dimension(:, :), intent(in) | metforcingdata_grid, | ||
integer, intent(in) | emissionsmethod, | ||
real(kind(1d0)), intent(in) | qf, | ||
real(kind(1d0)), intent(out) | asd, | ||
real(kind(1d0)), intent(out) | msd, | ||
real(kind(1d0)), intent(out) | tsd, | ||
real(kind(1d0)), intent(out) | ata, | ||
real(kind(1d0)), intent(out) | mta, | ||
real(kind(1d0)), intent(out) | tta, | ||
real(kind(1d0)), intent(out) | tau, | ||
real(kind(1d0)), intent(out) | mws, | ||
real(kind(1d0)), intent(out) | mwf, | ||
real(kind(1d0)), intent(out) | mah ) |
[in] | qf | anthropogenic heat flux [W m-2] |
[out] | asd | daily amplitude of solar radiation [W m-2] |
[out] | msd | daily mean solar radiation [W m-2] |
[out] | tsd | local peaking time of solar radiation [hr] |
[out] | ata | daily amplitude of air temperature [degC] |
[out] | mta | daily mean air temperature [degC] |
[out] | tta | local peaking time of air temperature [hour] |
[out] | tau | phase lag between Sd and Ta (Ta-Sd) [rad] |
[out] | mws | daily mean wind speed [m s-1] |
[out] | mwf | daily mean underground moisture flux [m3 s-1 m-2] |
[out] | mah | daily mean anthropogenic heat flux [W m-2] |
Definition at line 665 of file suews_phys_anohm.f95.
References anohm_fccal(), and anohm_fcload().
Referenced by anohm_coef().
subroutine anohm_module::anohm_fccal | ( | real(kind(1d0)), dimension(:), intent(in) | sd, |
real(kind(1d0)), dimension(:), intent(in) | ta, | ||
real(kind(1d0)), dimension(:), intent(in) | ws, | ||
real(kind(1d0)), dimension(:), intent(in) | wf, | ||
real(kind(1d0)), dimension(:), intent(in) | ah, | ||
real(kind(1d0)), dimension(:), intent(in) | thr, | ||
real(kind(1d0)), intent(out) | asd, | ||
real(kind(1d0)), intent(out) | msd, | ||
real(kind(1d0)), intent(out) | tsd, | ||
real(kind(1d0)), intent(out) | ata, | ||
real(kind(1d0)), intent(out) | mta, | ||
real(kind(1d0)), intent(out) | tta, | ||
real(kind(1d0)), intent(out) | tau, | ||
real(kind(1d0)), intent(out) | mws, | ||
real(kind(1d0)), intent(out) | mwf, | ||
real(kind(1d0)), intent(out) | mah ) |
calculate the key parameters of a sinusoidal curve for AnOHM forcings i.e., a, b, c in a*Sin(Pi/12*t+b)+c
[in] | sd | incoming shortwave radiation [W m-2] |
[in] | ta | air temperature [degC] |
[in] | ws | wind speed [m s-1] |
[in] | wf | water flux density [m3 s-1 m-2] |
[in] | ah | anthropogenic heat [W m-2] |
[in] | thr | time [hr] |
[out] | asd | daily amplitude of solar radiation [W m-2] |
[out] | msd | daily mean solar radiation [W m-2] |
[out] | tsd | local peaking time of solar radiation [hr] |
[out] | ata | daily amplitude of air temperature [degC] |
[out] | mta | daily mean air temperature [degC] |
[out] | tta | local peaking time of air temperature [hr] |
[out] | tau | phase lag between Sd and Ta (Ta-Sd) [rad] |
[out] | mws | daily mean wind speed [m s-1] |
[out] | mwf | daily mean underground moisture flux [m3 s-1 m-2] |
[out] | mah | daily mean anthropogenic heat flux [W m-2] |
Definition at line 806 of file suews_phys_anohm.f95.
References anohm_shapefit(), and r8vec_print().
Referenced by anohm_fc().
subroutine anohm_module::anohm_fcload | ( | integer, intent(in) | xid, |
real(kind(1d0)), dimension(:, :), intent(in) | metforcingdata_grid, | ||
integer, intent(in) | emissionsmethod, | ||
real(kind(1d0)), intent(in) | qf, | ||
real(kind(1d0)), dimension(:), intent(out), allocatable | sd, | ||
real(kind(1d0)), dimension(:), intent(out), allocatable | ta, | ||
real(kind(1d0)), dimension(:), intent(out), allocatable | rh, | ||
real(kind(1d0)), dimension(:), intent(out), allocatable | pres, | ||
real(kind(1d0)), dimension(:), intent(out), allocatable | ws, | ||
real(kind(1d0)), dimension(:), intent(out), allocatable | wf, | ||
real(kind(1d0)), dimension(:), intent(out), allocatable | ah, | ||
real(kind(1d0)), dimension(:), intent(out), allocatable | thr ) |
load forcing series for AnOHM_FcCal
[in] | xid | day of year |
[in] | emissionsmethod | AnthropHeat option |
[in] | metforcingdata_grid | met forcing array of grid |
[in] | qf | anthropogenic heat flux [W m-2] |
[out] | sd | incoming solar radiation [W m-2] |
[out] | ta | air temperature [degC] |
[out] | rh | relative humidity [%] |
[out] | pres | atmospheric pressure [mbar] |
[out] | ws | wind speed [m s-1] |
[out] | wf | water flux density [m3 s-1 m-2] |
[out] | ah | anthropogenic heat [W m-2] |
[out] | thr | local time [hr] |
Definition at line 715 of file suews_phys_anohm.f95.
Referenced by anohm_coef(), and anohm_fc().
subroutine anohm_module::anohm_shapefit | ( | real(kind(1d0)), dimension(:), intent(in) | thr, |
real(kind(1d0)), dimension(:), intent(in) | obs, | ||
real(kind(1d0)), intent(out) | amp, | ||
real(kind(1d0)), intent(out) | mean, | ||
real(kind(1d0)), intent(out) | tpeak ) |
calculate the key parameters of a sinusoidal curve for AnOHM forcings i.e., a, b, c in a*Sin(Pi/12*t+b)+c, where t is in hour
[in] | thr | time in hour |
[in] | obs | observation |
[out] | amp | amplitude |
[out] | mean | average |
[out] | tpeak | peaking time (h) |
Definition at line 938 of file suews_phys_anohm.f95.
References fsin(), and lmdif1().
Referenced by anohm_fccal().
subroutine anohm_module::anohm_xts | ( | integer, intent(in) | sfc_typ, |
real(kind(1d0)), intent(in) | asd, | ||
real(kind(1d0)), intent(in) | msd, | ||
real(kind(1d0)), intent(in) | ata, | ||
real(kind(1d0)), intent(in) | mta, | ||
real(kind(1d0)), intent(in) | tau, | ||
real(kind(1d0)), intent(in) | mws, | ||
real(kind(1d0)), intent(in) | mwf, | ||
real(kind(1d0)), intent(in) | mah, | ||
real(kind(1d0)), intent(in) | xalb, | ||
real(kind(1d0)), intent(in) | xemis, | ||
real(kind(1d0)), intent(in) | xcp, | ||
real(kind(1d0)), intent(in) | xk, | ||
real(kind(1d0)), intent(in) | xch, | ||
real(kind(1d0)), intent(in) | xbo, | ||
real(kind(1d0)), intent(in) | tsd, | ||
real(kind(1d0)), intent(in) | xthr, | ||
real(kind(1d0)), intent(out) | xts ) |
calculate the surface temperature related parameters (ATs, mTs, gamma) based on forcings and sfc.
conditions
[in] | sfc_typ | surface type (land: 1-6, water: 7) |
[in] | asd | daily amplitude of solar radiation [W m-2] |
[in] | msd | daily mean solar radiation [W m-2] |
[in] | ata | daily amplitude of air temperature [K] |
[in] | mta | daily mean air temperature [K] |
[in] | tau | phase lag between Sd and Ta (Ta-Sd) [rad] |
[in] | mws | daily mean wind speed [m s-1] |
[in] | mwf | daily mean underground moisture flux [m3 s-1 m-2] |
[in] | mah | daily mean anthropogenic heat flux [W m-2] |
[in] | xalb | albedo [-] |
[in] | xemis | emissivity [-] |
[in] | xcp | heat capacity [J m-3 K-1] |
[in] | xk | thermal conductivity [W m-1 K-1] |
[in] | xch | bulk transfer coef [J m-3 K-1] |
[in] | xbo | Bowen ratio [-] |
[in] | tsd | local peaking time of Sd, hour |
[in] | xthr | local time to calculate Ts, hour |
[out] | xts | surface temperature at xTHr(hr) |
Definition at line 288 of file suews_phys_anohm.f95.
References anohm_coef_land_cal(), and anohm_coef_water_cal().
Referenced by fcnbo().
real(kind(1d0)) function anohm_module::esat_fn | ( | real(kind(1d0)) | ta | ) |
calculate saturation vapor pressure (es) at air temperature (Ta) (MRR, 1987)
ta | air temperature [degC] |
Definition at line 1398 of file suews_phys_anohm.f95.
Referenced by qa_fn(), and qsat_fn().
subroutine anohm_module::fcnbo | ( | integer(kind=4) | n, |
real(kind=8), dimension(n) | x, | ||
real(kind=8), dimension(n) | fvec, | ||
integer(kind=4) | iflag, | ||
integer(kind=4) | m, | ||
real(kind=8), dimension(m) | prms ) |
this fucntion will construct an equaiton for Bo calculation
Definition at line 1168 of file suews_phys_anohm.f95.
References anohm_xts(), qa_fn(), qsat_fn(), and r8vec_print().
Referenced by anohm_bo_cal().
subroutine anohm_module::fsin | ( | integer(kind=4) | m, |
integer(kind=4) | n, | ||
real(kind=8), dimension(n) | x, | ||
real(kind=8), dimension(m) | xdat, | ||
real(kind=8), dimension(m) | ydat, | ||
real(kind=8), dimension(m) | fvec, | ||
integer(kind=4) | iflag ) |
sinusoidal function f(t) for fitting: f(t) = mean+amp*Sin(Pi/12(t-delta)) x = (/mean,amp,delta/) contains the fitting parameters
Definition at line 1003 of file suews_phys_anohm.f95.
Referenced by anohm_shapefit().
real(kind(1d0)) function anohm_module::qa_fn | ( | real(kind(1d0)) | ta, |
real(kind(1d0)) | rh, | ||
real(kind(1d0)) | pres ) |
convert relative humidity (RH) to specific humidity (qa) at air temperature (Ta) and atmospheric pressure (pres)
ta | air temperature [degC] |
rh | relative humidity [%] |
pres | atmospheric pressure [hPa] |
Definition at line 1431 of file suews_phys_anohm.f95.
References esat_fn().
Referenced by fcnbo().
real(kind(1d0)) function anohm_module::qsat_fn | ( | real(kind(1d0)) | ta, |
real(kind(1d0)) | pres ) |
calculate saturation specific humidity (qsat) at air temperature (Ta) and atmospheric pressure (pres) (MRR, 1987)
ta | air temperature [degC] |
pres | atmospheric pressure [hPa] |
Definition at line 1414 of file suews_phys_anohm.f95.
References esat_fn().
Referenced by fcnbo().