-
Notifications
You must be signed in to change notification settings - Fork 0
stream flow notebook update 20180302
stream flow notebook update: (1) HydRec function (see below) (2) Function that performs storm frequency analysis, hydrograph characteristics for each basin
function [bfi qb_thresh Tb_avg Kavg Kms Kc] = HydRec(TS,Opt,Db,De);
% %% HydRec Performs recession analysis using methods described in Sujono et al., 2004
% %% OUTPUT % bfi - base flow index (sum base flow divided by sum total flow) % qb_thresh theshold at which flow is derived from baseflwo % Tb_avg - Average residence time in base flow component of hydrograph % Kavg - average recession constant % Kms - recession constant determined using matching strip method % Kc - recession constant determined using correlation method % %
%% INPUT % TS - time series of flow in following format: for each row [date in yrs,year, month, day, hr, min, Flow] % TS example using daily time step [[2006.42222222222,2006,6,2,0,0,17.0244430876309] % Opt - Data extraction option: %Option 1 - use all flow data between begin and end dates, %Option 2 - use data between begin MMDDHHMM and end MMDDHHMM for each years between begin YYYY and end YYYY, example: compare recession in november of each year %Option 3 - use a list of begin and end dates to extract specific hydrographs % Db - begin date - for Opt. 1 and 2 format is: [YYYYMMDDHHMM], for Opt 3, format is a column of [YYYYMMDDHHMM] that has n rows, each row is start time of storm included in list % De - same as Db but end time