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.7 <= Python < 3.10
- 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
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
File details
Details for the file ocsmesh-1.1.0.tar.gz
.
File metadata
- Download URL: ocsmesh-1.1.0.tar.gz
- Upload date:
- Size: 2.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 735f28945ab0f1452635b35f4a2881ba423d232ea34e12c569e1aead97667cc1 |
|
MD5 | fe1a6805cb378868f3e8aefa009d9d8d |
|
BLAKE2b-256 | 2a4ec3c2f2bbfcce3b537bfb068955e74fc25876fd15eccd1c472432392a09c7 |
File details
Details for the file ocsmesh-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: ocsmesh-1.1.0-py3-none-any.whl
- Upload date:
- Size: 2.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 578f504aa0e30d77ed8be1b312494a0bb5427dc33778dc56032279d545c0e4f9 |
|
MD5 | 3a540e2ed798d7084e9b445e7862f85f |
|
BLAKE2b-256 | b95e60371cf9a34ca4580f44d6f1ef17183590bcb0fb2f7dfc785e1161dfd45c |