Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Output columns

Each command appends its columns to a copy of the input and writes the result; the input columns are preserved and their order is kept.

CommandAppended columnsType
coastdist_to_coastfloat (km or m)
depthbathymetryfloat (m)
seasea_nametext
placecountry, country_code, municipalitytext
nearestnearest_name, nearest_disttext, float (km or m)

The single-column commands rename their output with --column; nearest renames with --name-column / --dist-column.

Null values

A row gets null (or NaN for float columns) output when:

  • its longitude or latitude is null or NaN, or
  • the lookup finds nothing (for example a depth point off the GEBCO grid, or a nearest run against an empty reference set).

Clashing columns

If an output column name already exists in the input, the run fails before any enrichment, naming the clashing column(s). Pass --overwrite to replace such a column in place instead: it keeps its position but takes the output value and dtype.

Output format

By default the output file is written beside the input as <stem>.<command>.<input format>, so the output format follows the input’s (a points.csv.gz input enriches to points.coast.csv.gz). Override the path with --output or the format with --out-format. An input with an unrecognized extension defaults to Parquet.