Perspective-MB -- XML Utilities Guide -- By: Tony M.
Triton Imaging Inc. Engineering Office 2121 41st Avenue, Suite 211 Capitola, CA 95010 USA +1-831-722-7373 +1-831-475-8446 sales@tritonimaginginc.com support@tritonimaginginc.com © 2012 TRITON This user guide is provided as a means to become familiar with TRITON’s software through an explanation of the options available for processing bathymetry data. The user interface presented in this guide is subject to change to accommodate software upgrades and revisions.
Table of Contents 1.0 Introduction ........................................................................................ 1 2.0 Sound Velocity Profiles............................................................................ 1 3.0 Raw Tide Gauge Data ............................................................................. 5 4.0 Squat Tables ....................................................................................... 7 5.0 Review Data .....................................................
1.0 Introduction Perspective uses the XML format for storing and reading information. Before processing bathymetry data it is important to create XML files for the following ancillary data used during bathymetry processing: 1. Sound Velocity Profiles 2. Raw Tide Gauge Data 3. Squat Tables The XML files are created with Triton’s XML Utilities application shown below. To launch the XML Utilities application, click on the toolbar button shown right.
This will open a file browser to locate the raw SVP file. Once the file is selected, the Sound Velocity Format Parsing dialog will launch as shown below: The top section of the parsing dialog is a read-out of the raw data file. This read-out shows that text and values are separated by spaces and commas in this file. Below the data read-out the Delimiters can be set to separate the values in the file. For this example both the Space and the Comma checkboxes are selected.
The Decoded Header Element section in the bottom right corner of the dialog shows the information extracted from the header. For the data in this file the only values of interest are the depth value and the corresponding sound velocity. Even though Temperature and other values have been recorded in this file we can ignore them and only define the values of interest as shown in the Decoded Data Element section in the example above. To parse the data section of the file: 1.
Once the important header elements have been defined and the data section is parsed, click on the OK button to return to the XML Utilities dialog. Shown below are the results of the Sound Velocity Format Parsing dialog: The sound velocity profile is graphed in the window to the right as a QC tool to verify the results of the parsing dialog. It is important to review the range of values and axis labels and compare them with expected results to make sure the correct Field and Format were applied.
3.0 Raw Tide Gauge Data From the File menu in the XML Utilities application, select the Open tide file option as shown right to convert raw data downloaded from a tide gauge into XML format. This will open a file browser to locate the raw tide file. Once the file is selected, the Tide Format Parsing dialog will launch as below. Note that this file does not contain any header information and starts with data at the top of the file.
To parse the raw tide gauge data: 1. select the first line with data values in the top window 2. select the value of interest in the Parsed Field section on the left 3. indicate what type of value it is in the Field section 4. select the correct format of the value in the Format section 5. set the Attribute type to Data 6. then select Update to apply the settings Once Update is clicked the Decoded Data Element window will update indicating how the value is being interpreted.
4.0 Squat Tables From the File menu in the XML Utilities application, select the Open squat file option as shown right to convert a squat table into XML format. This will open a file browser to locate the raw tide file.
When finished review the Decoded Data Elements to verify the data was parsed correctly before clicking the OK button. Selecting OK will close the parsing dialog and return the user to the main XML Utilities dialog shown below: Note that since squat is not dependent on the position or the date, both of these fields are grayed out. Make sure to click Save As before exiting from the XML Utilities dialog to save the parsing results to a .squat_xml file. 5.