An application for inspecting the max wave height for a location on an interactive map. This project was written using python 3.10.
The data used in this project is a global wave data set. For simplification purposes, we observe just one day.
The format of the data is netCDF, which is comfortably handled by the
xarray
python library. For further documentation refer here.
Dimensions: (longitude: 720, latitude: 261, time: 24)
Coordinates:
- longitude
float32
- latitude
float32
- time
datetime64
[ns]
Data variables:
- hmax (time, latitude, longitude)
float32
- mwd (time, latitude, longitude)
float32
- mwp (time, latitude, longitude)
float32
- tmax (time, latitude, longitude)
float32
- swh (time, latitude, longitude)
float32
To run all tests, please first make sure that you have activated a virtual environment and install the requirements by executing
pip install -r dev_requirements.txt
Afterwards, running all the tests is done using
python -m pytest
First, please make sure that you have activated a virtual environment and install the requirements by executing
pip install -r requirements.txt
To run the application, first run the flask backend server
cd backend
python -m flask --app wave_height_analysis.py run
and then open frontend/index.html
.