💻 Command Line Interface#
The transformez command line tool lets you generate or apply vertical transformation grids. Commands follow the 1.0 architecture: build for shift-grid generation, shift for product transformation, plus inspection and planning commands to examine references and transformation paths before running them.
Commands are organized into three groups: Execution (build, shift, prefetch), Discovery (list, info, plan), and External engines (htdp, vdatum for installing and managing the NGS HTDP and NOAA VDatum engines). Legacy commands grid and raster remain available as deprecated aliases for build and shift.
transformez#
Build vertical datum shift grids and transform elevation data.
Usage
transformez [OPTIONS] COMMAND [ARGS]...
Options
- --version#
Show the version and exit.
- --verbose#
Enable verbose debug logging.
- --quiet#
Suppress non-error output.
build#
Build a vertical datum shift grid for a region.
Usage
transformez build [OPTIONS]
Options
- -R, --region <region>#
Required Bounding box or location string.
- -E, --increment <increment>#
Required Resolution (e.g., 1s, 30m).
- -I, --input-datum <input_datum>#
Required Source Datum (e.g., ‘vdatum:mllw’, ‘epsg:5703’).
- -O, --output-datum <output_datum>#
Required Target Datum (e.g., ‘epsg:4979’, ‘epsg:5703’).
- -o, --out <out>#
Output filename (default: auto-named).
- --decay-pixels <decay_pixels>#
DEPRECATED: Pixel-based inland decay distance; use –decay-distance.
- --decay-distance <METERS>#
Distance over which tidal shifts decay to zero inland.
- --buffer-distance <METERS>#
Distance inland to preserve the full coastal shift before decay begins.
- --max-vdatum-extension <METERS>#
Maximum inland extension of valid VDatum coverage beyond the shoreline.
- --no-inland-decay#
Disable inland decay of tidal shifts. Use with caution: tidal transformations may then extend far inland.
- --use-stations#
Use tide-station interpolation for tidal transformations when available.
- --preview#
Display a preview of the generated shift grid.
htdp#
Manage the NGS HTDP transformation engine.
Usage
transformez htdp [OPTIONS] COMMAND [ARGS]...
install#
Download and install the NGS HTDP executable.
Usage
transformez htdp install [OPTIONS]
Options
- --version <version>#
HTDP version to install.
- Default:
'3.5.0'
- --project#
Install into this project’s transformez_cache instead of the user installation.
run#
Run the installed NGS HTDP executable.
Usage
transformez htdp run [OPTIONS]
Options
- --control <control>#
input control file, if omitted, run interactively
info#
Get information related to supported references and transformation resources.
Usage
transformez info [OPTIONS] COMMAND [ARGS]...
binding#
Inspect the operation binding for a vertical reference.
Usage
transformez info binding [OPTIONS] REF_ID
Arguments
- REF_ID#
Required argument
frame#
Inspect the vertical reference frame for a vertical references.
Usage
transformez info frame [OPTIONS] REF_ID
Arguments
- REF_ID#
Required argument
reference#
Inspect a vertical reference.
Usage
transformez info reference [OPTIONS] REF_ID
Arguments
- REF_ID#
Required argument
system#
Get information about Transformez
Usage
transformez info system [OPTIONS]
list#
List supported references and transformation resources.
Usage
transformez list [OPTIONS] COMMAND [ARGS]...
bindings#
List registered transformation bindings.
Usage
transformez list bindings [OPTIONS]
frames#
List reference frames available to HTDP.
Usage
transformez list frames [OPTIONS]
geoids#
List geoid models used by registered bindings.
Usage
transformez list geoids [OPTIONS]
providers#
List transformation data/model providers.
Usage
transformez list providers [OPTIONS]
references#
List Transformez-specific vertical references.
Usage
transformez list references [OPTIONS]
plan#
Preview the geodetic transformation steps without executing them.
Usage
transformez plan [OPTIONS]
Options
- -I, --input-datum <input_datum>#
Required Source Datum (e.g., ‘mllw’, ‘5703’).
- -O, --output-datum <output_datum>#
Required Target Datum (e.g., ‘4979’, ‘5703:g2012b’).
- --epoch-in <epoch_in>#
Source coordinate epoch (default: 2010.0).
- --epoch-out <epoch_out>#
Target coordinate epoch (default: 2010.0).
prefetch#
Download transformation data for offline use.
Examples:
Prefetch a specific conversion : transformez prefetch -R loc:”Newport, OR” -I mllw -O 5703 Prefetch EVERYTHING for a region: transformez prefetch -R loc:”Miami, FL” –all Prefetch the entire planet : transformez prefetch -R -180/180/-90/90 –all
Usage
transformez prefetch [OPTIONS]
Options
- -R, --region <region>#
Required Bounding box or location string.
- -I, --input-datum <input_datum>#
Source Datum (Optional: limits fetch to specific chain).
- -O, --output-datum <output_datum>#
Target Datum (Optional: limits fetch to specific chain).
- --all#
Download all available transformation datasets for the region.
shift#
Transform an elevation raster between vertical datums.
Usage
transformez shift [OPTIONS] INPUT_FILE
Options
- -I, --input-datum <input_datum>#
Source datum (e.g., ‘mllw’).
- -O, --output-datum <output_datum>#
Required Target datum (e.g., ‘5703:g2012b’).
- --in-units <in_units>#
Vertical units of the input raster.
- Options:
auto | m | ft | us-ft
- --out-units <out_units>#
Vertical units of the output raster.
- Options:
auto | m | ft | us-ft
- -o, --out <out>#
Output filename (default: auto-named).
- --decay-pixels <decay_pixels>#
DEPRECATED: Pixel-based inland decay distance; use –decay-distance.
- --decay-distance <METERS>#
Distance over which tidal shifts decay to zero inland.
- --buffer-distance <METERS>#
Distance inland to preserve the full coastal shift before decay begins.
- --max-vdatum-extension <METERS>#
Maximum inland extension of valid VDatum coverage beyond the shoreline.
- --no-inland-decay#
Disable inland decay of tidal shifts. Use with caution: tidal transformations may then extend far inland.
- --use-stations#
Use tide-station interpolation for tidal transformations when available.
- --save-shift#
Save the aligned vertical shift grid to disk alongside the output DEM.
Arguments
- INPUT_FILE#
Required argument
vdatum#
Manage the NOAA VDatum transformation engine.
Usage
transformez vdatum [OPTIONS] COMMAND [ARGS]...
help#
Show information reported by the installed VDatum engine.
Usage
transformez vdatum help [OPTIONS]
info#
Show the VDatum installation selected by Transformez.
Usage
transformez vdatum info [OPTIONS]
Options
- --version <version>#
- Default:
'4.8'
install#
Download and install the NOAA VDatum software and data.
Usage
transformez vdatum install [OPTIONS]
Options
- --version <version>#
VDatum software version to install.
- Default:
'4.8'
- --scope <scope>#
Installation scope.
- Default:
'user'- Options:
user | project
launch#
Launch the VDatum engine.
Usage
transformez vdatum launch [OPTIONS]
run#
Transform an XYZ file using the local NOAA VDatum engine.
Usage
transformez vdatum run [OPTIONS] INPUT_FILE
Options
- -I, --in-datum <in_datum>#
Required VDatum input datum string (e.g., ‘navd88’)
- -O, --out-datum <out_datum>#
Required VDatum output datum string (e.g., ‘nad83_2011’)
- --in-unit <in_unit>#
Input units (m, ft, us-ft)
- --out-unit <out_unit>#
Output units (m, ft, us-ft)
- --region <region>#
VDatum region grid
- --version <version>#
VDatum engine version to use.
- Default:
'4.8'
Arguments
- INPUT_FILE#
Required argument