Please see dbd2netcdf which converts the Dinkum Binary Data files from the glider into NetCDF files.
- Examples are some example scripts for how I use these scripts
- Data is an example pair of NetCDF files generated by dbd2netcdf
- osgl_adjust_lat_lon adjust the dead reckoned
m_latandm_lonto match the GPS fixes when leaving the surface and arriving back at the surface. It assumes a linear in time transform. - osgl_bin_profiles Depth and profile bin data. See tpw_make_profiles for a sample usage.
- osgl_calculate_seawater_properties adds depth, practical and absolute salinity, conservative temperature, potential temperature, potential density and in-situ density to the structure. See Gibbs Sea Water for a description of the calculations. See tpw_make_profiles for a sample usage.
- osgl_cast_intervals find the different dive, climb, top turn, bottom turn, and surface states of a glider. This uses the output of osgl_glider_state.
- osgl_dive_climb_times returns a triplet of times, the start of a dive, the time between the dive and climb, and the top of the climb. See tpw_make_profiles for a sample usage.
- osgl_fit_gaussian fits one or more gaussians to a dataset. It includes plotting of the indivual gaussians.
- osgl_getnetCDF reads in a NetCDF file and if it follows the CF Metadata Convetions
- osgl_glider_state extracts the operational state of the glider from
cc_behavior_state. i.e. inflecting, diving, climbing, hovering, surfacing, ... - osgl_load_glider loads in the output of dbd2netcdf into a table. Creates a column,
timewhich is adatetime, and also translates lat/lon variables from degrees*100+minutes to decimal degrees. See tpw_make_profiles for a sample usage. - osgl_mkDegrees converts from degrees*100+minutes to decimal degrees.
- osgl_plot_pcolor uses
pcolorbut deals with blank times. - osgl_read_netCDF loads a NetCDF file. The CF Metadata Convetions is not followed. See osgl_getnetCDF for CF compliant NetCDF files.
- osgl_vmp_plot generate reasonably pretty plots VMP turbulence plots.