public final class cwimport
extends java.lang.Object
The import tool translates earth data into CoastWatch HDF format.
cwimport - translates earth data into CoastWatch HDF.
cwimport [OPTIONS] input1 [input2 ...] output
-c, --copy
-h, --help
-m, --match=PATTERN
-v, --verbose
--version
The import tool translates earth data into CoastWatch HDF format. Multiple input files may be specified, but must have matching earth transforms and dates. The utility loops over all input files and creates a single CoastWatch HDF output file. The utility does not handle multiple variables with the same name -- if a variable in an input file is encountered with the same name as an existing variable from a previous input file, the new variable is skipped. Options are available to alter verbosity and variable name matching.
0 on success, > 0 on failure. Possible causes of errors:
The following shows the import of several .cwf files to CoastWatch HDF with verbose mode on:
phollema$ cwimport --verbose 2002_214_2057_n16_wv_*.cwf 2002_214_2057_n16_wv.hdf cwimport: Reading file [1/2], 2002_214_2057_n16_wv_c2.cwf cwimport: Writing avhrr_ch2 cwimport: Writing graphics cwimport: Reading file [2/2], 2002_214_2057_n16_wv_c4.cwf cwimport: Writing avhrr_ch4 cwimport: Writing graphics cwimport: Variable 'graphics' already exists, skipping
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] argv)
Performs the main function.
|