St. Lawrence Global Observatory   ODMS-Oceanographic Data Management System
Background
Database description
Policy regarding data access
How to cite data used
Need help?
About the logo
FRANÇAIS
   

Utilities-ODF2txt

This utility allows one to convert ODF-CTD data files to simplified text files. The TXT format contains several header lines followed by the data. The first five header lines are fixed while the number of comment lines is variable. The number of data columns is variable and the positions of the data types are not fixed.

Example of a simplified CTD file (data averaged by 10 m):
 

Cruise_Number: IML1995020
Original_Filename: CTD_1995020_1_1_DN.odf
Latitude (degree): 49.300167
Longitude (degree): -67.382167
GMT_Time: 17-MAY-1995 12:30:51.00
Event_Comment: Station 005
Quality_Comment: Correct data (Q=1, Q=5) averaged to 10.0 m intervals
TEMP_01
degreesC
  Q
3.390
1.950
0.861
0.201
-0.134
-0.492
-0.537
-0.525
-0.628
-0.676
  1
1
1
1
1
1
1
1
1
1
PRESS_01
decibars
  Q
10.09
20.18
30.27
40.36
50.46
60.55
70.64
80.74
90.83
100.92
  1
1
1
1
1
1
1
1
1
1
DEPH_01
metres
  Q
10.00
20.00
30.00
40.00
50.00
60.00
70.00
80.00
90.00
100.00
  1
1
1
1
1
1
1
1
1
1
PSAL_01
psu
  Q
29.835
31.206
31.577
31.739
31.847
31.895
31.893
31.879
31.909
31.920
  1
1
1
1
1
1
1
1
1
1
SIGT_01
kg/m**3
  Q
23.732
24.943
25.301
25.465
25.567
25.620
25.620
25.609
25.636
25.647
  1
1
1
1
1
1
1
1
1
1

 
The utility offers several conversion options. The simplest conversion options allow one to extract all the data in the files (option 1) or to replace the data flagged as erroneous (option 2) or as doubtful and erroneous (option 3) with the null value -99.0. The utility can also be used to average the data according to a chosen depth interval (option 4). Options 5 through 8 allow one to regroup the variables depth, temperature, salinity, sigma-t, fluorescence, and dissolved oxygen from several ODF-CTD files into a single simplified file (CTD_Data.TXT).

To use this utility, place all the ODF-CTD files that you wish to convert as well as the file ODF2TXT.exe in the same directory. You then click on the ODF2TXT.exe file and choose the appropriate option. The file or files in simplified TXT format will be created in this same directory.

Download the utility (Zip file, 167 KB)


Fisheries and Oceans Canada - DFO Reviewed: 2012-02-21