Tool Name: nagg
Syntax:
nagg -h
nagg [-n
number] [-t list | -l file] [-g criterion] [-S] [-A seconds] [-d directory] [-O origin] [-D domain] INPUT…
Purpose:
nagg is NPP granule aggregation and packaging utility.
Description:
The command line utility nagg is the NPP granule
aggregation utility for grouping NPP data record granules into aggregate and
package files.
Aggregates include time contiguous, and gap-filled series of
the same type of granules together in the same file. Packages include
different, but related type granule aggregates with same temporal and spatial
extent together in the same file.
Input parameter INPUT is a list of one or more files.
Output of nagg is a file or set of files named according to the NPP file
naming convention. Output files are alignment with the bucket boundary as
defined in the Control Book. Fill
granules are added when there are no granules available for "slots"
in a bucket. Leading and trailing fill
granules are not generated for the first and last output files respectively. Therefore,
first and last output files may be partial files that consist of fewer granules
than requested.
The default behavior of nagg is to
aggregate corresponding Geolocation granules in external Geolocation file whose
name is in the input file’s N_GEO_Ref attribute,
producing output Geolocation files with granules that correspond to those of the
primary product. Nagg
will fail if the specified input Geolocation file is unavailable. This behavior can be overridden with the “-g
no” command option, which directs nagg to not use or
look for Geolocation input granules or files and to not produce Geolocation
output granules or files.
Geolocation file names can be approximate such that only the
beginning parts up to creation date are matched. E.g., if the sensor data file defines its
geolocation file as:
“GMTCO_npp_d20100906_t0701368_e0703013_b00004_c20111024161933653314_noaa_ops.h5”,
the tool will accept any file
matching the following pattern and will use the one with the latest creation timestamp.
GMTCO_npp_d20100906_t0701368_e0703013_b00004_c*.h5
The “-g strict” command option will enforce that the
external Geolocation file name must exactly match the N_GEO_Ref
value.
nagg is non-destructive. It will not overwrite existing
files.
Other considerations:
1. nagg can deaggregate files by setting -n 1 and operating on aggregate files.
2. nagg can aggregate files by setting -n N and operating on a directory of single granule files.
3.
nagg
can reaggregate by setting -n N
to a number different from the number of granules in the input files.
Options and Parameters:
Exit Status:
|
0 |
Succeeded. |
|
>0 |
An error occurred. |
Version: 1.1.0
Last revised: 2012/4/9