Chris Leaman
f73ceb5bcf
Merge branch 'feature/refactor-commands' into develop
6 years ago
Chris Leaman
07046d4686
Update CLI commands
6 years ago
Chris Leaman
fd25086327
Fix issues with PYTHONPATH
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
88a149590f
Add function for creating profile_features.csv
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
133a1ace1a
Add pyproj requirement
6 years ago
Chris Leaman
6ddd015a66
Include .env file (as an example)
6 years ago
Chris Leaman
60f78a4e10
Update Makefile
6 years ago
Chris Leaman
03c4655c05
Fix formatting
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
6d62a30b2f
Use pipenv to setup virtualenv and packages
6 years ago
Chris Leaman
ccf7601041
Update .gitignore
6 years ago
Chris Leaman
f4e3169bd1
Update beach orientations MATALB to run on command
6 years ago
Chris Leaman
a3b07f20e8
Add additional widgets for exploring data
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
d05ded9c44
Fix line breaks and add information about gitflow model
6 years ago
Chris Leaman
1b521a0524
Add module for parsing observed storm impacts
6 years ago
Chris Leaman
e7d6aa8761
Replace zeros with nans in beach profile
...
In raw beach profile data, the end of some cross-sections can be padded with zero values. This probably shouldn't be the case - if we wanted to assume a zero elevation at these locations, we should do that in whatever calculation, not in the raw data.
The added function will detect these padded zero values and replace them with nans.
6 years ago
Chris Leaman
8eea9c4393
Working updates to notebooks
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
7d8d85f1db
Change the data backup directory to be a variable
...
This is so it can be changed easily. In future, expect that this will go to a proper place on the WRL coastal drive, rather than a temporary working directory.
6 years ago
Chris Leaman
fd98698f93
Update .gitignore for python compiled files
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
1df2b59326
Make parse_profile_features into proper function
6 years ago
Chris Leaman
60869a338e
Update function to create beach profile_features
6 years ago
Chris Leaman
b0f2ca9f4c
Add beach_profile_elevation function
...
Gets elevation from an x-coordinate on a beach profile.
6 years ago
Chris Leaman
2974b5a897
Fix distance_to_intersection function
...
Added two extra considerations:
1) Need to distinguish between positive and negative values when calculating distance to starting point, hence the seaward and landward intersecting lines.
2) Need to consider only checking lines with the same beach property, otherwise it is going to take too long when we have all the beaches
6 years ago
Chris Leaman
863976c532
Add corresponding x-coordinate coordinate of lat/lon on beach profile
6 years ago
Chris Leaman
d6f2398970
Update QGIS file working
6 years ago
Chris Leaman
efec913a10
Provide ids when reading shapefiles
...
May come in handy later
6 years ago
Chris Leaman
f2b6bc12a9
Fix paths
...
Scripts should be run from the repository base directory.
6 years ago
Chris Leaman
1d8a5f158d
Add function to extract site orientations
...
This function takes the profiles.mat file and uses the spiral log transformation tool to calculate the orientation of each beach profile cross section. Orientations are needed to relate dune toes and crests (from shape files) to each of the profiles.
Note there are some beaches which don't have the correct parameters in the log-spiral tool folder, so these should be followed up with Mitch.
6 years ago
Chris Leaman
7ece9e613c
Ignore MATLAB .asv files
6 years ago
Chris Leaman
4e21bf76e6
Update README.md
6 years ago
Chris Leaman
c2e2629008
Add make commands to pull/push data from J drive
6 years ago
Chris Leaman
1e8ed28536
Add CLI functionality
6 years ago
Chris Leaman
df2edd1abd
Update todo for dune crest/toe function
6 years ago
Chris Leaman
be8efd89b8
Fix formatting
6 years ago