File: coda_param.m

package info (click to toggle)
coda 2.25.5-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 10,168 kB
  • sloc: ansic: 121,489; javascript: 6,788; java: 2,369; python: 1,695; yacc: 1,007; makefile: 598; lex: 204; sh: 105; fortran: 60; xml: 5
file content (34 lines) | stat: -rw-r--r-- 1,874 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
% CODA_PARAM A description of the data specification argument list
%
%   Several functions from the CODA MATLAB interface take a data
%   specification argument list to specify a certain data element in a
%   product file. This argument list is a comma separated list of names
%   and identifiers that allow you to walk to a certain point in a
%   product. The list can be left empty if you want to point to the
%   root of the product. There are two types of arguments you can use
%   in the list of arguments:
%
%    - Array index: You need to provide an array index that has the
%      same number of elements as there are dimensions in the array
%      that you are referring to. So if the array is two dimensional you
%      have to pass indices for both dimensions like [4 5]. If the
%      array is one dimensional (like the datasets) you can just
%      provide a single index value (without the '[]') to get to the
%      k-th element. You can use coda_size to check the number of
%      dimensions of an array and the size of each dimension.
%    - Field name: To go to a certain field inside the record that you
%      are pointing to, you can provide the field name as a string
%      (which is case sensitive, so you should make sure that the name
%      is exactly the same as is returned by coda_fieldnames).
%
%   Note that all indices inside the data specification argument list
%   go from 1..N (and not from 0..(N-1)).
%
%   For the <code>coda_fetch</code> function there is an additional
%   feature. If you provide a -1 for one or more of the dimensions of an
%   array you will fetch all elements in the specified dimension(s).
%   For example, with coda_fetch(pf,'datasetname',-1,'dsr_time') you can
%   fetch all dsr_time values for all measurements into a single array.
%
%   See also CODA_CLASS, CODA_EVAL, CODA_FETCH, CODA_FIELDNAMES, CODA_SIZE
%