25 Commits (1e456756117127a05b6e9a68aee7fb6e3689eb7d)

Author SHA1 Message Date
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 0adbf68635 Add Holman 1986 to list of runup functions 6 years ago
Chris Leaman faa843ce21 Fix formatting 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 836873b3f3 Fix formatting 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 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 7 years ago
Chris Leaman ca1add7fa7 Remove extra, uneeded comments 7 years ago
Chris Leaman 07046d4686 Update CLI commands 7 years ago
Chris Leaman 96bb259755 Add environment variable for number of cores to use for analysis 7 years ago
Chris Leaman 8f790cbf1b Fix formatting with black 7 years ago
Chris Leaman 91f8b8bae6 Initial commit of forecasted TWLs function 7 years ago