Skip to content

seareport/seareport_models

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Seareport Models

Concept: Build reproducible models in 3 steps:

  1. mesh: reproduce the meshing
  2. model: reproduce the model
  3. results: reproduce the results data extraction (2D and 1D Time Series)

Example: Using scripts/model_v2.2.py, you can produce this 3km global mesh and model metocean data world_2.2

current meshes/models available

Mesh version resolution hole in the north pole bathy gradient other model application
v0.0 50km yes - 2D
v0.1 20km yes - 2D
v0.2 20km yes max depth at -20m 2D
v0.3 20km yes - waves
v0.4 20km yes yes - 3D
v1.2 6km yes - 2D
v1.3 6km yes - waves
v1.4 6km yes yes - 3D
v2.2 3km yes - 2D

Install

first build the binaries:

cd v0.0
mamba env create -n v0 -f binary-om-telemac-openmpi-p3.11.yml

then build the correct python libraries

python -mvenv .venv
source .venv/bin/activate
poetry install

then run the meshing script:

cd ..
python scripts/mesh_v0.0.py

Mesh, model and/or export results

By default, all 3 steps are activated, to deactivate meshing:

change:

if __name__ == "__main__":
    main()

into:

if __name__ == "__main__":
    main(mesh = False)

in scripts/mesh_v0.0.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published