kerfoot / spt

Matlab toolbox for representing, managing, processing, visualizing and exporting raw Slocum glider data sets
10 stars 10 forks source link

writing a trajectory netcdf file #7

Open clayton33 opened 7 years ago

clayton33 commented 7 years ago

Are there more detailed instructions as to how to create a netcdf file with all the data from a mission (not just single profile files) ? I've tried to follow the rough instructions supplied in the wiki, https://github.com/kerfoot/spt/wiki/Writing-Glider-Trajectory-NetCDF-Files , but am having some issues.

I can create a DbdGroup, but then how do I map the netCDF variables to the dbd sensors ?

I've downloaded the trajectory template from https://github.com/IOOSProfilingGliders/Real-Time-File-Format/tree/master/template , and do I then create an instance of the GTrajectoryNc by giving the path to the trajectory template ?

I'm a little lost after that, any guidance would be appreciated.