testcover - Test percent master area coverage

SYNOPSIS

testcover  [ parameter=value ]  [ inputfile ]

Parameters are: compare, threshold, variable, master_file.

DESCRIPTION

testcover is a scripting tool that tests the percent a given master area is covered by a specified input dataset variable. testcover returns the following statuses:

Test succeeded.

Unable to perform test.

Test failed.

PARAMETERS

compare
Comparison operator. Valid choices are [ lt, le, ge, gt ]. These choices translate to less than, less than or equal to, greater than or equal to, and greater than, respectively. The default is ge.
threshold
Percent coverage threshold. This is a real number in the range [ 0, 100 ]. The default is 0.
variable
Input variable that potentially covers the master area. This should be an image variable with earth location. There is no default.
master_file
Dataset that defines the master area of interest.

EXAMPLES

The following example shows how testcover might be used in a C-shell script:

testcover compare=ge threshold=50 variable=avhrr_ch4 \\
  master_file=Master $INGESTFILE
if ($status != 0) exit 1

SEE ALSO

master, mastersub


Last Update: $Date: 1999/05/10 20:46:39 $