To print this text file, a 10-point/12-pitch fixed font (e.g. Courier) is best ============================================================================== BULLETIN FSB-103 - HOW TO CORRECT BBADCP UP/DOWN ORIENTATION IN POST-PROCESSING DATE/REV: 15NOV96 / 0 ============================================================================== ABSTRACT: Explains how to correct data that was collected with the automatic up/down sensor switch in the wrong position. INSTRUMENT/PROGRAM AFFECTED: All BBADCPs DESCRIPTION: RD Instruments' software only reads the first ensemble to determine the orientation of the BBADCP. If your system started pinging and recording data before it was in the correct orientation, then the programs will display the data upside down (or downside up, depending on your perspective). If you collected data in beam coordinates, our software will also display the velocity components with the wrong sign. To correct this, you must convert the configuration byte in the BBADCP leader data that contains the orientation setting to the correct value. SOLUTION/ACTION: The following procedure explains how to use the BBLIST, BBCONV, and BBMERGE programs to convert the configuration byte in the BBADCP data set to either all up or all down. 1. You must first determine which ensemble has the proper up/down setting in the configuration byte. a. Use the BBLIST program to view your BBADCP data. After your data is loaded, press and then to enter the ADCP setup screen. b. Look at the setting in the ADCP HARDWARE AND FIRMWARE window for the ADCP orientation. c. Now, press the <+> key until you move to the ensemble that has the correct up/down orientation for your deployment. Record this ensemble number for future use. 2. You must now use the BBCONV program to copy the configuration byte from the BBADCP binary data file to an ASCII data file. a. To do this, use the following example of what to enter at the DOS command line. For this example, we will assume that your file name is TEST.000. BBCONV UPDWN.DEC TEST.000 >UPDWN.DAT b. An ASCII text file called UPDWN.DAT will be created. It will have two columns of data. The first column has the ensemble number, and the second column has the configuration byte. NOTE: BBCONV auto- matically goes to the next extension (i.e., TEST.001) if it exists. 3. You must now edit the UPDWN.DAT file so the configuration byte is the same for all ensembles. a. Locate the ensemble number you recorded in step 1c, and copy the correct configuration byte setting to all the other ensembles. Most text editors will allow you "search and replace." b. After all the configuration bytes have been changed, save the file. Be sure not to add any other characters to the file. 4. You can now use BBMERGE to write the new configuration byte back into your data set. BBMERGE will actually write the data into a new data file. It will NOT affect the original file. a. Use the following example of what to enter at the DOS command line. BBMERGE UPDOWN.DEC UPDWN.DAT TEST.000 NEW.000 b. The file NEW.000 will contain the corrected data. NOTE: BBMERGE will automatically go to the next extension (i.e., TEST.001) if it exists. 5. You can now play back your data, and the orientation will be correct. If you collected data in beam coordinates the velocity data will now have the correct signs. NOTE: The above procedure will not work correctly if your up/down sensor switch "bounces" between settings (e.g.; because of rough seas or a bad sensor switch), and if you are collecting data in earth coordinates in the ADCP. In these cases, the data is contaminated and most likely is not recoverable. If you have this problem, please contact RDI for assistance. ==============================================================================