mgcooper / baseflow Goto Github PK
View Code? Open in Web Editor NEWbaseflow recession analysis toolbox
License: BSD 3-Clause "New" or "Revised" License
baseflow recession analysis toolbox
License: BSD 3-Clause "New" or "Revised" License
Describe the bug
baseflow.fitevents
fails in subfunction saveFit
because none of the individual event times tH
computed in preparefit
are members of the complete input timeseries eventTime
.
To Reproduce
Steps to reproduce the behavior:
opts.fitevents.derivmethod = 'CTS';
[EventFits, FitsTable] = baseflow.fitevents(EventData, opts.fitevents);
Expected behavior
All values in the individual event time should be contained in the full event time vector eventTime
.
Describe the bug
Demo baseflow_demo_1.m
fails due to missing dependency namedargs2cell
To Reproduce
Steps to reproduce the behavior:
baseflow_demo_1.m
Describe the bug
The K-S stat calculation and resulting Pareto distribution fit is different on R2021b than other matlab versions, all else equal, using the bfra_kuparuk.mlx example.
To Reproduce
Steps to reproduce the behavior:
dbstop in bfra.plfitb at 68
in a matlab command window or open bfra.plfitb and place the dbstopExpected behavior
The K-S stat should be identical leading to identical Pareto distribution fits to the example data in bfra_kuparuk.mlx
Screenshots
R2021b (y-axis is K-S stat):
Desktop (please complete the following information):
Additional context
Mainly relevant for replicating the results in bfra_kuparuk.mlx (and Cooper et al. 2023) but if you are conducting analysis in R2021b, results may be affected by this.
Describe the bug
baseflow.getdqdt
errors with derivmethod=VTS
due to the use of the "duration" type in private/fitvts.m
when computing dt.
To Reproduce
Expected behavior
The time vector should be a datenum, thus dt
should be of class double not duration.
Desktop (please complete the following information):
Is your feature request related to a problem? Please describe.
The benefit of VTS
and ETS
is not currently communicated in any demos. This will also ensure that these methods do not produce errors as the toolbox is developed using ets as the default method.
Describe the solution you'd like
Add a demo as described. Show how the horizontal striping in the point cloud plot can be used to guide the choice of vtsparam. For the demo data, compare 1000, 10000, and 100000. See how the fit changes at 1e5.
Describe alternatives you've considered
Add a test.
Describe the bug
numfits
function fails when it tries to access the eventTags
fieldname of FitsTable
.
Is your feature request related to a problem? Please describe.
Simple usage to estimate parameters a
and b
using baseflow.fitab
is not currently demonstrated by any demos.
Describe the solution you'd like
Add a demo showing how to use baseflow.fitab
to estimate these parameters from a single or just a few recession timeseries.
Describe alternatives you've considered
n/a
Additional context
n/a
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.