Package to generate computational unstructured meshes from planetary modeling.
Project description
OCSMesh
OCSMesh is a Python package for processing DEM data into georeferenced unstructured meshes using the jigsaw-python library.
Installation
Two ways of installing OCSMesh are described below:
Using conda
The recommended way to setup the environment for installing OCSMesh is to
use conda
with the environment.yml file provided in the repo to install
required libraries.
The Jigsaw library and its Python wrapper must be instlled
before OCSMesh can be used. Jigsaw is available on conda-forge
channel.
First you need to download the environment.yml file.
wget https://raw.githubusercontent.com/noaa-ocs-modeling/OCSMesh/main/environment.yml
conda env create -f environment.yml -n your-env-name
conda activate your-env-name
conda install -y -c conda-forge jigsawpy
pip install ocsmesh
From GitHub repo
OCSMesh can be installed from the GitHub repository as well.
After downloading the repo, you need to first install Jigsaw using
the script provided in OCSMesh repo by calling:
./setup.py install_jigsaw in the OCSMesh root directory.
Then OCSMesh can be installed.
git clone https://github.com/noaa-ocs-modeling/ocsmesh
cd ocsmesh
python ./setup.py install_jigsaw # To install latest Jigsaw from GitHub
python ./setup.py install # Installs the OCSMesh library to the current Python environment
# OR
python ./setup.py develop # Run this if you are a developer.
Requirements
- 3.10 <= Python
- CMake
- C/C++ compilers
How to Cite
Title : OCSMesh: a data-driven automated unstructured mesh generation software for coastal ocean modeling
Personal Author(s) : Mani, Soroosh;Calzada, Jaime R.;Moghimi, Saeed;Zhang, Y. Joseph;Myers, Edward;Pe’eri, Shachak;
Corporate Authors(s) : Coast Survey Development Laboratory (U.S.)
Published Date : 2021
Series : NOAA Technical Memorandum NOS CS ; 47
DOI : https://doi.org/10.25923/csba-m072
Title : OCSMesh and an end-to-end workflow for fully automatic mesh generation with application to compound flood studies
Personal Author(s) : Cassalho, Felicio;Mani, Soroosh;Ye, Fei;Zhang, Y. Joseph;Moghimi, Saeed;
Published Date : Pre-print(2025)
DOI : http://dx.doi.org/10.2139/ssrn.5226658
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ocsmesh-1.7.0.tar.gz.
File metadata
- Download URL: ocsmesh-1.7.0.tar.gz
- Upload date:
- Size: 30.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa8a4c6944a46b36cb672bf3ae75ad800fbcc7309abf3f646ecd1db1df1b67e6
|
|
| MD5 |
b2be8108ade2a57e9213e91a577f4733
|
|
| BLAKE2b-256 |
ed3976d8edb362937eb03ff9881db3a1a9e42ed009923400c1671283e2864d05
|
File details
Details for the file ocsmesh-1.7.0-py3-none-any.whl.
File metadata
- Download URL: ocsmesh-1.7.0-py3-none-any.whl
- Upload date:
- Size: 30.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
012675e9ef88a48bf4028897df7ae03091215bb77aa09d5b29f248b814bc443f
|
|
| MD5 |
334c602e43d2c28284617762908e2964
|
|
| BLAKE2b-256 |
a75a45347f1c6b8d4e367432323e1ccf3eff8fda2e1750e4f97f39672d447977
|