smerckel / dbdreader

A reader for binary data files created by Slocum ocean gliders (AUVs)
GNU General Public License v3.0
16 stars 14 forks source link

Make MultiDBD's get_CTD_sync() method compatible with RBR CTD data #24

Closed smerckel closed 8 months ago

smerckel commented 8 months ago

It had not been possible to read RBR CTD data with the conveniene method get_CTD_sync() method, until now. The get_CTD_sync() (from the class MultiDBD) now checks the CTD timestamp parameter, which is different for Seabird and RBR CTDs. A positive identification is when given specific timestamp parameter holds data. To avoid reading all files the get() methods of the classes DBD and MultiDBD have been modified to optionally read only up to a number specified values.