Chris Leaman
d00a9d8c21
Add TODOs for getting observed storm impacts
6 years ago
Chris Leaman
e6bb50c00e
Fix bug when calculating R_high lat/lon geojson
6 years ago
Chris Leaman
faa843ce21
Fix formatting
6 years ago
Chris Leaman
2d22734bfa
Fix position of R_high in geojson to be closest to dune face
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
c7090a43b9
Change log level to info
6 years ago
Chris Leaman
a6ab8b8354
Clean up cli
6 years ago
Chris Leaman
79d46c0433
Refactor crossings and lat/lon conversion functions
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
e50fadb35c
Rename csv_to_shp to csv_to_geojson
6 years ago
Chris Leaman
3f2cfa50aa
Update functions to output geojson for QGIS
6 years ago
Chris Leaman
daad9c5b82
Remove other packages from logging
6 years ago
Chris Leaman
4b9e69f2f0
Add override of profile features
6 years ago
Chris Leaman
12070a1acf
Plot site .shp as line instead of points
6 years ago
Chris Leaman
91a0d8327e
Rename data shape function
6 years ago
Chris Leaman
b7704c2d35
Fix formatting
6 years ago
Chris Leaman
947d2093bd
Take post-storm profile based on isgood parameter in .mat file
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
b8ead25cd5
Disable numpy futurewarnings when running from CLI
6 years ago
Chris Leaman
75f372154d
Update logging format
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
06cc97ef7e
Add functions to parse Tom Beuzen's dune toe and crests
6 years ago
Chris Leaman
c391edf755
Keep old index number of site when parsing .mat file
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
9879a9d18c
Fix formatting
6 years ago
Chris Leaman
21b12a34be
Remove extra pandas options
6 years ago
Chris Leaman
96bb259755
Add environment variable for number of cores to use for analysis
6 years ago
Chris Leaman
70f3ad90be
Change default logging level to info
6 years ago
Chris Leaman
caee3e033a
Add additional logging
6 years ago
Chris Leaman
c6cbee8920
Convert function to CLI command
6 years ago
Chris Leaman
4bba8a3331
Convert to CLI commands
6 years ago
Chris Leaman
99e036a4cd
Rename mat parsing file and convert to callable CLI commands
6 years ago
Chris Leaman
67b7043ec3
Update logging config to quiet fiona package
6 years ago
Chris Leaman
8f790cbf1b
Fix formatting with black
6 years ago
Chris Leaman
f4e3169bd1
Update beach orientations MATALB to run on command
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