AWK shell pipeline that reshapes a long GMT cross-section profile table into a wide analysis table: extracts the depth column, slices individual trench profiles by regex range, and pastes them side-by-side (12726x5 to 201x11), with mktemp temp files and cleanup.
unix command-line paste geospatial awk data-wrangling text-processing data-preprocessing regular-expressions gmt data-pipeline shell-scripting csv-processing cross-section mktemp marine-geophysics ocean-trenches bathymetric-profiles table-reshaping long-to-wide
-
Updated
Sep 12, 2026 - Shell