This repository contains a series of Jupyter notebooks designed to calculate the indicative meaning of beach ridges for paleo sea-level studies. To run the notebooks, it is recommended to install three separate environments in Anaconda to avoid conflicts between library versions.
-
Create a new environment (Python 3.11.x) and use the following commands in the conda terminal:
conda create -n copernicus python=3.11 conda activate copernicus conda install conda-forge::copernicusmariyne --yes conda install ipykernel conda install notebook -y conda install -c conda-forge pytmd pip install windrose pip install cartopy pip install astropy --upgrade
-
Download the FES2014 tidal model from the Aviso+ website (registration required) and place it in the
aviso-fes-main
folder.
-
Create a new environment and install CoastSat:
conda create -n coastsat python=3.11 conda activate coastsat conda install -c conda-forge geopandas -y conda install -c conda-forge earthengine-api scikit-image matplotlib astropy notebook -y pip install pyqt5 imageio-ffmpeg
-
Download CoastSat from GitHub and unzip its contents into the
CoastSat-master
folder. -
Download
CoastSat.slope
from GitHub and place it in theCoastSat.slope-master
folder.
- Create a new environment with Python 3.11.x:
conda create -n pywaverunup python=3.11 conda activate pywaverunup conda install pandas numpy notebook -y pip install -U scikit-learn pip install seaborn
The workflow consists of three steps:
- Run the
Step 1 - Waves_and_Tides.ipynb
notebook in the main folder of the repository. - Run the
Step 2 - Beach slope.ipynb
notebook located in theCoastSat-master
folder. - Run the
Step 3 - Runup.ipynb
notebook located in thepy-wave-runup-master
folder.
Each notebook produces files that are used in the subsequent step.
This workflow was tested in a paper in preparation by Rovere et al. If you use this repository for your research, please send your papers to alessio.rovere@unive.it.