14 |
15 |
codacheck
16 |
17 |
This documentation describes the functionality of the codacheck tool which is part of CODA.
18 |
19 |
General description
20 |
21 |
The product format definitions in CODA should be of sufficient quality that whenever problems are detected while reading product files, it is usually the product files that are at fault. The codacheck program was written with this in mind. It uses CODA as an active product file problem-detection tool. It takes as arguments one or more product files. CODA will try to open each of these files and will actively look for any problems in these files. Any errors are reported in a user-readable way.
22 |
23 |
24 | codacheck [-D definitionpath] [<options>] <files>
25 | Provide a basic sanity check on product files supported by CODA
26 | Options:
27 | -d, --definition
28 | require products to have a definition in a codadef file,
29 | return an error and abort verification otherwise
30 | (affects products using formats such as xml/netcdf/hdf)
31 | -q, --quick
32 | only perform a quick check of the product
33 | (do not traverse the full product)
34 | -V, --verbose
35 | show more information while performing the check
36 |
37 | --no-mmap
38 | disable the use of mmap when opening files
39 |
40 | If you pass a '-' for the <files> section then the list of files will
41 | be read from stdin.
42 |
43 | codacheck -h, --help
44 | Show help (this text)
45 |
46 | codacheck -v, --version
47 | Print the version number of CODA and exit
48 |
49 | CODA will look for .codadef files using a definition path, which is a ':'
50 | separated (';' on Windows) list of paths to .codadef files and/or to
51 | directories containing .codadef files.
52 | By default the definition path is set to a single directory relative to
53 | the tool location. A different definition path can be set via the
54 | CODA_DEFINITION environment variable or via the -D option.
55 | (the -D option overrides the environment variable setting).
56 |
57 |
58 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
--------------------------------------------------------------------------------
/doc/html/codacmp/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
14 |
15 |
codacmp
16 |
17 |
This documentation describes the functionality of the codacmp tool which is part of CODA.
18 |
19 |
General description
20 |
21 |
With codacmp one can compare two product files. The tool is primarily intended for verification purposes.
22 |
23 |
24 | codacmp [-D definitionpath] [<options>] file1 file2
25 | Compare contents of file1 and file2
26 | Options:
27 | -d, --disable_conversions
28 | do not perform unit/value conversions
29 | -p, --path <path>
30 | path (in the form of a CODA node expression) to the
31 | location in the product where the comparison should begin.
32 | This path should be available in both products. If this
33 | parameter is not provided the full products are compared.
34 | -k, --key <path_to_array> <key_string_expr>
35 | for the given array in the product use the string
36 | expression as a unique key to line up the array elements in
37 | the two products. The array elements will then be compared
38 | as if it were record fields where the 'key' is used as the
39 | field name. This option can be provided multiple times (for
40 | different paths).
41 | -V, --verbose
42 | show more information while performing the comparison
43 |
44 | codacmp -h, --help
45 | Show help (this text)
46 |
47 | codacmp -v, --version
48 | Print the version number of CODA and exit
49 |
50 | CODA will look for .codadef files using a definition path, which is a ':'
51 | separated (';' on Windows) list of paths to .codadef files and/or to
52 | directories containing .codadef files.
53 | By default the definition path is set to a single directory relative to
54 | the tool location. A different definition path can be set via the
55 | CODA_DEFINITION environment variable or via the -D option.
56 | (the -D option overrides the environment variable setting).
57 |
58 |
59 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
--------------------------------------------------------------------------------
/doc/html/codaeval/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
14 |
15 |
codaeval
16 |
17 |
This documentation describes the functionality of the codaeval tool which is part of CODA.
18 |
19 |
General description
20 |
21 |
CODA contains an expression language that can be used to perform calculations on parameters inside a data product. The codaeval tool can be used to evaluate such an expression, either with on one or more product files or without (in case it is a constant expression). Alternatively, using the -c option, the tool will just verify if the expression is syntactically and grammatically correct.
22 |
23 |
24 | Usage:
25 | codaeval [-D definitionpath] [<options>] expression [<files|directories>]
26 | Evaluate a CODA expression on a series of files and/or recursively on
27 | all contents of directories
28 | If no files or directories are provided then codaeval should be a
29 | 'constant' expression (i.e. it may not contain node expressions or
30 | functions that rely on product content)
31 |
32 | Options:
33 | -c, --check
34 | only check the syntax of the expression, without evaluating
35 | it; any remaining options (including files) will be ignored
36 | -d, --disable_conversions
37 | do not perform unit/value conversions
38 | -p '<path>'
39 | a path (in the form of a CODA node expression) to the
40 | location in the product where the expression should be
41 | evaluated
42 | if no path is provided the expression will be evaluated
43 | at the root of the product
44 |
45 | A description of the syntax of CODA expression language can be found in the
46 | CODA documentation
47 |
48 | codaeval h, --help
49 | Show help (this text)
50 |
51 | codaeval -v, --version
52 | Print the version number of CODA and exit
53 |
54 | CODA will look for .codadef files using a definition path, which is a ':'
55 | separated (';' on Windows) list of paths to .codadef files and/or to
56 | directories containing .codadef files.
57 | By default the definition path is set to a single directory relative to
58 | the tool location. A different definition path can be set via the
59 | CODA_DEFINITION environment variable or via the -D option.
60 | (the -D option overrides the environment variable setting).
61 |
62 |
63 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
--------------------------------------------------------------------------------
/doc/html/css/codadef.css:
--------------------------------------------------------------------------------
1 | body {
2 | color: #000000;
3 | background-color: #ffffff;
4 | font-family: Verdana, Helvetica, sans-serif;
5 | font-size: 9pt;
6 | margin-left: 25px;
7 | margin-top: 20px;
8 | margin-bottom: 20px;
9 | width: 600px;
10 | }
11 |
12 | a { text-decoration: none; }
13 | a:link { color: #882222; background-color: inherit; }
14 | a:hover { color: #BB2222; background-color: inherit; }
15 | a:visited { color: #550000; background-color: inherit; }
16 | a:visited:hover { color: #880000; background-color: inherit; }
17 |
18 | a.header:link { color: #EEEEEE; background-color: inherit; }
19 | a.header:hover { color: #999999; background-color: inherit; }
20 | a.header:visited { color: #CCCCCC; background-color: inherit; }
21 | a.header:visited:hover { color: #999999; background-color: inherit; }
22 |
23 | h1 { color: #552222; font-size: 3.6ex; }
24 | h2 { color: #333333; font-size: 3.0ex; }
25 | h3 { color: #000000; font-size: 2.1ex; }
26 |
27 | .attr_key { font-style: italic; }
28 | .attr_value { }
29 |
30 | table {
31 | border-color: #cccccc;
32 | border-style: solid;
33 | border-width: 1px;
34 | border-spacing: 0px;
35 | width: 100%;
36 | }
37 | table.top {
38 | width : 600px;
39 | }
40 | table tr th, table tr td {
41 | font-size: 9pt;
42 | border-color: #bbbbbb;
43 | border-style: solid;
44 | border-width: 1px;
45 | border-spacing: 0px;
46 | padding: 2px;
47 | }
48 | table tr th {
49 | color: #eeeeee;
50 | background: #552222;
51 | }
52 | table tr th.subhdr {
53 | font-weight: normal;
54 | color: #000000;
55 | background: #eeeeee;
56 | }
57 |
--------------------------------------------------------------------------------
/doc/html/images/coda-large.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/stcorp/coda/7120cb6278ae263cb5f909abccb8c363b2ee361c/doc/html/images/coda-large.png
--------------------------------------------------------------------------------
/doc/html/java/class_array_ordering_enum.html:
--------------------------------------------------------------------------------
1 |
2 |
21 |
22 |
Ordering of elements within arrays (C or Fortran variant).
23 |
24 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/doc/html/java/class_format_enum.html:
--------------------------------------------------------------------------------
1 |
2 |
21 |
22 |
The data storage formats that are supported by CODA.
23 |
24 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/doc/html/java/class_native_type_enum.html:
--------------------------------------------------------------------------------
1 |
2 |
21 |
22 |
Machine specific data types.
23 |
24 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/doc/html/java/class_special_type_enum.html:
--------------------------------------------------------------------------------
1 |
2 |
25 |
26 |
This is the complete list of members for CodaException, including all inherited members.
27 |
30 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/doc/html/java/classnl_1_1stcorp_1_1coda_1_1_coda_exception.html:
--------------------------------------------------------------------------------
1 |
2 |
28 |
29 |
Inherits Exception.
30 |
36 |
37 |
Exception indicating that an error occurred in the underlying CODA C Library.
38 |
39 |
40 |
◆ CodaException()
41 |
42 |
43 |
53 |
- Parameters
-
54 |
55 | msg | An error message describing a CODA error. |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
67 |
68 |
69 |
70 |
--------------------------------------------------------------------------------
/doc/html/java/clipboard.js:
--------------------------------------------------------------------------------
1 | /**
2 |
3 | The code below is based on the Doxygen Awesome project, see
4 | https://github.com/jothepro/doxygen-awesome-css
5 |
6 | MIT License
7 |
8 | Copyright (c) 2021 - 2022 jothepro
9 |
10 | Permission is hereby granted, free of charge, to any person obtaining a copy
11 | of this software and associated documentation files (the "Software"), to deal
12 | in the Software without restriction, including without limitation the rights
13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14 | copies of the Software, and to permit persons to whom the Software is
15 | furnished to do so, subject to the following conditions:
16 |
17 | The above copyright notice and this permission notice shall be included in all
18 | copies or substantial portions of the Software.
19 |
20 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26 | SOFTWARE.
27 |
28 | */
29 |
30 | let clipboard_title = "Copy to clipboard"
31 | let clipboard_icon = `
21 |
Here is a list of all topics with brief descriptions:
32 |
33 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/doclibcoda.mk:
--------------------------------------------------------------------------------
1 | LIBCODA_DOCFILES = \
2 | doc/html/libcoda/clipboard.js \
3 | doc/html/libcoda/doc.svg \
4 | doc/html/libcoda/docd.svg \
5 | doc/html/libcoda/doxygen_crawl.html \
6 | doc/html/libcoda/dynsections.js \
7 | doc/html/libcoda/folderclosed.svg \
8 | doc/html/libcoda/folderclosedd.svg \
9 | doc/html/libcoda/folderopen.svg \
10 | doc/html/libcoda/folderopend.svg \
11 | doc/html/libcoda/group__coda__cursor.html \
12 | doc/html/libcoda/group__coda__error.html \
13 | doc/html/libcoda/group__coda__expression.html \
14 | doc/html/libcoda/group__coda__general.html \
15 | doc/html/libcoda/group__coda__product.html \
16 | doc/html/libcoda/group__coda__time.html \
17 | doc/html/libcoda/group__coda__types.html \
18 | doc/html/libcoda/index.html \
19 | doc/html/libcoda/jquery.js \
20 | doc/html/libcoda/minus.svg \
21 | doc/html/libcoda/minusd.svg \
22 | doc/html/libcoda/plus.svg \
23 | doc/html/libcoda/plusd.svg \
24 | doc/html/libcoda/topics.html
25 | doc/html/libcoda/clipboard.js:
26 | $(MAKE) libcoda_doc
27 | doc/html/libcoda/doc.svg:
28 | $(MAKE) libcoda_doc
29 | doc/html/libcoda/docd.svg:
30 | $(MAKE) libcoda_doc
31 | doc/html/libcoda/doxygen_crawl.html:
32 | $(MAKE) libcoda_doc
33 | doc/html/libcoda/dynsections.js:
34 | $(MAKE) libcoda_doc
35 | doc/html/libcoda/folderclosed.svg:
36 | $(MAKE) libcoda_doc
37 | doc/html/libcoda/folderclosedd.svg:
38 | $(MAKE) libcoda_doc
39 | doc/html/libcoda/folderopen.svg:
40 | $(MAKE) libcoda_doc
41 | doc/html/libcoda/folderopend.svg:
42 | $(MAKE) libcoda_doc
43 | doc/html/libcoda/group__coda__cursor.html:
44 | $(MAKE) libcoda_doc
45 | doc/html/libcoda/group__coda__error.html:
46 | $(MAKE) libcoda_doc
47 | doc/html/libcoda/group__coda__expression.html:
48 | $(MAKE) libcoda_doc
49 | doc/html/libcoda/group__coda__general.html:
50 | $(MAKE) libcoda_doc
51 | doc/html/libcoda/group__coda__product.html:
52 | $(MAKE) libcoda_doc
53 | doc/html/libcoda/group__coda__time.html:
54 | $(MAKE) libcoda_doc
55 | doc/html/libcoda/group__coda__types.html:
56 | $(MAKE) libcoda_doc
57 | doc/html/libcoda/index.html:
58 | $(MAKE) libcoda_doc
59 | doc/html/libcoda/jquery.js:
60 | $(MAKE) libcoda_doc
61 | doc/html/libcoda/minus.svg:
62 | $(MAKE) libcoda_doc
63 | doc/html/libcoda/minusd.svg:
64 | $(MAKE) libcoda_doc
65 | doc/html/libcoda/plus.svg:
66 | $(MAKE) libcoda_doc
67 | doc/html/libcoda/plusd.svg:
68 | $(MAKE) libcoda_doc
69 | doc/html/libcoda/topics.html:
70 | $(MAKE) libcoda_doc
71 |
--------------------------------------------------------------------------------
/findtypedef.l:
--------------------------------------------------------------------------------
1 | %option noyywrap
2 | %option always-interactive
3 | %option noinput
4 | %option nounput
5 |
6 | %x COMMENT
7 | %x STRING
8 | %x TYPEDEF
9 |
10 | %{
11 | #ifdef HAVE_CONFIG_H
12 | #include "config.h"
13 | #endif
14 |
15 | #include