Commit cf7f7089 authored by caveenj's avatar caveenj

Premiere version fonctionnelle de odf2csv

Version fonctionnelle sous linux avec
elimination des donnees douteuses et erronnees
et moyennage a intervalles reguliers
parent ba2cabcb
#########################################################
# Classe variable pour les fichiers ODF
#
# Pour chaque variable du fichier, on enmagasine
# le nom, le code, les unites, le Print_field_width, le print_decimal_places
# et on attribue un numero a la variable.
# Ce numero permet de trouver l'objet variable contenant
# les parametres de controle de qualite d'une variable donnee:
# Par exemple, si la variable temperature a le numero 1, ses QQQQ ont
# le numero 2
#
#James Caveen : juillet 2006
#
#Parametres d'instanciation:
# num_var: numero sequentiel de la variable
# nom: Nom complet (e.g., 'Sensor Depth Below...)
# code: Nom court (e.g., DEPH_01)
# unites: unites dela variable
# p_f_w: Print field width (utilise par getvaleur)
# p_d_p: Print decimal places (utilise par getvaleur)
################################################################
class variable:
def __init__(self,num_var,nom,code,unites,p_f_w,p_d_p):
self.numero = num_var
self.nom = nom
self.code = code
self.unites = unites
self.p_f_w = p_f_w
self.p_d_p = p_d_p
self.valeurs = []
def __str__(self):
return "Numero:%d Nom: %s Code: %s Unites: %s PRINT_FIELD_WIDTH: %s PRINT_DECIMAL_PLACES: %s" % \
(self.numero,self.nom,self.code,self.unites,self.p_f_w,self.p_d_p)
def getnumero(self):
return self.numero
def getnom (self):
return self.nom
def getcode (self):
return self.code
def getunites (self):
return self.unites
def getp_f_w (self):
return self.p_f_w
def getp_d_p (self):
return self.p_d_p
def getnbval(self):
return len(self.valeurs)
def addvaleur(self,valeur):
self.valeurs.append(valeur)
def setvaleur(self,index, valeur):
self.valeurs[index] = valeur
def replaceallvaleurs(self, valeurs):
self.valeurs[:] = valeurs
def getvaleur(self,index):
format1 = '%'
format2 = '%d.%df' % (self.p_f_w,self.p_d_p)
format = format1 + format2
return format % float(self.valeurs[index])
def getallvaleurs(self):
for val in self.valeurs:
print val
This diff is collapsed.
########################################################
# Defintion des fonctions utilisees par odf2txt.py
#
# James Caveen : juillet 2006
#
# Fonctions ecrites a partir du programme odf2txt de C. Lafleur (IML)
########################################################
import math
#------------------------------------------------
# Calcul de la profondeur (metres) a partir de la pression (db)
#------------------------------------------------
def pres2depth(pin,lat):
c = [9.72659e0, -2.2512e-5, 2.279e-10, -1.82e-15]
gammap = 2.184e-6
p = pin
slat = math.sin( lat/57.29578 )
slat2 = slat*slat
g = 9.780318*( 1. + 5.2788e-3*slat2 + 2.36e-5*slat2*slat2)
tmp1 = ( ( ( c[3] *p + c[2] )*p + c[1] )*p + c[0] )*p
tmp2 = g + .5*gammap*p
return tmp1/tmp2
#------------------------------------------------
# Calcul de la pression (db) a partir de la profondeur (metres)
#------------------------------------------------
def depth2pres(din,lat):
c = [5.92e-3, 5.25e-3, 8.84e-6, 4.42e-6]
slat = math.sin( lat/57.29578 )
slat2 = slat*slat
c1 = c[0] + slat2*c[1]
return ((1-c1)-math.sqrt(((1-c1)**2) - (c[2]*din)))/c[3]
def usage():
print "Usage: "
print "odf2csv -i ficin -o ficout [-m interval | -a ] [-d] [-e ]"
print " ou:"
print "odf2csv --input ficin --output ficout [--mean interval | --all] [--error] [--doubtfull]"
print ""
print "ficin : fichier entree (input file)"
print "ficout: fichier sortie (output file"
print "interval : intervale de profondeurs pour donnees moyennees"
print " (depth interval for mean data)"
print "-a : toutes les donnees : ne pas moyenner"
print " (all data : do not average)"
print "-d : conserver donnees douteuses (keep data flaged as doubtfull)"
print "-e : conserver donnees erronnees (keep data flaged as erroneous)"
ODF_HEADER,
FILE_SPECIFICATION = 'BT_1979005_17_1_',
CRUISE_HEADER,
COUNTRY_INSTITUTE_CODE = 1830,
CRUISE_NUMBER = '1979005',
ORGANIZATION = 'DSO',
CHIEF_SCIENTIST = 'Jean-Claude Therriault',
START_DATE = '25-OCT-1979 00:00:00.00',
END_DATE = '03-NOV-1979 23:59:00.00',
PLATFORM = 'Unknown',
CRUISE_NAME = 'Mission 5, Octobre 1979, Variations saisonnieres de l`estuaire maritime',
CRUISE_DESCRIPTION = 'MEDS cruise number 1979005',
EVENT_HEADER,
DATA_TYPE= 'BT',
EVENT_NUMBER= '17',
EVENT_QUALIFIER1= '1',
EVENT_QUALIFIER2= '',
CREATION_DATE= '27-APR-2005 12:56:02.80',
ORIG_CREATION_DATE= '17-NOV-1858 00:00:00.00',
START_DATE_TIME= '30-OCT-1979 18:04:00.00',
END_DATE_TIME= '17-NOV-1858 00:00:00.00',
INITIAL_LATITUDE= 48.983300,
INITIAL_LONGITUDE= -68.316700,
END_LATITUDE= -99.990000,
END_LONGITUDE= -999.990000,
MIN_DEPTH= 0.00,
MAX_DEPTH= 124.30,
SAMPLING_INTERVAL= -99.0,
SOUNDING= 186.00,
DEPTH_OFF_BOTTOM= 61.70,
EVENT_COMMENTS= 'MEDS event number 24',
EVENT_COMMENTS= 'La profondeur du fond est celle la position vise',
INSTRUMENT_HEADER,
INST_TYPE= 'Bathythermograph',
MODEL= 'Manual',
SERIAL_NUMBER= '',
DESCRIPTION= '',
QUALITY_HEADER,
QUALITY_DATE= '27-APR-2005 12:55:54.41',
QUALITY_TESTS= 'Test 1.1: GTSPP Platform Identification',
QUALITY_TESTS= 'Test 1.2: GTSPP Impossible Date/Time',
QUALITY_TESTS= 'Test 1.3: GTSPP Impossible Location',
QUALITY_TESTS= 'Test 1.4: GTSPP Position on Land',
QUALITY_TESTS= 'Test 1.5: GTSPP Impossible Speed',
QUALITY_TESTS= 'Test 1.6: GTSPP Impossible Sounding',
QUALITY_TESTS= 'Test 5.1: GTSPP Cruise Track Visual Inspection',
QUALITY_TESTS= 'Test 2.0: IML Minimum Descent Rate (2) (0.10m/s)',
QUALITY_TESTS= 'Test 2.1: GTSPP Global Impossible Parameter Values (4)',
QUALITY_TESTS= 'Test 2.2: GTSPP Regional Impossible Parameter Values (8)',
QUALITY_TESTS= 'Test 2.3: GTSPP Increasing Depth (16)',
QUALITY_TESTS= 'Test 2.4: GTSPP Profile Envelope (Temperature and Salinity) (32)',
QUALITY_TESTS= 'Test 2.7: GTSPP Spike in Temperature and Salinity (one point) (256)',
QUALITY_TESTS= 'Test 2.8: GTSPP Top and Bottom Spike in Temperature and Salinity (512)',
QUALITY_TESTS= 'Test 2.9: GTSPP Gradient in Temperature and Salinity (1024)',
QUALITY_TESTS= 'Test 3.5: IML Petrie Monthly Climatology (Temperature, Salinity and Sigma-T)',
QUALITY_TESTS= 'Test 5.2: GTSPP Profile Visual Inspection',
QUALITY_COMMENTS= 'QCFF values are derived from tests of GTSPP stage 2',
QUALITY_COMMENTS= 'A quality flag modified by hand has a QCFF value of 1',
HISTORY_HEADER,
CREATION_DATE= '13-APR-2005 15:46:44.64',
PROCESS= 'Conversion partir d`un fichier MBT en provenance du MEDS',
PARAMETER_HEADER,
TYPE= 'DOUB',
NAME= 'Sensor Depth below Sea Surface',
UNITS= 'metres',
CODE= 'DEPH_01',
NULL_VALUE= -9.900000E+001,
PRINT_FIELD_WIDTH= 9,
PRINT_DECIMAL_PLACES= 2,
ANGLE_OF_SECTION= 0.000000,
MAGNETIC_VARIATION= 0.000000,
DEPTH= 0.000000 ,
MINIMUM_VALUE= 0,
MAXIMUM_VALUE= 124.3,
NUMBER_VALID= 15,
NUMBER_NULL= 0,
PARAMETER_HEADER,
TYPE= 'DOUB',
NAME= 'Quality flag: Sensor Depth below Sea Surface',
UNITS= 'none',
CODE= 'QQQQ_01',
NULL_VALUE= -9.900000E+001,
PRINT_FIELD_WIDTH= 1,
PRINT_DECIMAL_PLACES= 0,
ANGLE_OF_SECTION= 0.000000,
MAGNETIC_VARIATION= 0.000000,
DEPTH= 0.000000 ,
MINIMUM_VALUE= 1,
MAXIMUM_VALUE= 1,
NUMBER_VALID= 15,
NUMBER_NULL= 0,
PARAMETER_HEADER,
TYPE= 'DOUB',
NAME= 'Sea Temperature (IPTS-68)',
UNITS= 'degrees C',
CODE= 'TEMP_01',
NULL_VALUE= -9.900000E+001,
PRINT_FIELD_WIDTH= 10,
PRINT_DECIMAL_PLACES= 3,
ANGLE_OF_SECTION= 0.000000,
MAGNETIC_VARIATION= 0.000000,
DEPTH= 0.000000 ,
MINIMUM_VALUE= 0.5,
MAXIMUM_VALUE= 4.1,
NUMBER_VALID= 15,
NUMBER_NULL= 0,
PARAMETER_HEADER,
TYPE= 'DOUB',
NAME= 'Quality flag: Sea Temperature (IPTS-68)',
UNITS= 'none',
CODE= 'QQQQ_02',
NULL_VALUE= -9.900000E+001,
PRINT_FIELD_WIDTH= 1,
PRINT_DECIMAL_PLACES= 0,
ANGLE_OF_SECTION= 0.000000,
MAGNETIC_VARIATION= 0.000000,
DEPTH= 0.000000 ,
MINIMUM_VALUE= 1,
MAXIMUM_VALUE= 1,
NUMBER_VALID= 15,
NUMBER_NULL= 0,
PARAMETER_HEADER,
TYPE= 'DOUB',
NAME= 'Quality flag: QCFF',
UNITS= 'none',
CODE= 'QCFF_01',
NULL_VALUE= -9.900000E+001,
PRINT_FIELD_WIDTH= 1,
PRINT_DECIMAL_PLACES= 0,
ANGLE_OF_SECTION= 0.000000,
MAGNETIC_VARIATION= 0.000000,
DEPTH= 0.000000 ,
MINIMUM_VALUE= 0,
MAXIMUM_VALUE= 0,
NUMBER_VALID= 15,
NUMBER_NULL= 0,
RECORD_HEADER,
NUM_CALIBRATION= 0,
NUM_SWING= 0,
NUM_HISTORY= 1,
NUM_CYCLE= 15,
NUM_PARAM= 5,
-- DATA --
0.00 1 4.100 1 0
0.40 1 4.000 1 0
0.60 1 3.700 1 0
1.30 1 3.400 1 0
7.30 1 3.100 1 0
13.50 1 3.200 1 0
16.20 1 3.400 1 0
22.30 1 3.300 1 0
30.20 1 2.400 1 0
35.40 1 1.900 1 0
40.60 1 1.300 1 0
50.00 1 0.900 1 0
61.70 1 0.700 1 0
76.10 1 0.600 1 0
124.30 1 0.500 1 0
ODF_HEADER,
FILE_SPECIFICATION = 'BT_1979005_1_1_',
CRUISE_HEADER,
COUNTRY_INSTITUTE_CODE = 1830,
CRUISE_NUMBER = '1979005',
ORGANIZATION = 'DSO',
CHIEF_SCIENTIST = 'Jean-Claude Therriault',
START_DATE = '25-OCT-1979 00:00:00.00',
END_DATE = '03-NOV-1979 23:59:00.00',
PLATFORM = 'Unknown',
CRUISE_NAME = 'Mission 5, Octobre 1979, Variations saisonnieres de l`estuaire maritime',
CRUISE_DESCRIPTION = 'MEDS cruise number 1979005',
EVENT_HEADER,
DATA_TYPE= 'BT',
EVENT_NUMBER= '1',
EVENT_QUALIFIER1= '1',
EVENT_QUALIFIER2= '',
CREATION_DATE= '27-APR-2005 12:56:03.80',
ORIG_CREATION_DATE= '17-NOV-1858 00:00:00.00',
START_DATE_TIME= '02-NOV-1979 13:20:00.00',
END_DATE_TIME= '17-NOV-1858 00:00:00.00',
INITIAL_LATITUDE= 48.166700,
INITIAL_LONGITUDE= -69.566700,
END_LATITUDE= -99.990000,
END_LONGITUDE= -999.990000,
MIN_DEPTH= 0.00,
MAX_DEPTH= 137.90,
SAMPLING_INTERVAL= -99.0,
SOUNDING= 173.00,
DEPTH_OFF_BOTTOM= 35.10,
EVENT_COMMENTS= 'MEDS event number 34',
EVENT_COMMENTS= 'La profondeur du fond est celle la position vise',
INSTRUMENT_HEADER,
INST_TYPE= 'Bathythermograph',
MODEL= 'Manual',
SERIAL_NUMBER= '',
DESCRIPTION= '',
QUALITY_HEADER,
QUALITY_DATE= '27-APR-2005 12:55:54.73',
QUALITY_TESTS= 'Test 1.1: GTSPP Platform Identification',
QUALITY_TESTS= 'Test 1.2: GTSPP Impossible Date/Time',
QUALITY_TESTS= 'Test 1.3: GTSPP Impossible Location',
QUALITY_TESTS= 'Test 1.4: GTSPP Position on Land',
QUALITY_TESTS= 'Test 1.5: GTSPP Impossible Speed',
QUALITY_TESTS= 'Test 1.6: GTSPP Impossible Sounding',
QUALITY_TESTS= 'Test 5.1: GTSPP Cruise Track Visual Inspection',
QUALITY_TESTS= 'Test 2.0: IML Minimum Descent Rate (2) (0.10m/s)',
QUALITY_TESTS= 'Test 2.1: GTSPP Global Impossible Parameter Values (4)',
QUALITY_TESTS= 'Test 2.2: GTSPP Regional Impossible Parameter Values (8)',
QUALITY_TESTS= 'Test 2.3: GTSPP Increasing Depth (16)',
QUALITY_TESTS= 'Test 2.4: GTSPP Profile Envelope (Temperature and Salinity) (32)',
QUALITY_TESTS= 'Test 2.7: GTSPP Spike in Temperature and Salinity (one point) (256)',
QUALITY_TESTS= 'Test 2.8: GTSPP Top and Bottom Spike in Temperature and Salinity (512)',
QUALITY_TESTS= 'Test 2.9: GTSPP Gradient in Temperature and Salinity (1024)',
QUALITY_TESTS= 'Test 3.5: IML Petrie Monthly Climatology (Temperature, Salinity and Sigma-T)',
QUALITY_TESTS= 'Test 5.2: GTSPP Profile Visual Inspection',
QUALITY_COMMENTS= 'QCFF values are derived from tests of GTSPP stage 2',
QUALITY_COMMENTS= 'A quality flag modified by hand has a QCFF value of 1',
HISTORY_HEADER,
CREATION_DATE= '13-APR-2005 15:46:45.97',
PROCESS= 'Conversion partir d`un fichier MBT en provenance du MEDS',
PARAMETER_HEADER,
TYPE= 'DOUB',
NAME= 'Sensor pressure below Sea Surface',
UNITS= 'db',
CODE= 'PRES_01',
NULL_VALUE= -9.900000E+001,
PRINT_FIELD_WIDTH= 9,
PRINT_DECIMAL_PLACES= 2,
ANGLE_OF_SECTION= 0.000000,
MAGNETIC_VARIATION= 0.000000,
DEPTH= 0.000000 ,
MINIMUM_VALUE= 0,
MAXIMUM_VALUE= 137.9,
NUMBER_VALID= 7,
NUMBER_NULL= 0,
PARAMETER_HEADER,
TYPE= 'DOUB',
NAME= 'Quality flag: Sensor Depth below Sea Surface',
UNITS= 'none',
CODE= 'QQQQ_01',
NULL_VALUE= -9.900000E+001,
PRINT_FIELD_WIDTH= 1,
PRINT_DECIMAL_PLACES= 0,
ANGLE_OF_SECTION= 0.000000,
MAGNETIC_VARIATION= 0.000000,
DEPTH= 0.000000 ,
MINIMUM_VALUE= 1,
MAXIMUM_VALUE= 1,
NUMBER_VALID= 7,
NUMBER_NULL= 0,
PARAMETER_HEADER,
TYPE= 'DOUB',
NAME= 'Sea Temperature (IPTS-68)',
UNITS= 'degrees C',
CODE= 'TEMP_01',
NULL_VALUE= -9.900000E+001,
PRINT_FIELD_WIDTH= 10,
PRINT_DECIMAL_PLACES= 3,
ANGLE_OF_SECTION= 0.000000,
MAGNETIC_VARIATION= 0.000000,
DEPTH= 0.000000 ,
MINIMUM_VALUE= 1.3,
MAXIMUM_VALUE= 3.7,
NUMBER_VALID= 7,
NUMBER_NULL= 0,
PARAMETER_HEADER,
TYPE= 'DOUB',
NAME= 'Quality flag: Sea Temperature (IPTS-68)',
UNITS= 'none',
CODE= 'QQQQ_02',
NULL_VALUE= -9.900000E+001,
PRINT_FIELD_WIDTH= 1,
PRINT_DECIMAL_PLACES= 0,
ANGLE_OF_SECTION= 0.000000,
MAGNETIC_VARIATION= 0.000000,
DEPTH= 0.000000 ,
MINIMUM_VALUE= 1,
MAXIMUM_VALUE= 1,
NUMBER_VALID= 7,
NUMBER_NULL= 0,
PARAMETER_HEADER,
TYPE= 'DOUB',
NAME= 'Quality flag: QCFF',
UNITS= 'none',
CODE= 'QCFF_01',
NULL_VALUE= -9.900000E+001,
PRINT_FIELD_WIDTH= 1,
PRINT_DECIMAL_PLACES= 0,
ANGLE_OF_SECTION= 0.000000,
MAGNETIC_VARIATION= 0.000000,
DEPTH= 0.000000 ,
MINIMUM_VALUE= 0,
MAXIMUM_VALUE= 0,
NUMBER_VALID= 7,
NUMBER_NULL= 0,
RECORD_HEADER,
NUM_CALIBRATION= 0,
NUM_SWING= 0,
NUM_HISTORY= 1,
NUM_CYCLE= 7,
NUM_PARAM= 5,
-- DATA --
0.00 3 3.700 1 0
13.60 4 3.500 1 0
21.50 1 3.100 1 0
31.20 1 2.600 3 0
56.90 1 1.800 4 0
130.10 1 1.400 1 0
137.90 1 1.300 1 0
ODF_HEADER,
FILE_SPECIFICATION = 'BT_1979005_5_1_',
CRUISE_HEADER,
COUNTRY_INSTITUTE_CODE = 1830,
CRUISE_NUMBER = '1979005',
ORGANIZATION = 'DSO',
CHIEF_SCIENTIST = 'Jean-Claude Therriault',
START_DATE = '25-OCT-1979 00:00:00.00',
END_DATE = '03-NOV-1979 23:59:00.00',
PLATFORM = 'Unknown',
CRUISE_NAME = 'Mission 5, Octobre 1979, Variations saisonnieres de l`estuaire maritime',
CRUISE_DESCRIPTION = 'MEDS cruise number 1979005',
EVENT_HEADER,
DATA_TYPE= 'BT',
EVENT_NUMBER= '5',
EVENT_QUALIFIER1= '1',
EVENT_QUALIFIER2= '',
CREATION_DATE= '27-APR-2005 12:56:03.69',
ORIG_CREATION_DATE= '17-NOV-1858 00:00:00.00',
START_DATE_TIME= '01-NOV-1979 19:44:00.00',
END_DATE_TIME= '17-NOV-1858 00:00:00.00',
INITIAL_LATITUDE= 48.266700,
INITIAL_LONGITUDE= -69.283300,
END_LATITUDE= -99.990000,
END_LONGITUDE= -999.990000,
MIN_DEPTH= 0.00,
MAX_DEPTH= 274.50,
SAMPLING_INTERVAL= -99.0,
SOUNDING= -99.00,
DEPTH_OFF_BOTTOM= -99.00,
EVENT_COMMENTS= 'MEDS event number 33',
EVENT_COMMENTS= 'Position ajuste en fonction de l`information inscrite sur la feuille d`chantillonnage',
INSTRUMENT_HEADER,
INST_TYPE= 'Bathythermograph',
MODEL= 'Manual',
SERIAL_NUMBER= '',
DESCRIPTION= '',
QUALITY_HEADER,
QUALITY_DATE= '27-APR-2005 12:55:54.70',
QUALITY_TESTS= 'Test 1.1: GTSPP Platform Identification',
QUALITY_TESTS= 'Test 1.2: GTSPP Impossible Date/Time',
QUALITY_TESTS= 'Test 1.3: GTSPP Impossible Location',
QUALITY_TESTS= 'Test 1.4: GTSPP Position on Land',
QUALITY_TESTS= 'Test 1.5: GTSPP Impossible Speed',
QUALITY_TESTS= 'Test 1.6: GTSPP Impossible Sounding',
QUALITY_TESTS= 'Test 5.1: GTSPP Cruise Track Visual Inspection',
QUALITY_TESTS= 'Test 2.0: IML Minimum Descent Rate (2) (0.10m/s)',
QUALITY_TESTS= 'Test 2.1: GTSPP Global Impossible Parameter Values (4)',
QUALITY_TESTS= 'Test 2.2: GTSPP Regional Impossible Parameter Values (8)',
QUALITY_TESTS= 'Test 2.3: GTSPP Increasing Depth (16)',
QUALITY_TESTS= 'Test 2.4: GTSPP Profile Envelope (Temperature and Salinity) (32)',
QUALITY_TESTS= 'Test 2.7: GTSPP Spike in Temperature and Salinity (one point) (256)',
QUALITY_TESTS= 'Test 2.8: GTSPP Top and Bottom Spike in Temperature and Salinity (512)',
QUALITY_TESTS= 'Test 2.9: GTSPP Gradient in Temperature and Salinity (1024)',
QUALITY_TESTS= 'Test 3.5: IML Petrie Monthly Climatology (Temperature, Salinity and Sigma-T)',
QUALITY_TESTS= 'Test 5.2: GTSPP Profile Visual Inspection',
QUALITY_COMMENTS= 'QCFF values are derived from tests of GTSPP stage 2',
QUALITY_COMMENTS= 'A quality flag modified by hand has a QCFF value of 1',
HISTORY_HEADER,
CREATION_DATE= '13-APR-2005 15:46:45.81',
PROCESS= 'Conversion partir d`un fichier MBT en provenance du MEDS',
PARAMETER_HEADER,
TYPE= 'DOUB',
NAME= 'Sensor Depth below Sea Surface',
UNITS= 'metres',
CODE= 'DEPH_01',
NULL_VALUE= -9.900000E+001,
PRINT_FIELD_WIDTH= 9,
PRINT_DECIMAL_PLACES= 2,
ANGLE_OF_SECTION= 0.000000,
MAGNETIC_VARIATION= 0.000000,
DEPTH= 0.000000 ,
MINIMUM_VALUE= 0,
MAXIMUM_VALUE= 274.5,
NUMBER_VALID= 14,
NUMBER_NULL= 0,
PARAMETER_HEADER,
TYPE= 'DOUB',
NAME= 'Quality flag: Sensor Depth below Sea Surface',
UNITS= 'none',
CODE= 'QQQQ_01',
NULL_VALUE= -9.900000E+001,
PRINT_FIELD_WIDTH= 1,
PRINT_DECIMAL_PLACES= 0,
ANGLE_OF_SECTION= 0.000000,
MAGNETIC_VARIATION= 0.000000,
DEPTH= 0.000000 ,
MINIMUM_VALUE= 1,
MAXIMUM_VALUE= 1,
NUMBER_VALID= 14,
NUMBER_NULL= 0,
PARAMETER_HEADER,
TYPE= 'DOUB',
NAME= 'Sea Temperature (IPTS-68)',
UNITS= 'degrees C',
CODE= 'TEMP_01',
NULL_VALUE= -9.900000E+001,
PRINT_FIELD_WIDTH= 10,
PRINT_DECIMAL_PLACES= 3,
ANGLE_OF_SECTION= 0.000000,
MAGNETIC_VARIATION= 0.000000,
DEPTH= 0.000000 ,
MINIMUM_VALUE= 1,
MAXIMUM_VALUE= 4.9,
NUMBER_VALID= 14,
NUMBER_NULL= 0,
PARAMETER_HEADER,
TYPE= 'DOUB',
NAME= 'Quality flag: Sea Temperature (IPTS-68)',
UNITS= 'none',
CODE= 'QQQQ_02',
NULL_VALUE= -9.900000E+001,
PRINT_FIELD_WIDTH= 1,
PRINT_DECIMAL_PLACES= 0,
ANGLE_OF_SECTION= 0.000000,
MAGNETIC_VARIATION= 0.000000,
DEPTH= 0.000000 ,
MINIMUM_VALUE= 1,
MAXIMUM_VALUE= 1,
NUMBER_VALID= 14,
NUMBER_NULL= 0,
PARAMETER_HEADER,
TYPE= 'DOUB',
NAME= 'Quality flag: QCFF',
UNITS= 'none',
CODE= 'QCFF_01',
NULL_VALUE= -9.900000E+001,
PRINT_FIELD_WIDTH= 1,
PRINT_DECIMAL_PLACES= 0,
ANGLE_OF_SECTION= 0.000000,
MAGNETIC_VARIATION= 0.000000,
DEPTH= 0.000000 ,
MINIMUM_VALUE= 0,
MAXIMUM_VALUE= 0,
NUMBER_VALID= 14,
NUMBER_NULL= 0,
RECORD_HEADER,
NUM_CALIBRATION= 0,
NUM_SWING= 0,
NUM_HISTORY= 1,
NUM_CYCLE= 14,
NUM_PARAM= 5,
-- DATA --
0.00 1 3.400 1 0
14.00 1 3.200 1 0
20.70 1 2.900 1 0
39.50 1 1.300 1 0
44.80 1 1.100 1 0
51.10 1 1.000 1 0
76.90 1 1.100 1 0
101.40 1 1.500 1 0
117.60 1 1.800 1 0
149.30 1 2.500 1 0
210.80 1 3.500 1 0
224.20 1 4.100 1 0
250.90 1 4.600 1 0
274.50 1 4.900 1 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment