mastersub [ parameter=value ] [ inputfile outputfile ] mastersub [ parameter=value ] [ inputfile ... directory ]
Parameters are: include_vars, master_file, master_margin, subset_margin, instantiate.
mastersub creates subsets of input datasets so that the subsets cover a given master file area. Unlike subset which allows users to explicitly clip one or more dimensions, mastersub determines which dimensions to clip and how to clip them in order to get the right coverage.
Like subset, mastersub allows users to specify what variables to include or exclude from the subsets.
Also like subset, mastersub can create subsets without actually copying any variable data. In this case, a subset contains link variables that point back to the corresponding input dataset. Alternatively, subsets can be instantiated, a process that copies the necessary variable data from the input datasets.
mastersub is useful when products for several areas are to be generated from a given pass. The entire pass can be ingested in one step, and then subsets covering the different areas can be created using mastersub.
+-- mastersub --- processing sequence A
|
ingest ---+-- mastersub --- processing sequence B
|
+-- mastersub --- processing sequence C
The alternative to using mastersub is running the ingest process for each product area.
Given multi-resolution data, mastersub attempts to make all Xsubset dimensions the same length, and all Ysubset dimensions the same length. For example, scale multiplied by size is the same for all subset X dimensions; scale multiplied by size is the same for all subset Y dimensions. This conflicts with the subset_margin parameter described above, causing different subset margins to be used.
Last Update: $Date: 2001/02/05 23:31:07 $