OCSMesh
OCSMesh is a Python package for processing DEM data into georeferenced unstructured meshes using different meshing engine libraries.
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.
You need to make sure you've installed the mesh engine you'd like to use (e.g., Triangle or Gmsh).
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
pip install ocsmesh
From GitHub repo
You need to make sure you've installed the mesh engine you'd like to use (e.g., Triangle or Gmsh).
OCSMesh can be installed from the GitHub repository as follows:
git clone https://github.com/noaa-ocs-modeling/ocsmesh
cd ocsmesh
pip install .[all]
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
Disclaimer
This repository is a scientific product and is not official communication of the National Oceanic and Atmospheric Administration, or the United States Department of Commerce. All NOAA GitHub project code is provided on an "as is" basis and the user assumes responsibility for its use. Any claims against the Department of Commerce or Department of Commerce bureaus stemming from the use of this GitHub project will be governed by all applicable Federal law. Any reference to specific commercial products, processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or imply their endorsement, recommendation or favoring by the Department of Commerce. The Department of Commerce seal and logo, or the seal and logo of a DOC bureau, shall not be used in any manner to imply endorsement of any commercial product or activity by DOC or the United States Government.
Metadata
Release files for ocsmesh 2.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ocsmesh-2.2.0.tar.gz | 2.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ocsmesh-2.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.5 MB
Release files / ocsmesh-2.2.0.tar.gz
| Download URL | ocsmesh-2.2.0.tar.gz |
|---|---|
| Size | 2.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ab360470625419d59a3e2e291113c978753ab17284fe1e16dadc79ddf861944
|
|
BLAKE2b-256 checksum How to use checksums |
2fbba10ce116a012bae3e774700e491a40c3f012372ad74cf873b4badbb14a2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / ocsmesh-2.2.0-py3-none-any.whl
| Download URL | ocsmesh-2.2.0-py3-none-any.whl |
|---|---|
| Size | 2.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dfd4673e3570fb4fb7341fbddd17fcd49fc7aab4bbedcefbe9ad7238b02c8e55
|
|
BLAKE2b-256 checksum How to use checksums |
67a8908d7624d8083604875c42ede04273dcf0ec1b5c6900a3448166988ce20b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|