GithubHelp home page GithubHelp logo

socib / glider_toolbox Goto Github PK

View Code? Open in Web Editor NEW
31.0 23.0 23.0 61.46 MB

MATLAB/Octave scripts to manage data collected by a glider fleet, including data download, data processing and product and figure generation, both in real time and delayed time.

License: GNU General Public License v3.0

MATLAB 95.48% Makefile 0.05% C 2.87% Shell 0.26% M 1.35%
ocean-sciences physical-oceanography data-preservation netcdf matlab octave glider-toolbox slocum seaglider seaexplorer

glider_toolbox's People

Contributors

juangasocib avatar mvcharcos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

glider_toolbox's Issues

port to Python?

Do you know of any work or plans to port this processing to Python?

Adding extra sensors to preprocessing data

Hi there, I am trying to add data from extra sensors into the preprocessing data struct data_pre. I am following the syntax of other sensor lists in configDataPreprocessingSlocum.m, however there are errors when I run it. Can you please add some example syntax for adding extra sensors into the preprocessing data?

posixtime.m returns error when using MATLAB

When using the generateOutputNetCDF.m an error is returned immediately when it calls posixtime.m with the error statement 'Missing required mex file'. Looking in posixtime, there appears to be no code to be ran when using MATLAB (lines 55 and 56 of current version on github), only octave. I've noticed that there is a function called setupMexPosixtime.m to create the mex file, I've used it and have successfully created the mex file.

Any suggestions as how to move forward to create a netCDF file ?

Time lag definition?

I tried to define timelag for oxygen optodes calphase (23sec) like this:

In processGliderData.m:
[..]
options.sensor_lag_list = ...
struct('corrected', {'caphase'}, ...
'original', {'calphase'},...
'parameters', {23});
[..]

and in configDataProcessingSlocumG2.m:
[..]
processing_options.sensor_lag_list = ...
struct('corrected', {'cphase'}, ...
'original', {'calphase'},...
'parameters', {23});
[..]

While running I get an error:

Error processing glider deployment data:
Error using processGliderData (line 901)
Invalid sensor lag settings 1: bad parameter specification.

It would be useful if examples given in comments where with some filled values and not just empty strings.

Twice in code: format_conversion = 1

In glidertoolbox scripts there is two different instances of '.format_conversion = 1โ€™. Should be only once.

  • In ConfigMainDT.txt:
    [...]
    #Slocum file options
    file_options_slocum.format_conversion = 1

  • and in configDTFileOptionsSlocum.m
    [...]
    % Binary file conversion to text format
    % (disable it when reprocessing deployments with no new binary data):
    slocum_options.format_conversion = 1;
    [...]

Regards, Kimmo

Add support to SeaExplorer gliders

Attempt to include SeaExplorer gliders in the toolbox.
Modifications to the toolbox would include functions such as:

  • loadSeaexplorerData.m
  • sx2mat.m
  • sxcat.m
  • sxmerge.m

Please refer any suggestion/questions to
[email protected]

QC on Preprocessing data

Hi, I am trying to implement the Socib toolbox for delayed time with a Slocum G2 dataset. I'm currently working though issues with first time set up of the toolbox. I'm developing on Ubuntu 16, with Matlab R2017a.

I have an error while running lines 564-574 of process_glider_data_delayedtime.m. Specifically, when I run line 568, it has an error:
Index exceeds matrix dimensions:
Error in performGriddedQC (line 124)
for k=1:length(grid_qc_config.(tests{i}).passingParameters{j})

Because this is preprocessing data, why does line 568 call for the function performGriddedQC, which clearly calls for gridded data as input? I realize this is the same for preprocessing data, processing data, as well as gridded data. performGriddedQC is quite clearly commented as for having gridded data as an input, however it's quite unclear what can be used as inputs here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.