nctoolkit: A Python package for netCDF analysis and post-processing
v1.3.3 New DataSet.to transect() — extracts a straight-line transect between two points. It places nsteps evenly spaced points (including both ends) along the line between start and end , given as [lon, lat] , in lon/lat space, and regrids the dataset onto them: ds.to transect(start=[-30, 0], end=[-30, 65], nsteps=66) The remapping method defaults to bilinear ( "bil" ) and accepts any of the regrid methods ( "nn" , "bic" , "dis" , "con" , "con2" , "laf" ). Invalid start , end or nsteps values raise a clear TypeError or ValueError . Documentation New Gallery section on the website, with worked examples: Working with transects — extract a transect through the Atlantic with to transect , then map it and chart it against latitude and time. Nitrate from the World Ocean Atlas — a transect down the Atlantic and a single profile. to transect is documented in the API reference, and the cheat sheet has a new how-to entry for extracting a straight-line transect. Each pub plot option in the gallery now shows its accepted values on click.
- Link
- https://zenodo.org/records/22934868
- Found by
- Zenodo
- Authors
- Wilson, Robert J., Artioli, Yuri
- Categories
- dataset
- Published
- 2026-09-24
- Last seen by the radar
- 2026-09-24
- Downloads
- 1,807
- Views
- 6,327
- Radar score
- 49.63 / 100 (how it is scored)
- Why it scored so
- Matched: dataset; Recency discount: updated event ×0.5; Primary record: Zenodo
- Related links
- https://doi.org/10.5281/zenodo.22934868