Commit Graph

174 Commits (bc1778c473a98a82adc6415f423531e837932fcf)
 

Author SHA1 Message Date
Chris Leaman bc1778c473 Fix dependency in Makefile
Chris Leaman cdca489e4a Fix dune toe TWL exceedence hours
Dune toe TWL exceedence hours were being left as zero if the profile didn't have a dune toe (technically correct). In these cases it's more useful to calculate the exceedence hours of the dune crest level.
Chris Leaman 1fca122276 Ensure float precision is limited when outputting csv
Without this change, interim .csv files were being recorded with 9 decimal places, greatly increasing the file size. This keeps the number of decimals limited to a practical amount.
Chris Leaman 9e3716480a Fix hard-coded file names in create_observed_impacts
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.
Chris Leaman 86c2e0e763 Update README.md
Chris Leaman bbe86b231a Fix swash regime not detected if there is no dune toe
Chris Leaman cbfd69c852 Fix typo in comment
Chris Leaman 1e45675611 Optimize calculation of profile volume difference
Chris Leaman 95f525ef00 Add better error detection when calculating slope from profile
Chris Leaman 48f2142708 Change default slope calculation to least squares
Rather than end points
Chris Leaman a9a5e02933 Improve performance of TWL forecasting function
Use faster pandas indexing instead of .query function
Chris Leaman 25a26d9e46 Add intertidal slope option to TWL forecasts
Chris Leaman 66c7b25cc4 Update notebooks
Chris Leaman 6ffdd2611d Allow crossing to return empty list if all values are masked
Chris Leaman 36256514b5 Allow crossing function to detect crossings at end points
Chris Leaman 46589da736 Update notebooks
Chris Leaman 6efae1c0da Add Power et al. (2018) runup model
Chris Leaman 4ea435a814 Add grain size as required runup parameter
Used by Power et al. (2018), but not required for other models
Chris Leaman 1830d06e40 Fix Makefile command for waves.csv
Chris Leaman f649c3adc7 Update README.md for error when using Qt5Agg/PyCharm
Chris Leaman 821e5c34cf Include grain size inputs
Chris Leaman 6c13fc389c Parse cumulative wave power and energy from mat file into .csv
Chris Leaman d4995266c9 Create new notebook for comparing models
Chris Leaman 3bfb13e9d6 Rename notebooks
Chris Leaman d8353bd635 Add Nielsen & Hanslow 1991 runup parameterization
Chris Leaman 4e5b0ce81c Fix formatting
Chris Leaman 43e85224e8 Remove pre-commit
Chris Leaman 0adbf68635 Add Holman 1986 to list of runup functions
Chris Leaman 7526ab1f3c Add pre-commit hooks to ensure code formatting
Chris Leaman 0713a1302a Update environment
Chris Leaman 5850871c14 Update notebooks
Chris Leaman 1bad6f6dd7 Update .gitignore
Chris Leaman bb17d6c786 Update notebooks
Chris Leaman 01fe1a80c8 Add automatic nbstripout to jupyter notebooks
Automatically removes output from notebooks for easier version control.
Chris Leaman d00a9d8c21 Add TODOs for getting observed storm impacts
Chris Leaman 976ecc8ebb Rename notebook
Chris Leaman ebd8ef3ffa Update commands and README
Chris Leaman e6bb50c00e Fix bug when calculating R_high lat/lon geojson
Chris Leaman faa843ce21 Fix formatting
Chris Leaman 3443062d85 Update notebook and QGIS file
Chris Leaman 9755810f40 Refactor PYTHON_CLI command
Chris Leaman 2d22734bfa Fix position of R_high in geojson to be closest to dune face
Chris Leaman 3af90601ef Refactor overwriting dune crest/toes and impacts
Uses one, central .csv file contained in ./data/raw/profile_features_chris_leaman
Chris Leaman e1d95a1752 Improve performance by replacing .query with .loc
Chris Leaman 6912c50a49 Use dune crest for mean slope calculation if no dune toe
Chris Leaman c7090a43b9 Change log level to info
Chris Leaman db3c45e12d Add line_profiler to environment
Chris Leaman df3946d15c Ignore line_profiler files
Chris Leaman ac06165b07 Add make commands for geojsons