CTDPLOT: Plotting CTD Data From the GLOBEC Broad Scale Surveys

Program

CTDPLOT.EXE

Purpose

To display and print out CTD data from the Broad Scale surveys

Installation

CTDPLOT is a Windows program (written in Visual Basic), so to use it you must have a PC running Windows. To install the program you will need to copy file to the c:\ root directory and two other files to a new directory. (Two other files may be included on the distribution diskette: commdlg.dll and cmdialog.vbx. These files should already be available in your c:\windows\system subdirectory but they are included for completeness.)

  1. Put the 3.5" disk in drive B (or A, depending upon your machine's configuration.) The examples below assume the 3.5" disk is in Drive B.
  2. Copy brscale2.bln to the root directory:
  3. Make a directory for the program and other program file(s), e.g., mkdir c:\globec\ctdplot
  4. Copy the remaining program files to c:\globec\ctdplot:
  5. A data set from the Broad Scale training cruise conducted last November is included on the disk. Make a directory for this data, e.g., mkdir c:\al9410
  6. Copy the header file (al10.hdr) and the CTD data files to the new directory:
You now have the program and a test data set ready to run.

To Run:

To run the program, select RUN from the menu bar of the Windows Program Manager. In the Command Line box, type c:\globec\ctdplot\ctdplot.exe and select OK. (Note that you can also double click on the ctdplot.exe file name to start the program.) When the program begins, a plot window with a set of axes will appear. To select a data set for plotting, click on Data on the menu bar. A standard Windows dialog box for selecting a file will appear. Move through the directory structure to the directory where the data is stored (e.g., c:\al9410 for the test data set). The header (*.hdr) file should appear in the file listing. Select the *.hdr file (e.g., al10.hdr for the test data set).

The program reads the header file and all of the CTD data files for the stations in the header file. A map of the station locations is drawn - with each represented by a circle. The data for the first station is plotted and listed, its location is indicated on the station map by a blue filled circle, and the time/place information for the station is listed in a separate window.

To display data for another station, click on the station's circle on the station map. With the plot window selected, stations can be sequentially plotted by pressing the right to display the next station, or the left arrow for the previous station.

The plotting limits for the different parameters can be changed by clicking Limits on the plotting window's menu bar. The windows for the data plot and the station map can be changed in size and moved by standard Windows methods.

The Report item on the menu bar provides the option of printing out a plot of the station locations (with or without trackline) and of the plot of the CTD data for an individual station (the one currently plotted on the screen) or of all of the stations. The print out for a station includes the plot of the data and a compressed listing of the data (at standard depths).

To Quit

To quit the program click Quit on the menu bar.

At the end of each Broad Scale survey the CTD data files and a header file will be available. These will be preliminary data, but should be very close to the final values. When you receive a new data set, make a directory for it and copy the data and header files into that directory - as done above for cruise AL9410. You should then have all of the Broad Scale CTD data available to you.

Last edited: February 9, 1995