

             Program obsdesed Documentation   1-26-96  

 Obsdesed is an interactive edit version of program obsdes and 
 generates new blue book description and observation output files 
 reflecting the responses to interactive queries.
 
 Obsdesed also allows the user to update the new unified description
 output file *10* record approximate GP/elev with the observation file
 *80* record GP/elev.
 
 Obsdesed compares the description file and observation file id records
 job codes.

 Obsdesed reads the description file and matches each *10* record ssn
 with the corresponding observation file *80* record ssn.

 For description file *10* record ssn's in which a observation file
 *80* record ssn is not found, an error message is generated and the
 next description file *10* record is processed.

 For description file *10* record ssn's in which a observation file
 *80* record ssn is found, obsdesed compares the description file station
 name and state code with its respective observation file station
 name and state code.  If there are descrepancies found the user is
 queried to generate new output files with consistent station names and
 state codes.

 A summary of all observation file *80* record ssn's and station names 
 for which a description or recovery note was not found is generated
 at the end of the program.
 
 It is assumed that the observation data set and description data set
 have been successfully run through chkobs and chkdes/chkdesc respectively
 and all syntax and structure errors have been resolved.
 
 Program obsdes comments -

 Program obsdes should be run for old format description files to
 compare the *30* record directions and distances to reference objects
 with the observation file *20* series directions and the *50* series
 distances.  Program obsdesed no longer performs this comparison.
 The additional obsdesed comparisons are also performed in obsdes
 without the interactive queries and generated output files.

 The following is a sample obsdesed run -

 WELCOME TO PROGRAM OBSDESED  V 1.5
 
 ENTER THE BLUE BOOK OBSERVATION FILENAME
 charlesc.b
 IS THIS THE NEW VERSION OF THE BLUE BOOK OBSERVATION DATA SET (Y/N) ?
 y
 ENTER THE BLUE BOOK DESCRIPTION FILENAME
 charlesc.d
 IS THIS A UNIFIED BLUE BOOK DESCRIPTION DATA SET (Y/N) ?
 y
 WOULD YOU LIKE TO UPDATE THE FILE WITH THE OBS *80* GP AND ELEV (Y/N) ?
 y
 ENTER THE BLUE BOOK OBSERVATION OUTPUT FILENAME
 charlesc.b.o
 ENTER THE BLUE BOOK DESCRIPTION OUTPUT FILENAME
 charlesc.d.o
 ENTER THE PROGRAM OUTPUT FILENAME
 charlesc.o
 
 THE FOLLOWING IS YOUR CHOICE FOR OBSDESED:
 
 BB OBS INPUT FILENAME (NEW VERSION)       - charlesc.b                         
 BB DESC INPUT FILENAME (UNIFIED VERSION)  - charlesc.d                         
 BB OBS OUTPUT FILENAME (NEW VERSION)      - charlesc.b.o                    
 BB DESC OUTPUT FILENAME (UNIFIED VERSION) - charlesc.d.o                    
 UNIFIED DESC *10* APPROX GP/ELEV UPDATED
 PROGRAM OBSDESED OUTPUT FILENAME          - charlesc.o                  
 
 WOULD YOU LIKE TO CONTINUE THIS RUN (Y/N) ?
 y


 PROGRAM OBSDESED V 1.5 OUTPUT FILE - charlesc.o  
 BLUE BOOK INPUT FILES  - charlesc.b                       charlesc.d                    
 BLUE BOOK OUTPUT FILES - charlesc.b.o                     charlesc.d.o                  
 UNIFIED DESC *10* APPROXIMATE GP/ELEV UPDATED

 000130*10*102 RMN383829W077025456.27M         MOPRINCE GEORGES      P           
                                               MD
 CC 47-48 STATE CODE UNMATCHED

 UPDATE DESC *10* STATE CODE  (Y/N) ?
 y
 000140*13*KENLON                                   DS O 05 P  0000              
           KENLOM                        
 CC 11-50 STATION NAME UNMATCHED

 UPDATE DESC *13* STATION NAME (Y/N) ?
 n
 UPDATE OBS *80* STATION NAME (Y/N) ?
 y
 000270*13*CHELTENHAN 2                             DS O 07 P  0000              
           CHELTENHAM 2                  
 CC 11-50 STATION NAME UNMATCHED

 UPDATE DESC *13* STATION NAME (Y/N) ?
 n
 UPDATE OBS *80* STATION NAME (Y/N) ?
 y
 000440*13*BRIARWO0D                                DS N 07 P  0000              
           BRIARWOOD                     
 CC 11-50 STATION NAME UNMATCHED

 UPDATE DESC *13* STATION NAME (Y/N) ?
 y
 000650*10*202 D N383447W0770635  7.9M         MOCHARLES             P           
                                               MD
 CC 47-48 STATE CODE UNMATCHED

 UPDATE DESC *10* STATE CODE  (Y/N) ?
 y
 000930*10*203 D N383035W0770212 46.5M         MDCHARLES             P           
 DESC STATION NAME CC 11-50 - PORT                                    
 CC  11-14 SSN UNMATCHED - PROCESS NEXT 10 RECORD


 THE FOLLOWING BLUE BOOK OBS 80 RECORDS DO NOT HAVE A DESCRIPTION OR RECOVERY
 SSN      STATION NAME

 0303     PORT                          

 PROGRAM OBSDESED TERMINATED
