USGS

Isis 2 Documentation


ppp_replace Documentation

ppp_replace.pl - Merge/reformat RAND PPP data
mea_replace is primarily for updating a large RAND PPP
(Pole, Point, and Picture) a priori data file with new
data, but also serves as a general file operations tool
for pole, point, and picture data. It works by taking
in a base data file (FROM) and optionally replacing
(REPLACE) or deleting (DELETE) data before the records
are output.

If REPLACE is given, data in REPLACE will replace data
in FROM that have the same Picture ID/Point IDs. Data
that is in FROM but not REPLACE will be output as it
appears in FROM. If there are data records in REPLACE
that are not in FROM, they will only be output if
ADD=YES (the default).

If DELETE is given, data records in FROM or REPLACE
that are in DELETE will not be output.

Four examples of file operations are:

  1. Merge w/ delete - This allows for new data to be
     added and recrods to be taken away. This is done
     by giving the program three input files, FROM,
     REPLACE, and DELETE and and setting ADD to YES.

  2. Replace - this can be used to bring in data from
     a known good source, without changing which data
     are in the solution. This is done by giving two input
     files, FROM and REPLACE, and setting ADD to NO.

  3. Delete - Give two input files, FROM and DELETE, and
     the data in DELETE will be removed from FROM.

  4. Reformat - Give only FROM and TO, and FROM's
     contents will be output in the new format.

For more information, see the web page.

PROGRAMMER: Ben Atkin

ParmDescriptionDefault
FROM
Base mm measurement file
NONE
REPLACE
Replacement mm meas file
--
DELETE
Delete file
--
TO
Output file
NONE
ADD
Add to FROM?
YES

ADDITIONAL NOTES:

ParmDescription
FROM
Base PPP file
REPLACE
PPP file containing data records to add to
and/or replace data in base meeasurement file
(FROM)
DELETE
Measurement file containing data records that
will be removed from the output
TO
The output file, which will have the data records in
FROM file, plus any data records in REPLACE, minus any
data records in REPLACE.
ADD
If set to yes, records appearing in REPLACE but not
in FROM will appear in the output. If set to NO, and
DELETE is not given, the output will have exactly the
same number of point records and picture records,
only possibly different values.

Last updated: Jun 15 2005
File: pdfs2.html

Contact us online at the Isis Support Center: http://isisdist.wr.usgs.gov

ISIS Documentation Home Page