PyGlider: Convert glider data to NetCDF#

PyGlider converts raw glider files to NetCDF timeseries and netcdf depth-time grids, using python and based on 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!.

Acknowledgements#