25 Commits (efa94e606904aa5532e4d78c96c8cd246e336c8d)

Author SHA1 Message Date
Christopher Leaman efa94e6069 Update notebooks 6 years ago
Chris Leaman 965dcf2ec0 Optimize calculation of change in volume
We now calculate the where the pre-storm and post-storm profiles change a bit more robustly.
6 years ago
Chris Leaman f616f56fd3 Optimize volume change calculations 6 years ago
Chris Leaman a293d5d691 Fix incorrect calculation of pre/post change point
If pre and post storm profiles returned to similar elevations within the sampled profile length, the change point detection would select the most seaward point and incorrectly calculate the swash zone volumes. This change looks at the slope of the difference between the two profiles and assumes that the difference between the two profiles should be increasing at the location of the change point.
6 years ago
Chris Leaman c17051788c Fix formatting 6 years ago
Chris Leaman ecd1d66dd2 Fix typos 6 years ago
Chris Leaman 7069c3b627 Extract slope & width change for observed impacts 6 years ago
Chris Leaman 557c15df1f Enable observed impacts to be overwritten with NaN
This is useful where we have a structure or rock wall and want to specify that we don't know what the observed storm regime is. In this case, we'll put a 'unknown' string in the ./data/raw/profile_features observed storm impact csv field and overwrite it with a NaN in our pandas dataframe.
6 years ago
Chris Leaman 16ca2aa482 Fix volume difference percent when difference equal to zero 6 years ago
Chris Leaman 9e3716480a Fix hard-coded file names in create_observed_impacts 6 years ago
Chris Leaman 1e45675611 Optimize calculation of profile volume difference 6 years ago
Chris Leaman 4e5b0ce81c Fix formatting 6 years ago
Chris Leaman d00a9d8c21 Add TODOs for getting observed storm impacts 6 years ago
Chris Leaman faa843ce21 Fix formatting 6 years ago
Chris Leaman 3af90601ef Refactor overwriting dune crest/toes and impacts
Uses one, central .csv file contained in ./data/raw/profile_features_chris_leaman
6 years ago
Chris Leaman a94fdd2dfb Refactor logging configuration 6 years ago
Chris Leaman 836873b3f3 Fix formatting 6 years ago
Chris Leaman 5b9b4141b3 Fix bugs for forecasting impacts 6 years ago
Chris Leaman 44b1ac3775 Fix logging and cli
Logging now uses .yaml file and is stored in the utils.py file. New CLI entrypoint has been created cli.py to deal with relative import issues - when running the analysis, this should be used as the main entrypoint.
6 years ago
Chris Leaman 851393ecd9 Parse new profiles.mat from Mitch
Mitch has updated profiles.mat to include more information, like time of LIDAR acquisition, profile flags and recovery profiles. The updates to the code parse this new information.
6 years ago
Chris Leaman 2a64c17353 Fix bug with how observed storm impacts are were calculated 7 years ago
Chris Leaman 07046d4686 Update CLI commands 7 years ago
Chris Leaman 8f790cbf1b Fix formatting with black 7 years ago
Chris Leaman 6c7f17cebe Tidy up observed storm impacts 7 years ago
Chris Leaman 1b521a0524 Add module for parsing observed storm impacts 7 years ago