46 Commits (9e3716480a21f11e7ef114e603ca366ec634d532)

Author SHA1 Message Date
Chris Leaman 9e3716480a Fix hard-coded file names in create_observed_impacts 6 years ago
Chris Leaman bf61116efb Remove R_low requirement when forecasting overwash
Some runup parameterizations only give R_high, but not R_low. In these cases, let's just classify the profile as overwash if R_high > D_high.
6 years ago
Chris Leaman bbe86b231a Fix swash regime not detected if there is no dune toe 6 years ago
Chris Leaman cbfd69c852 Fix typo in comment 6 years ago
Chris Leaman 1e45675611 Optimize calculation of profile volume difference 6 years ago
Chris Leaman 95f525ef00 Add better error detection when calculating slope from profile 6 years ago
Chris Leaman 48f2142708 Change default slope calculation to least squares
Rather than end points
6 years ago
Chris Leaman a9a5e02933 Improve performance of TWL forecasting function
Use faster pandas indexing instead of .query function
6 years ago
Chris Leaman 25a26d9e46 Add intertidal slope option to TWL forecasts 6 years ago
Chris Leaman 6efae1c0da Add Power et al. (2018) runup model 6 years ago
Chris Leaman 4ea435a814 Add grain size as required runup parameter
Used by Power et al. (2018), but not required for other models
6 years ago
Chris Leaman d8353bd635 Add Nielsen & Hanslow 1991 runup parameterization 6 years ago
Chris Leaman 4e5b0ce81c Fix formatting 6 years ago
Chris Leaman 0adbf68635 Add Holman 1986 to list of runup functions 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 e1d95a1752 Improve performance by replacing .query with .loc 6 years ago
Chris Leaman 6912c50a49 Use dune crest for mean slope calculation if no dune toe 6 years ago
Chris Leaman 6f215da826 Refactor crossings and lat/lon conversion functions 6 years ago
Chris Leaman a94fdd2dfb Refactor logging configuration 6 years ago
Chris Leaman b7704c2d35 Fix formatting 6 years ago
Chris Leaman 3a1a3dddf1 Update Stockdon 2006 runup function to accept either a list or a float
This is an improvement over having two separate functions, depending on the parameter type. Other runup functions should be written in a similar style.
6 years ago
Chris Leaman 836873b3f3 Fix formatting 6 years ago
Chris Leaman 4592cb858e Remove profile_type from impacts.csv 6 years ago
Chris Leaman 9f1b801687 Add function for estimating twl exceedence time 6 years ago
Chris Leaman 5f59c8f8ee Update slope function to accept top x coordinate
Needed to ensure correctly mean slope is calculated. If only inputting dune toe z coordinates, sometimes the function can chose the wrong x coordinate if there are multiple crossings of the z coordinate.
6 years ago
Chris Leaman 5b9b4141b3 Fix bugs for forecasting impacts 6 years ago
Chris Leaman 44310e3be4 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 209a023d96 Improve iterative calculation of prestorm foreshore slope 6 years ago
Chris Leaman 2a64c17353 Fix bug with how observed storm impacts are were calculated 6 years ago
Chris Leaman ca1add7fa7 Remove extra, uneeded comments 6 years ago
Chris Leaman 07046d4686 Update CLI commands 6 years ago
Chris Leaman 96bb259755 Add environment variable for number of cores to use for analysis 6 years ago
Chris Leaman 8f790cbf1b Fix formatting with black 6 years ago
Chris Leaman 6c7f17cebe Tidy up observed storm impacts 6 years ago
Chris Leaman 995b01172f Add function to extract the forecasted storm impacts 6 years ago
Chris Leaman 36bbb8390f Add module to compare forecasted and observed storm impacts 6 years ago
Chris Leaman 1b521a0524 Add module for parsing observed storm impacts 6 years ago
Chris Leaman 91f8b8bae6 Initial commit of forecasted TWLs function 6 years ago
Chris Leaman 5159239b66 Add additional function for Stockdon06
New function computes Stockdon06 in a vectorized fashion, so is much faster than previous implementation.
6 years ago
Chris Leaman de46bbd6a2 Add runup_models.py
Started with Stockdon 2006, but will probably need to add more.
6 years ago
Chris Leaman ee4be5f888 Add init files 6 years ago
Chris Leaman 85fa9e55c2 Initial commit 6 years ago