File: harpmerge.rst

package info (click to toggle)
harp 1.12-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 58,728 kB
  • sloc: xml: 339,052; ansic: 151,016; javascript: 9,315; yacc: 2,092; python: 1,066; makefile: 628; lex: 582; sh: 69
file content (69 lines) | stat: -rw-r--r-- 2,982 bytes parent folder | download | duplicates (2)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
harpmerge
==========

Combine multiple products from files or directories by appending them across
the time dimension and storing the result into a single output file.

::

  Usage:
      harpmerge [options] <file|dir> [<file|dir> ...] <output product file>
          Concatenate all products as specified by the file and directory paths
          into a single product.
          If a directory is specified then all files (recursively) from that
          directory are included.
          If a file is a .pth file then the file paths from that text file
          (one per line) are included. These file paths can be absolute or
          relative and can point to files, directories, or other .pth files.

          Options:
              -a, --operations <operation list>
                  List of operations to apply to each product.
                  An operation list needs to be provided as a single expression.
                  See the 'operations' section of the HARP documentation for
                  more details.
                  Operations will be performed before a product is appended.

              -ar, --reduce-operations <operation list>
                  List of operations to apply after each append.
                  This advanced option allows for memory efficient application
                  of time reduction operations (such as bin()) that would
                  normally be provided as part of the post operations.

               -ap, --post-operations <operation list>
                   List of operations to apply to the merged product.
                   An operation list needs to be provided as a single expression.
                   See the 'operations' section of the HARP documentation for
                   more details.

              -o, --options <option list>
                  List of options to pass to the ingestion module.
                  Only applicable if an input product is not in HARP format.
                  Options are separated by semi-colons. Each option consists
                  of an <option name>=<value> pair. An option list needs to be
                  provided as a single expression.

              -l, --list
                  Print to stdout each filename that is currently being merged.

              -f, --format <format>
                  Output format:
                      netcdf (default)
                      hdf4
                      hdf5

              --hdf5-compression <level>
                  Set data compression level for storing in HDF5 format.
                  0=disabled, 1=low, ..., 9=high.

              --no-history
                  Do not update the global history attribute.

          If the merged product is empty, a warning will be printed and the
          tool will return with exit code 2 (without writing a file).

      harpmerge -h, --help
          Show help (this text).

      harpmerge -v, --version
          Print the version number of HARP and exit.