Skip to content

liljafreja/interactive-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

interactive-map

An application for inspecting the max wave height for a location on an interactive map. This project was written using python 3.10.

Data

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

🛠️ Testing

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

🚀 Running

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.

About

An application for inspecting the max wave height for a location on an interactive map.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published