fixcatsat - Change satellite field in pass catalog records

SYNOPSIS

fixcatsat  [ parameter=value ... ]

Parameters are: old_satellite, new_satellite, start_date, end_date, confirm_each.

DESCRIPTION

fixcatsat changes the satellite field from old_satellite to new_satellite when the date field is in the range start_date <= date <= end_date.

This function is provided to fix sites catalogs for those which were forced to fake satellite names (e.g., fake f-13 as f-8) for TeraScan versions 2.4 and earlier.

This function operates in place, and should be used sparingly. It may be wise to back up the pass catalog prior to running this function. Also, see NOTES below.

PARAMETERS

old_satellite
Name of old (incorrect) satellite. Only records with this satellite will be changed. There is no default.
new_satellite
Name of new (correct) satellite. Changed records will have this satellite. There is no default.
start_date
Start date of records to fix. Only records with date >= start_date will be changed. There is no default. Entries must be of the form yy/mm/dd or yy.ddd.
end_date
End date of records to fix. Only records with date <= end_date will be changed. There is no default. Entries must be of the form yy/mm/dd or yy.ddd.
confirm_each
Indicates whether or not the user is to interactively confirm each record change. Valid entries are yes or no. The default is yes.

FILES

passcat

SEE ALSO

addcover, listcat, delcat

NOTES

Records from the pass catalog are processed in groups of 1000. If confirm_each=yes, and the user interrupts the function (e.g., by control-C), there is a high probability that previously confirmed changed will not be written to the pass catalog.


Last Update: $Date: 1999/05/10 20:13:50 $