Skip to content

Files

Latest commit

6651931 · Dec 13, 2024

History

History
42 lines (33 loc) · 1.87 KB

index.md

File metadata and controls

42 lines (33 loc) · 1.87 KB

PyGlider: Convert glider data to NetCDF

PyGlider converts raw glider files to NetCDF timeseries and netcdf depth-time grids, using python and based on {ref}xarray. The NetCDF files should be largely CF compliant.

The basic workflow is three glider-dependent steps to make a netcdf timeseries, followed by optional steps to create profiles or depth-time grids.

seaexplorer.raw_to_rawnc(rawdir, rawncdir, deploymentyaml)
seaexplorer.merge_parquet(rawncdir, rawncdir, deploymentyaml, kind='sub')
outname = seaexplorer.raw_to_timeseries(rawncdir, tsdir, deploymentyaml, kind='sub')
# optional...
ncprocess.extract_timeseries_profiles(outname, profiledir, deploymentyaml)
outname2 = ncprocess.make_gridfiles(outname, griddir, deploymentyaml)
# optional plotting
pgplot.grid_plots(outname2, plottingyaml)

Data comes from and is written in directories, and metadata is supplied by a yaml file.

Currently only Alseamar SeaExplorer and Teledyne/Webb Slocum glider data files are supported, and those with limited configurations. Other gliders will hopefully be added. If you have a glider type or configuration you would like added, open an issue or pull request!.

---
maxdepth: 1
---
Install
getting-started-seaexplorer
getting-started-slocum
pyglider/pyglider

Acknowledgements