-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Time lag definition? #10
Comments
Hello Kimmo, not an obvious question, especially since I've not opened the toolbox for several years. Could you run the test with 'parameters' set to 'auto' and see if you get the same issue? options.sensor_lag_list = ...
struct('corrected', {'caphase'}, ...
'original', {'calphase'},...
'parameters', {'auto'});
[..] |
Hi Charles,
I tried it, but got an error.
In processGliderData.m ca. row 863:
K>> ~isempty(sensor_lag_option.time)
Reference to non-existent field 'time'.
And later:
K>> isnumeric(sensor_lag_params)
ans =
logical
0
K>> numel(sensor_lag_params)
ans =
4
—— And ——
K>> sensor_lag_num_params
Undefined function or variable 'sensor_lag_num_params’.
—— And ——
strcmpi(sensor_lag_params, 'auto')
ans =
logical
1
Timelag are not calculated.
The time-sensor is a problem elsewhere also. I have noticed that when the oxygen optode writes values, there is not always ctd-timestamp and ctd values available. That results in problems when writing nc’s.
All oxygen values are not included.
With the SeaOWL I set it to write measurements as fast as possible. As it measures with 1Hz frequency, there will be also rows with no ctd’s or oxygen values.
In any case sci_m_present_time has a value and thus, I think, it should be the default reference time for all data manipulation.
Kimmo Tikka
[email protected]
… Charles Troupin ***@***.***> kirjoitti 12.9.2019 kello 10.21:
Hello Kimmo,
not an obvious question, especially since I've not opened the toolbox for several years.
I've quickly checked the doc and indeed I would help to have an example with realistic values for the parameters.
Could you run the test with 'parameters' set to 'auto' and see if you get the same issue?
options.sensor_lag_list = ...
struct(
'corrected', {'caphase'}, ...
'original', {'calphase'},...
'parameters', {'auto'
});
[..]
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
First, this is just a guess, so excuse me for any errors here in advance. The original problem seems to come from a configuration error. Looking at m/processing_tools/processGliderData.m#L199 the option You can try in processing_options.sensor_lag_list = ...
struct('corrected', {'cphase'}, 'original', {'calphase'}, ...
'parameters', {23}, 'constant_flow', {true}) Of course this requires a preexisting |
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.
The text was updated successfully, but these errors were encountered: