Introduction
Overview
WinFrog is an integrated navigation and data management software package. It was developed by Racal Pelagos, Inc. of San Diego, California (currently Fugro Pelagos, Inc.). IODP uses it to manage and collect data from the following sources:
- Two onboard Trimble Global Positioning System (GPS): Position and Heading
- Ship’s Gyro: Heading
- Bathy 2010 System: Water Depth
- SeaLink Magnetometer: Seafloor magnetics
In addition to data collection, WinFrog:
- Calculates and displays navigational data
- Provides data services to a variety of applications onboard the JR
Master and Back-up Computers
WinFrog software is installed on two mirrored PC computers in the Underway (UW) lab. Either one can be set up as the “Master”, with the other one ready as the back-up machine.
The master machine must have the hardware security key (blue dongle) connected to it, allowing the software to be run. Only one of the two PCs (WinFrog 1 & 2) can be running WinFrog on the network at a time since they share the same IP address. A machine without the key can only run in “Demo” mode, acting as the Smart Remote .
When switching between WinFrog 1 & 2 as the master, it is best to:
- Stop WinFrog
- Move the dongle and necessary COM port cables
- Restart WinFrog
There will be another machine running the software as a Smart Remote that will display our position for the ship-wide video distribution. This remote machine currently resides in the MCS’s server-room.
Software
The current version of WinFrog is V.3.10.19. The original software disk should be stored in the UW lab. WinFrog operates on Windows XP. WinFrog 1 & 2 each have a 4-port RS-232 serial expansion board to connect to the external devices (GPS, gyro, bathymetry). Since version 3.7.14, WinFrog has an IODP requested modification, Position Averaging Utility, to perform site fixes. A Site Fix can be created using the “Unintelligent Design Team” SiteFix Software (LabView program.)
Vendor User Guide
Electronic versions of the WinFrog Vendor User Guide are available as reference material on the WinFrog computers and in the WinFrog Software.
Startup and Working Directories
Overview
WinFrog uses an initiation file (WinFrogini.wfg) to save all of the current settings (e.g., what vehicles are defined, coastlines, and window configurations) and any changes in the program's default settings, including, but not limited to the:
• Placement of the open window
• Names and placement of any defined vehicles and devices
• Geodetic parameters
It also contains the version of WinFrog that created the file. The file is used to configure WinFrog every time the program is started and is created in the system directory (C:\Users). This file is created in the following folder (Windows 10): C:\Users\Public\). The file is overwritten and saved when WinFrog is exited properly.
Saving Files
Regularly save a copy of the WinFrogini.wfg file, both on the working computer and as a backup. Currently there is no set place to save the backup file; however, one of the servers would be best.
Procedures: Start Up
1. Launch WinFrog from the desktop (Figure 2.) On the Master, the program should open with no problems.
— If a dialogue box opens up asking if you want to run in “demo” mode, then cancel and try opening WinFrog again.
— If the program does not open after a few tries, it is usually a problem with the WinFrogini.wfg file. Replace the WinFrogini.wfg file with one of the previously saved versions.
2. Click File -> System Config File... -> Load. If there appears to be a problem with the setup of the I/O Devices, vehicle graphics or vehicle text window, upload a recently saved WinFrog configuration file.
— Always reboot the computer after any kind of computer crash or freeze.
— If WinFrog still does not open after trying all of this, call an MCS to trouble shoot. The worst-case scenario is that WinFrog will have to be reinstalled.
3. Save a new System Configuration file by clicking File -> System Config File… -> Save. This file can then be loaded at any time to reset the system configuration to the saved parameters.
Note: Name the file using the following naming convention: Exp#_date.cfg (e.g., 317_20100123.cfg).
Working Directories
WinFrog will write its *.dat and *.raw data output files to a directory. Before you launch WinFrog, create and setup a new Expedition specific directory (follow the procedure in the next section.) This folder contains the following sub-folders:
- config: This folder contains the file WF Default Config date.cfg which holds the configuration data that WinFrog uses to define the data I/O, navigational displays and various other settings.
- dat: An empty working directory that will hold your data files that you log.
- Logs: An empty working directory that will store your manual events.
- pictures: An empty working directory that will hold screen captures that you take.
- position: An empty working directory that will hold your position files from the Position Averaging Utility
- raw: An empty working directory that will hold your raw dat files that you log.
- survey lines: An empty working directory that will hold your survey data (rarely used).
- vehicle: This folder contains the file JR Rev2.veh which holds the graphical information that defines the JR’s outline in the WinFrog graphic display window.
- waypoints: An empty working directory that will hold waypoint data files you enter.
Procedure: Set Up Working Directories
To set up working directories, perform these steps:
- Find and copy the “Copy Me Expedition Folder” (IODP_Share\_IODP_Technical_Manual\Underway Geophysics\Current\Navigation and Position\)
- Rename the Copy Me folder “Exp nnn” Use the official designation of your current Expedition, Transit or APL. (i.e. Exp 372 or Exp 372T.)
- Select File > Select Working Directories.
- Use the Browse button (Figure 4) to select the new directories created in the previous steps.
- Click OK.
Vehicle Configuration
Overview
In WinFrog, the JOIDES Resolution is a Vehicle. The vehicle configuration process allows the user to create a new vehicle or modify an existing vehicle.
Procedure: Create or Configure the Vehicle
To create a new vehicle or configure an existing vehicle, perform these steps:
- Select Configure -> Vehicles to open the Configure Vehicles window (Figure 5).
- Select the Vehicle Presentation button (red box) in the Configure Vehicles menu window to open that dialog box (Figure 6) and set the following parameters.
- Name the vehicle
- Set the graphic color
- Set the trail color
- Clear the ship’s tail memory, if required
- Select the Configure Vehicle Outline button (green box) in the Configure Vehicles (Figure 5) window to define the vehicle outline and size (Table 1) of the vehicle.
- You may load the values from a previously saved “*.veh” file.
- When a new vehicle is entered, save the values for future use (e.g., Exp#.veh).
WinFrog Coastlines
Overview
WinFrog has the ability to display shorelines or bathymetric contours in its Graphics window by means of loading a “Picture” file. This file has a “.pic” file extension, and it is an ASCII, comma-delimited text format.
The file consists of three record types:
- Picture Point Records to control the “pen up” and “pen down” functions.
- Picture Control Records to control the line color and style functions.
- Picture Text Records to control the way text is represented.
See the WinFrog Vendor User Guide for exact definitions of the individual data fields.
The data points in these files may be:
- Entered manually
- Read directly from an interfaced digitizer
- Obtained by downloading and converting a file from some third party source (recommended.)
Third Party File Sources (Coastlines)
The usual source for third-party files is the National Geophysical Data Center (NGDC.) The NGDC provides world-wide digitized shorelines over the Internet free of charge. This is the recommended source for displaying coastline data in WinFrog for an IODP Expedition.
Downloading Files from the National Geophysical Data Center
The USGS Coastline Extractor was created by Rich Signell and is hosted by NOAA/National Geophysical Data Center (NGDC.) It can be downloaded as part of the GEOphysical DAta System (GEODAS) software tool. The link is:
• https://ngdc.noaa.gov/mgg/geodas/trackline.html
The Coastline Extractor is downloaded on both WinFrog Machines. The coastline data can be extracted without internet access. To download a source file, perform these steps:
- Open the GEODAS Coastline Extractor (Figure 7.)
- Define the Geographic Range required. Remember that when defining the area, west longitudes and south latitudes are entered as negative values. Try to define the limits accurately to keep the file size small.
- Define which Coastline database to use. The smaller the scale, the better resolution (and the larger the file size.) Depending upon proximity to shore, WCL (World Coast Line) 1:5,000,000 scale works best.
- Select the method of File Compression for extracted ASCII data, if any, to use in conjunction with the file transfer. The choices are:
- None
- GNU GZIP
- Unix Compressed
- ZIP
- The Coast Format Options offers a selection of formats recognized by common mapping software packages such as ArcInfo. For WinFrog, select the “Matlab” option.
- The Coast Preview Option allows the user to preview the data using the GMT Plot option before downloading to ensure the proper geographical limits were defined. The two choices are:
- No Preview
- GMT Plot
- Click on the SUBMIT - Extract the Coastline File button to proceed to the preview. Wait for the preview to generate. If you abort and reload, it complicates the process.
- If the preview is not to your liking, click on the browser Back button to return to the configuration page. Reconfigure the options as required.
- Save the file to an appropriate location ( C:\UW Support Apps\Makepic) on the computer’s hard drive by right clicking on the *.dat link and selecting ‘Save Link As’.
- The program “Makepic” described below can be configured to create a .pic file with a custom name. The downloaded ASCII file is defined by a “.dat” or
...
- “.txt” file extension.
Making the Downloaded File WinFrog Ready
The data from the Coastline Extractor must be reformatted to WinFrog’s .PIC file format using the MakePic.m Matlab script (or Makepic.py python script.)
To convert the file, perform these steps.
- Double click on C:\Makepic\MAKEPIC.m to start Matlab and run the script.
- Edit the script by changing the filename to load (i.e. the extracted coastline (e.g. x372.dat.)
- Edit the output (*.pic) filename (file name and extension example: ant.pic)
- Run the Script (click the green Triangle button in Matlab.)
Info |
---|
NOTE from x369 Tech Report: The MakePic.exe DOS executable will not run in the new Win10 Enterprise 64-bit environment. Makepic.exe was installed on the GC3 PC for use. |
A header must be included on the first line of the .pic. The following header is typically used: “2, Coast, 7, 0, 0”. Each parameter (separated by the comma) is defined below.
2 | Picture Control Records | Always use number 2 |
Coast | Name of the picture segment | Leave as Coast |
7 | Pen color for the Graphics window | 0= black 1= red 2=yellow 3=green 4=cyan, 5=blue 6=magenta 7=white 8=gray |
0 | Line style for the Graphics window | 0 = solid 1 = dashed |
0 | Reserved for future use | NA |
Displaying the Picture File in WinFrog
To make your picture file the Working Picture File, perform these steps.
- Select File -> Select Working Files.
- Select the Picture radiobutton, then enter the desired file name and directory location or usetheBrowse buttonto find the correct file.
- Select Configure -> Graphics from the top pull down menu to enable viewing of the picture.
- Edit the contents of the Working Picture File as necessary. Sometimes the files contain an initial point that has coordinates of 0 degrees latitude and 0 degrees longitude. This point should be deleted from the file.
- Select File -> Edit Working Files -> Picture
- Select or leave the line that reads COAST
- Click OK
- Select or leave the line that reads Click Select the Background tab
- Edit
Geodetics
Overview
Geodetic data are used in geodesy, navigation, surveying by cartographers and satellite navigation systems to translate positions indicated on their products to their real position on Earth. The systems are needed because the Earth is not a perfect sphere. Examples of map data are:
- WGS 84, 72, 64 and 60 of the World Geodetic System
- NAD83, the North American Datum (similar to WGS84)
- NAD27, the older North American Datum, of which NAD83 was a readjustment
- OSGB36 of the Ordnance Survey of Great Britain
- ED50 : the European Datum
The difference in co-ordinates between data is commonly referred to as datum shift. The datum shift between two particular datums can vary from one place to another within one country or region, and can be anything from zero to hundreds of meters (or several kilometers for some remote islands).
The Trimble GPS report Latitude and Longitude coordinates in WGS 84 by default. It is recommended to set the WinFrog Geodetics to WGS84 UTM (Universal Transverse Mercator Projection.) WinFrog converts the Latitude and Longitude into Eastings and Northings (meters from an origin.) The UTM parameters in WinFrog have -50000.00m False easting. The origin is defined by the UTM zone. The UTM zone is a function of longitude.
Procedure: Set Geodetics
To set the geodetics, perform these steps (Figure 8):
- Select Configure -> Geodetics.
- Select WGS84 UTM in the pull down menu under the General Projection sub-window.
- Select the appropriate Zone in the Specific Projection sub-window pull down menu. The zone is based on the current Longitude. This setting must be updated as the vessel moves from one zone to the next when the ship transits.
Note: It is important when performing a Site Fix to select the correct UTM zone. Long transits between sites can mean several zone changes. Be sure when running the Position Averaging Utility the zone for that Site Fix is correct.
Blue Marble Layers
WinFrog v3.10 can display complex coastline data and maps by creating or loading a Blue Marble Layer (BML.) This file type has a .BML file extension. WinFrog has a utility to create the .BML from different file sources (Geotiff maps, vector maps, etc.) See the WinFrog help for more information.
Adding and Editing I/O Devices
Overview
Once you have configured the JOIDES Resolution Vehicle, you are ready to add vehicle devices. The devices covered in this section are the:
- GPS
- Gyro
- NMEA Output Device
- SeasSpy Magnetometer
- Depth Data from Bathy 2010
COM Ports
Both WinFrog PCs (WF1 and WF2) are equipped with National Instruments RS232-USB routers that allow them to connect 4 com ports each. The Bathy2010 depth sounder and SeaSpy Magnetometer are connected to the WinFrog machines through COM ports. The other instruments (GPS and Gyro) and data distribution are wired via TCP/IP into the ships network. The TCP/IP connections are labeled as COM0 devices in WinFrog Vehicle devices. The current com port designations are detailed in Figure 9 and listed below:
COM Port Configurations on WinFrog1 and WinFrog2 using NI RS232-USB router or TCP/IP:
- COM11 – SEASPY GPS - Out
- COM12 – SEASPY MAG - In
- COM13 – BATHY GPS - OUT
- COM14 – BATHY DEPTH - IN
- 165.91.72.18 – TRIMBLE - AFT GPS
- 165.91.72.16 – TRIMBLE - FWD GPS
- 165.91.72.18 – TRIMBLE - AFT GPS
Adding I/O Devices
To add a device select Configure -> I/O Devices -> Add menu and select each device to be added. This procedure is the same for all devices.
Procedure: Adding a GPS I/O Device
- In the Add Device window, expand the GPS device folder (Figure 10, left).
- Scroll down and select NMEA GPS (Figure 10, right).
- Click OK
- Select the TCP/IP radio button after the NMEA GPS Interface dialog box opens (Figure 11).
Type the following device parameters into the TCP/IP Configuration section. A Marine Computer Specialist can provide these details. The device parameters for the Aft and Forward Trimble GPS are:
Device
Host Address
Port Number
Device Name
Trimble Aft GPS
165.91.72.118
5018
Aft Trimble GPS – IN
Trimble Forward GPS
165.91.72.116
5018
Fwd Trimble GPS – IN
- Select the Connection Type to Call.
- Click OK
- Click Configure -> Vehicles to open the Configure Vehicles window (Figure 12, left) to add the device to the vehicle.
- Select Configure Vehicle-Devices (blue rectangle Figure 12, left).
- Click Add in the new window (red arrow, Figure 12, right) to open the Select Data Items window.
- Make sure the Position and Heading for the GPS (Figure 13) are highlighted in the Select Data Items window.
- Click OK.
Setting the GPS Antenna Offset
The origin for the JOIDES Resolution is usually set to the moonpool, therefore, the offset of the GPS antennas from the moonpool must be entered. From the Configure Vehicle-Devices window:
- Select the GPS device (Figure 14, left).
- Click Edit (red arrow).
- Enter the offset values (green dashed box, Figure 14, right) (aft and stbd values added to the offset boxes should be negative values).
Adding Gyro I/O Device
- Select Configure -> I/O Devices -> Add from the top menu.
- In the Add Device window, expand the Gyro device folder.
- Scroll down and select NMEA Gyro.
- Click OK.
- In the window that opens next, select the TCP/IP interface radio button (Figure 11)
- Type the TCP/IP Configuration parameters for the Gyro (available from MCS):
- Host Address: 192.168.190.99
- Port Number: 10001
- Device Name: DP Gyro - IN
- Click OK.
- Click Configure -> Vehicles to open the Configure Vehicles window to add the device to the vehicle.
- Select Configure Vehicle-Devices (blue rectangle Figure 12, left).
- Click Add in the new window(Figure 12, right) to open the Select Data Items window.