Skip to main content

"Intuitive and powerful unstructured geospatial mesh generation from GIS data."

Project description

logo

build Code style: black Binder

dockerhub
readthedocs
jupyter

About TINerator

TINerator is a Python module for the easy creation of unstructured 3D and 2.5D meshes from GIS data sources. Digital Elevation Maps (DEMs) can be quickly turned into unstructured triangulated meshes, and then further refined by the import of flowline shapefiles or automatically through watershed delineation. Advanced layering and attribute functions then allow for a complex subsurface to be defined.

TINerator comes with a host of 2D and 3D visualization functions, allowing the user to view the status of the mesh at every step in the workflow. In addition, there are geometrical tools for removing triangles outside of a polygon, generating quality analytics on the mesh, adding cell- and node-based attributes to a mesh, and much more.

It was created at Los Alamos National Laboratory and funded primarily through the IDEAS-Watersheds and NGEE Arctic programs. It has since been used by researchers and US-DOE national laboratories nation-wide.

TINerator has been designed to work well with Amanzi-ATS.

Documentation

Quick Start

Online Demo

Binder

You can run TINerator Jupyter notebooks online with MyBinder. It may take a few minutes for the container to initialize.

Docker Container

The easiest way to get started with TINerator is through Docker:

$ docker pull ees16/tinerator:latest
$ docker run -it \
    -v $(pwd):/docker_user/work \
    -p 8899:8899 \
    -p 8050:8050 \
    ees16/tinerator:latest

After the container launches, navigate to http://127.0.0.1:8899/lab in a web browser to begin using TINerator within a Jupyter Lab instance. Example notebooks and HTML documentation are available within Jupyter.

Building TINerator

To build TINerator from source, refer to the documentation.

Linux

$ apt-get install --no-install-recommends -y \
  g++ \
  gfortran \
  make \
  cmake \
  libgl1-mesa-glx \
  \
  # NOTE: gdal on conda forge is *strongly* preferred
  # to the apt version.
  libdal-dev

macOS

$ brew install \
    gdal \
    gcc \
    gfortran

Note that the module has not been tested on Apple Silicon yet.

Contributing

Pull requests of all manner are welcomed! Please read the contributing guidelines before submitting a pull request.

Download files

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

Source Distribution

tinerator-0.9.1.tar.gz (25.0 MB view details)

Uploaded Source

Built Distribution

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

tinerator-0.9.1-py2.py3-none-any.whl (21.3 MB view details)

Uploaded Python 2Python 3

File details

Details for the file tinerator-0.9.1.tar.gz.

File metadata

  • Download URL: tinerator-0.9.1.tar.gz
  • Upload date:
  • Size: 25.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.13

File hashes

Hashes for tinerator-0.9.1.tar.gz
Algorithm Hash digest
SHA256 c81f638a86959461f17d8f81e3a023b33d2bee4fceab55e054d32891304c0f20
MD5 237bb3479c325476aab0d07a106a101b
BLAKE2b-256 8d6dd50610099c3c2bd2acf13cc4570735b5ffebf652df006def41bc913db8af

See more details on using hashes here.

File details

Details for the file tinerator-0.9.1-py2.py3-none-any.whl.

File metadata

  • Download URL: tinerator-0.9.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 21.3 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.13

File hashes

Hashes for tinerator-0.9.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 36775571e158188e6f40cc1635b2ec1d3482b8b4f68c9887632d94eaad434276
MD5 d94eca3d601013eded2df41b9f77227c
BLAKE2b-256 e63288bbbeb5560d8912b2f3937ebd8189f66e456f1409773c3dc11cb7736f17

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