Canadian Hydrological Analyses
Creates a colour gradient
Extracts peak flows over a threshold
Extracts annual maximum values from ECDE dataframe.
ch_tr_signif()
Creates a sample file of pour points
Create Test Raster
Basic data manipulation functions
Generates the x axis beginning on specified day of year
Compares two time periods of data using Mann-Whitney test
Create Booth plot of peaks over a threshold
Catchment hypsometry
Check Catchments
Check Channels
Calculates the circular mean, median, and regularity
Clear Working Directory
Add Transparency to plot colours
ch_color_gradient
Create Contours
Create working directory
Extracts a specified time period from a longer record
Subsets dates by string
Plots output from ch_binned_MannWhitney for decades
Days of year and water year
Plot Flow Duration Curve
Raster plot of daily streamflows with WSC quality flags
Raster plot and simple trends of observed streamflows by periods
Raster plot of daily streamflows
Reads Environment Canada Date Explorer (ECDE) meta data file
Gets remote data sets
Reads station information from a data file produced by ECDE
Hydrograph plot
Polar / circular plots of peak flows
Creates a data structure to be passed to ch_polar_plot
Polar plot of daily streamflows
Plots a hydrograph with the data quality symbols and returns a report ...
Reads AHCCD daily file
Reads AHCCD monthly file
Reads a file of WSC daily flows from ECDataExplorer (ECDE)
Creates flow accumulation grid file
Plots the regime of daily streamflows using quantiles
Distance in seasonal space
Extracts the annual maxima of a daily time series
Circular plotting by day of year
Seasonal statistics for flood peaks
Converts doy or dwy into a factor that is used to bin data
Stacks EC values
Helper function for selecting points for an axis
Tests url to see if it will work
Creates an ECDE-like dataframe of metadata from tidyhydat
Converts a tidyhydat daily flow data tibble to ECDE format
ch_tr_sign
Delineates a catchment in a single step
Delineate catchment boundaries
Generate stream network
Checks for WhiteboxTools executable
Creates names for Whitebox function input and output files
Creates flow direction grid file
Snap pour points to channels
Removes sinks from a DEM
Designation of the water year
Functions for Canadian hydrological analyses
Spatial Hydrology functions
Statistical analysis functions
Visualization functions
A collection of user-submitted functions to aid in the analysis of hydrological data, particularly for users in Canada. The functions focus on the use of Canadian data sets, and are suited to Canadian hydrology, such as the important cold region hydrological processes and will work with Canadian hydrological models. The functions are grouped into several themes, currently including Statistical hydrology, Basic data manipulations, Visualization, and Spatial hydrology. Functions developed by the Floodnet project are also included. CSHShydRology has been developed with the assistance of the Canadian Society for Hydrological Sciences (CSHS) which is an affiliated society of the Canadian Water Resources Association (CWRA). As of version 1.2.6, functions now fail gracefully when attempting to download data from a url which is unavailable.