
Package index
-
wet_catalog() - Published discharge: the parts a manifest lists
-
wet_db_load() - Load one scenario of published discharge into Postgres
-
wet_segment_monthly() - Monthly and annual flow on FWA segments
Station flow
Daily and monthly flow at hydrometric stations, and the gauges the water balance is fitted at.
-
wet_station_daily() - Daily flow at hydrometric stations, from HYDAT through to the present
-
wet_station_monthly() - Observed monthly and annual flow climatology at HYDAT stations
-
wet_station_doy() - Observed day-of-year flow climatology at HYDAT stations
-
wet_station_select() - Natural-flow HYDAT stations with a usable record in a period
-
wet_station_snap() - Snap HYDAT stations to FWA fundamental watersheds, checked by drainage area
-
wet_temp_daily() - Daily water temperature at hydrometric stations
-
wet_temp_fill() - Daily water temperature with gaps filled from air temperature
-
wet_temp_gsdd() - Growing season degree days per station-year
Date windows
Define month-day windows, and take mean flow or per-year statistics of flow or temperature over them.
-
wet_flow_window() - Mean flow over date windows, from monthly or daily means
-
wet_window_stats() - Statistics of a daily series over date windows, one value per year
-
wet_windows_calendar() - Calendar months and seasons as date windows
-
wet_pcic_url() - OPeNDAP URL for one PCIC VIC-GL gridded variable
-
wet_pcic_index() - OPeNDAP index ranges for a bounding box and date range on the PCIC grid
-
wet_pcic_fetch() - Download a PCIC VIC-GL subset over OPeNDAP
-
wet_pcic_annual() - Mean annual total per cell, fetched one year at a time
-
wet_runoff_annual() - Mean annual total per cell from a daily raster
Watersheds and upstream accumulation
Sample a grid to FWA fundamental watersheds, average it over each upstream area, and convert the result to discharge.
-
wet_ws_fetch() - Fundamental watersheds of one basin, with codes, area and centroid
-
wet_ws_geom() - Fundamental watershed polygons of one watershed group
-
wet_ws_sample() - Cell values for each fundamental watershed
-
wet_upstream_mean() - Area-weighted mean over each watershed's upstream area
-
wet_upstream_means() - Area-weighted upstream means of several sampled layers
-
wet_upstream_sums() - Upstream sums of additive quantities for every fundamental watershed
-
wet_upstream_irregular() FWA_Upstreampairs for the irregularly coded polygons of one basin-
wet_upstream_pairs() - Watershed-to-upstream-polygon pairs for one watershed group, from fwapg
-
wet_mm_to_m3s() - Convert a depth over an area to discharge
-
wet_month_days() - Days in each month, with February at 28.25
Water balance inputs
Climate normals, evapotranspiration, terrain, land cover and snow, and the evapotranspiration models applied to them.
-
wet_climr_normals() - Monthly climate normals for an arbitrary period from climr
-
wet_cgiar_aet() - Actual evapotranspiration from the CGIAR Global Soil-Water Balance
-
wet_terraclimate_aet() - Annual AET and precipitation from the TerraClimate 1981-2010 climatology
-
wet_mod16_aet() - Annual AET on a grid from MODIS MOD16A3GF v061
-
wet_aet_budyko() - Actual evapotranspiration from Fu's Budyko curve
-
wet_aet_landcover() - Adjust modelled AET by land cover, as Chapman et al. (2018) did
-
wet_chapman_table3() - Measured AET by land-cover class (Chapman et al. 2018, Table 3)
-
wet_pet_hargreaves() - Monthly reference evapotranspiration by Hargreaves (FAO-56)
-
wet_dem_glo90() - Elevation on a template grid from the Copernicus GLO-90 DEM
-
wet_landcover_nrcan() - Land-cover fractions on a grid from the NRCan 2020 land cover
-
wet_snow_normals() - Snow normals from cd's ERA5-Land annual snow layers
Water balance fit and validation
Fit the balance at HYDAT gauges, split it into months and score it held out.
-
wet_wb_fit() - Fit the gauge-residual adjustment of the annual water balance
-
wet_wb_adjust() - Apply a fitted water-balance adjustment
-
wet_wb_pooled() - Zones to pool in a water-balance fit
-
wet_share_fit() - Fit the monthly share-of-annual-runoff regressions
-
wet_share_predict() - Predict monthly shares of annual runoff
-
wet_shape_fit() - Fit a within-month daily shape at gauges
-
wet_shape_predict()wet_shape_flat()wet_shape_spline()wet_shape_daily() - Within-month weights for watersheds, and the daily flows they give
-
wet_cv_folds() - Cross-validation folds for gauges on one stream network
-
wet_flow_validate() - Skill of modelled runoff against observed runoff at gauges