Documentation ¶
Index ¶
- Variables
- func EvalPNG(m Lumper) string
- func LoadMET(fp string, print bool)
- func SumHydrograph(o, s, g []float64)
- func SumMonthly(dt []time.Time, o, s []float64, ts, ca float64)
- type Atkinson
- type CCFGR4J
- type CCFHBV
- type DawdyODonnell
- type GR4J
- type HBV
- type Lumper
- type MakkinkCCFGR4J
- type ManabeGW
- type MultiLayerCapacitance
- type Quinn
- type SIXPAR
- type SPLR
Constants ¶
This section is empty.
Variables ¶
var DOY []int
DOY hold day of year
var DT []time.Time
DT holds dates
var FRC [][]float64
FRC holds forcing data
var HDR *met.Header
HDR holds header info
var Loc []float64
Loc contains location info (coordinates, catchment properties, etc.)
var Ndt int
Ndt number of timesteps
var Timestep float64
Timestep timestep in seconds
Functions ¶
func SumHydrograph ¶
func SumHydrograph(o, s, g []float64)
Types ¶
type Atkinson ¶
type Atkinson struct {
// contains filtered or unexported fields
}
Atkinson simple storage model, meant for hourly timesteps based on formulation given in: Atkinson, S.E., M. Sivapalan, N.R. Viney, R.A. Woods, 2003. Predicting space-time variability of hourly streamflow and the role of climate seasonality: Mahurangi Catchment, New Zealand. Hydrological Processes 17. pp. 2171-2193. original ref: Atkinson S.E., R.A. Woods, M. Sivapalan, 2002. Climate and landscape controls on water balance model complexity over changing timescales. Water Resource Research 38(12): 1314. additional ref: Wittenberg H., M. Sivapalan, 1999. Watershed groundwater balance equation using streamflow recession analysis and baseflow separation. Journal of Hydrology 219, pp.20-33. sto: current storage; sint current interception storage; cov: fractional forest cover; kb = 1/Tcbf
type CCFGR4J ¶
CCFGR4J model Perrin C., C. Michel, V. Andreassian, 2003. Improvement of a parsimonious model for streamflow simulation. Journal of Hydrology 279. pp. 275-289.
type CCFHBV ¶
CCFHBV model Bergström, S., 1976. Development and application of a conceptual runoff model for Scandinavian catchments. SMHI RHO 7. Norrköping. 134 pp. Bergström, S., 1992. The HBV model - its structure and applications. SMHI RH No 4. Norrköping. 35 pp
type DawdyODonnell ¶
type DawdyODonnell struct {
// contains filtered or unexported fields
}
DawdyODonnell model ref: Dawdy, D.R., and T. O'Donnell, 1965. Mathematical Models of Catchment Behavior. Journal of Hydraulics Division, ASCE, Vol. 91, No. HY4, pp. 123-137. see: pg.34 in Dooge and O'Kane (2003)
func (*DawdyODonnell) New ¶
func (m *DawdyODonnell) New(p ...float64)
New DawdyODonnell constructor [ksat, depintCap, upszCap, gwCap, olfk, bfk]
func (*DawdyODonnell) Storage ¶
func (m *DawdyODonnell) Storage() float64
Storage returns total storage
type GR4J ¶
type GR4J struct {
// contains filtered or unexported fields
}
GR4J model Perrin C., C. Michel, V. Andreassian, 2003. Improvement of a parsimonious model for streamflow simulation. Journal of Hydrology 279. pp. 275-289.
type HBV ¶
type HBV struct {
// contains filtered or unexported fields
}
HBV model Bergström, S., 1976. Development and application of a conceptual runoff model for Scandinavian catchments. SMHI RHO 7. Norrköping. 134 pp. Bergström, S., 1992. The HBV model - its structure and applications. SMHI RH No 4. Norrköping. 35 pp
type Lumper ¶
type Lumper interface { New(p ...float64) Update(p, ep float64) (float64, float64, float64) Storage() float64 }
Lumper : interface to lumped rainfall-runoff models
type MakkinkCCFGR4J ¶
MakkinkCCFGR4J model Perrin C., C. Michel, V. Andreassian, 2003. Improvement of a parsimonious model for streamflow simulation. Journal of Hydrology 279. pp. 275-289. with CCF snowmelt model and Makkink PET
func (*MakkinkCCFGR4J) New ¶
func (m *MakkinkCCFGR4J) New(p ...float64)
New CCFGR4J contructor [stocap, gwstocap, x4, unitHydrographPartition, x2] [tindex, ddfc, baseT, tsf] [b, c, alpha, beta]
type ManabeGW ¶
type ManabeGW struct {
// contains filtered or unexported fields
}
ManabeGW manabe reserveroir with an added exponential decay reservoir
type MultiLayerCapacitance ¶
type MultiLayerCapacitance struct {
// contains filtered or unexported fields
}
MultiLayerCapacitance model ref: Struthers, I., C. Hinz, M. Sivapalan, G. Deutschmann, F. Beese, R. Meissner, 2003. Modelling the water balance of a free-draining lysimeter using the downward approach. Hydrological Processes (17). pp. 2151-2169. modification here: _runoff = lateral flow (runoff & subsurface)
func (*MultiLayerCapacitance) New ¶
func (m *MultiLayerCapacitance) New(p ...float64)
New MultiLayerCapacitance constructor [coverDens, szDepth, porosity, fc, a, b, l1, l2, l3]
func (*MultiLayerCapacitance) Storage ¶
func (m *MultiLayerCapacitance) Storage() float64
Storage returns total storage
type Quinn ¶
type Quinn struct { Zwt float64 // contains filtered or unexported fields }
Quinn simple storage model ref: Quinn P.F., K.J. Beven, 1993. Spatial and temporal predictions of soil moisture dynamics, runoff, variable source areas and evapotranspiration for Plynlimon, mid-Wales. Hydrological Processes 7. pp.425-448. used in early formulations of TOPMODEL, neglecting capillary fringe
type SIXPAR ¶
type SIXPAR struct {
// contains filtered or unexported fields
}
SIXPAR model ref: Gupta V.K., S. Sorooshian, 1983. Uniqueness and Observability of Conceptual Rainfall-Runoff Model Parameters: The Percolation Process Examined. Water Resources Research 19(1). pp.269-276. also see: Duan, Q., S. Sorooshian, V. Gupta, 1992. Effective and Efficient Global Optimization for Conceptual Rainfall-Runoff Models. Water Resources Research 28(4). pp.1015-1031.