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.1.tar.gz (26.7 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.1-py3-none-any.whl (31.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: transformez-0.2.1.tar.gz
  • Upload date:
  • Size: 26.7 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.1.tar.gz
Algorithm Hash digest
SHA256 bd08254ae6f12f73228bc7bc4aa32f07ea379e97589b4c79b680c93f610cbf6c
MD5 8f08dad456ac29bb965996503447a025
BLAKE2b-256 0a64c245e097880b7815f85744ee37ea819769d42bc294804e9c31377720fbd2

See more details on using hashes here.

Provenance

The following attestation bundles were made for transformez-0.2.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: transformez-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 31.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 831a8d0cda65f7757ef62a59992a78efcf1095ed2ad81d907b46d7ff01f5b541
MD5 1a84c289ad575f1d4c15360f9b123183
BLAKE2b-256 a5c935cd5df0a84b7b6c92e3c8efd28ef7c675bf5b3ce4902031c7ac4258f672

See more details on using hashes here.

Provenance

The following attestation bundles were made for transformez-0.2.1-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