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.0.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.0-py3-none-any.whl (29.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: transformez-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 d777553a1d1d19b71d46d88d5e6ddba3708ca813531d07e6fac768256027b17a
MD5 ede65b72d47c6e61fae45633764ff461
BLAKE2b-256 c9a7f0c3eb6475f57228066ea1c7f1860e038a2c2ea9ae43a0426ce2ca3843c1

See more details on using hashes here.

Provenance

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

Publisher: publish.yaml on ciresdem/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.0-py3-none-any.whl.

File metadata

  • Download URL: transformez-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 29.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03475c82d9ccef720a6a7ce6553fe6c30fefabbca599d85bad9628a191615f5e
MD5 3f9c467dfd5de945b638193b150d61fe
BLAKE2b-256 3843bd1a3ffd1634a863ac0fc39e670c4e35b916adec7a660e11337023b5d976

See more details on using hashes here.

Provenance

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

Publisher: publish.yaml on ciresdem/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