All of the code presented on this page is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. The code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
UBC Regime Model (UBCRM)
UBCRM was developed in collaboration with Dr. RG Millar from the Department of Civil Engineering at UBC. While simple, the model considers the relevant controlling factors, the most important of which is the nature and erodibility of the channel banks.
- MATLAB function implementing the UBCRM model:
- UBCRM_base.m (updated August, 2014)
- R function implementing the UBCRM model:
- RegimeFunctions.R (created April, 2015)
- PC Installer for standalone UBCRM Program:
- download installer for windows (updated April, 2015)
- MAC Installer for standalone UBCRM Program:
- download installer for mac (updated April, 2015
Reach-Scale Channel Simulator (RSCS)
- This version of the RSCS Monte Carlo Model is run in MATLAB using the master script file RSCS_ver_2.m. There are a set of 7 functions that this script calls during the run, and those files must be in the same working directory as the master script. This model was used to generate results published by Eaton and Hassan (2013) in JGR-ES:
At-a-Station Hydraulic Geometry Simulator (ASHGS)
This computer code presents the physical habitat modelling program developed by McParland (2013). It has been tested at Harris Creek, and is suitable for very broad-scope “what-if” scenario evaluation of the potential impacts of channel change on the available physical habitat in a stream. It does not consider changes in available cover, water temperature or water quality. It is provided for free use with absolutely no warranty or guarantee of any kind. All of the code is written in MATLAB.
- MATLAB scripts to calculate the at-a-station hydraulic geometry, weighted usable area, and sediment transport capacity for a given channel reach. The zip file contains documentation and examples of how to use the MATLAB scripts:
- UBCRM ASHGS tools (created August, 2014)
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.