Skip to main content

Package to generate computational unstructured meshes for ocean simulation.

Project description

lint workflow fnc workflow fnc2 workflow

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 (i.e. Jigsaw, 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 (i.e. Jigsaw, 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ocsmesh-2.0.0.tar.gz (2.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ocsmesh-2.0.0-py3-none-any.whl (2.8 MB view details)

Uploaded Python 3

File details

Details for the file ocsmesh-2.0.0.tar.gz.

File metadata

  • Download URL: ocsmesh-2.0.0.tar.gz
  • Upload date:
  • Size: 2.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for ocsmesh-2.0.0.tar.gz
Algorithm Hash digest
SHA256 5fffc9c41fff83d6c458c90a057ba4a83860537411c978e9cfdbebd92fd2cacb
MD5 fdbc9f2cbbf81a2e16f4dede8f34cee9
BLAKE2b-256 01d3515e31b5fe2b9409ce301b6bf14bf437438faefb57666bede18ff364be3a

See more details on using hashes here.

File details

Details for the file ocsmesh-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: ocsmesh-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for ocsmesh-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f3e3f19c3318e132b731018014ef0eedc0109a1a78267f09c101fe6e993b44f8
MD5 abb594b0f066e7815cd8cc614bee2e49
BLAKE2b-256 191f65eafa195ab92dd43e3552a6fe0966a5b30e28a67553e587ecb465230732

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page