Skip to main content

A standalone utility for vertical elevation datum transformations.

Project description

🌍 Transformez ↕

Global vertical datum transformations, simplified.

Transformez Les Données

🚀 v0.2.0: Now supporting global tidal transformations via FES2014 & SEANOE.

Transformez is a standalone Python engine for converting geospatial data between vertical datums (e.g., MLLWNAVD88Ellipsoid).


Installation

pip install transformez

Requires htdp to be in your system PATH for frame transformations.

Usage

Generate a vertical shift grid for anywhere on Earth.

# Transform MLLW to WGS84 Ellipsoid in Norton Sound, AK
# (Where NOAA has no coverage!)
transformez -R -166/-164/63/64 -E 3s \
    --input-datum mllw \
    --output-datum 4979 \
    --output shift_ak.tif

Transform a raster directly. Transformez reads the bounds/resolution from the file.

transformez --dem input_bathymetry.tif \
    --input-datum "mllw" \
    --output-datum "5703:geoid=geoid12b" \
    --output output_navd88.tif

Integrate directly into your download pipeline.

# Download GEBCO and shift EGM96 to WGS84 on the fly
fetchez gebco ... --hook transformez:datum_in=5773,datum_out=4979

Python API

from transformez.transform import VerticalTransform
from fetchez.spatial import Region

# Define a region in India (Bay of Bengal)
region = Region(80, 85, 10, 15)

# Initialize Transformer
# Requesting "MLLW" in India triggers the Global Fallback automatically
vt = VerticalTransform(
    region=region,
    nx=1000, ny=1000,
    epsg_in="mllw",       # Will resolve to FES2014 LAT
    epsg_out="epsg:4979"  # WGS84 Ellipsoid
)

# Generate Shift
shift, unc = vt._vertical_transform(vt.epsg_in, vt.epsg_out)

Supported Datums

  • Tidal: mllw, mhhw, msl, lat

  • Ellipsoidal: 4979 (WGS84), 6319 (NAD83 2011)

  • Orthometric: 5703 (NAVD88), egm2008, egm96

  • Geoids: g2018, g2012b, geoid09, xgeoid20b

License

This project is licensed under the MIT License - see the LICENSE file for details. Copyright (c) 2010-2026 Regents of the University of Colorado

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

transformez-0.2.2.tar.gz (25.0 kB view details)

Uploaded Source

Built Distribution

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

transformez-0.2.2-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

Details for the file transformez-0.2.2.tar.gz.

File metadata

  • Download URL: transformez-0.2.2.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for transformez-0.2.2.tar.gz
Algorithm Hash digest
SHA256 cf7f889d7a3ae00db340e3dbff18b6bd8e2a8ddfa073afb7f14c8f4bdaa2d2b9
MD5 2ec4a449b1a68b9f081ddc99c1e57d4d
BLAKE2b-256 de22de7c3258d55ab3c06d141c64fc2d72095e73f1dffd1f75a853ad2f74cb6a

See more details on using hashes here.

Provenance

The following attestation bundles were made for transformez-0.2.2.tar.gz:

Publisher: publish.yaml on continuous-dems/transformez

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file transformez-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: transformez-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for transformez-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0f77eff7c492d6bbbf47aacc35365561c28a61933d1878a64027ccc9732c40cf
MD5 5a0c1412791f98ce2974671e8331256e
BLAKE2b-256 ecb660e65a68317f6f663ebe8d2fe4d33cddaebbd1109d48efbd77a37d846839

See more details on using hashes here.

Provenance

The following attestation bundles were made for transformez-0.2.2-py3-none-any.whl:

Publisher: publish.yaml on continuous-dems/transformez

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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