SIO-CalCOFI uses datacodes in the sta.csv bottle data files to define data processing actions & output.

Sta.csv DATA CODES for each datatype

TDC (temperature):  1=use CTD 1 or 2=use CTD 2
SDC (salinity):  0=Use Bottle, 1=Use CTD1, 2=Use CTD2, 9=Omit
ODC (oxygen):  0=Use Bottle, 1=Use CTD1, 2=Use CTD2, 9=Omit

Nutrients: March 2015 sta.csv revision (1504NH), individual data codes for each nutrient. Nutrient below the analyzer's mean detection limit (MDL) will be auto-coded "4".
P4DC (PO4, phosphate: 0=Use Bottle, 4=zero, 9=Omit
SIDC (Sil, silicate): 0=Use Bottle, 4=zero, 9=Omit
N2DC (NO2, nitrite): 0=Use Bottle, 4=zero, 9=Omit
N3DC (NO3, nitrate): 0=Use Bottle, 4=zero, 9=Omit
NHDC (NH3, ammonia): 0=Use Bottle, 4=zero, 9=Omit

*obsolete as of 1504, 1411 & 1501 revised NDC: nutrient specific alpha-numeric codes added

  • Phosphate - P4 will zero values below the MDL; P9 will blank questionable or bad values
  • Silicate - S4 will zero values below the MDL; S9 will blank questionable or bad values
  • Nitrite - O4 will zero values below the MDL; O9 will blank questionable or bad values
  • Nitrate - T4 will zero values below the MDL; T9 will blank questionable or bad values

CPDC (chl-phaeo): 0=Use Bottle, 5=use Recalculated RA value, 6=use Recalculated Rb value
C14DC (14C): 0=Use all Normal, 1=Use C14a and dark only, 2=Use C14b and dark only, 3=Use cruise average dark plus orig C14a and C14b
StDC (sigma-theta): 0=Use Bottle, 1=Use CTD1, 2=Use CTD2, 9=Omit
OxSDC (oxygen saturation): 0=Use Bottle, 1=Use CTD1, 2=Use CTD2, 9=Omit
PoTDC (potential temperature): 0=Use Bottle, 1=Use CTD1, 2=Use CTD2, 9=Omit
DyHDC (dynamic height): 0=Use Bottle, 1=Use CTD1, 2=Use CTD2, 9=Omit
SVADC (specific volume anomaly): 0=Use Bottle, 1=Use CTD1, 2=Use CTD2, 9=Omit

DEPTH NOTES (Bottle Depth Footnotes)
P = Prodo depth
D = DIC
T = Test Case
X = Extra
M = Mistrip
L = LTER
Q = Questionable (open, ajar, lanyard)

RECORD INDICATORS (recind, from IEH legacy; column 79)
1 = First Header, reserved
2 = Second Header, reserved
3 = Observed depth
4 = undefined (formerly Ghost Level - Do Not publish bottle or CTD data in any data product)
5 = Use CTD data only; ignore bottle values if present
6 = Extra bottle, usually at a duplicate depth
7 = Interpolated bottle data depth; usually standard level, primarily for nutrients
8 = footnote, reserved
9 = Ghost Level - Do Not publish bottle or CTD data in any data product (in IEH text, reserved)
0 = unused/undefined

For Reference ONLY - IEH Legacy Definitions: A text record (IEH recind '9') can appear anywhere in the file except directly after the first master record.. The information will not be printed to data reports, but will remain with the data.

-----------------------------------------------------------------------------
** Codes and usage **
A text record can appear anywhere in the file except directly after the first master record.. The information will not be printed to data reports, but will remain with the data.
-----------------------------------------------------------------------------
** Codes and usage **

1. Quality code. Used on the detail records.
blank == data ok
'6' == data ok,but taken from a ctd device. (used only when data is, on the whole, considered to be bottle data)
'8' == originator thinks value is suspect.
'9' == missing data
2. Examples of Calcofi station numbers. b=blank
b93bbb40bb 110bbb40bb
110bbb40.2 b93.1b40bb
b93.2b40.1 110.1100.3
3. Missing or unrecorded data MUST be indicated with a '9' in the quality code.
4. Trailing blanks are only allowed when specifically mentioned and when they are mentioned, their use is required if the precision is less than the maximum.
5. The ship ownership country and institution can be different from the data ownership country and institution.
6. The format can be folded into a 64 character variety if that makes data entry more convenient, but the specification and any application programs will operate on the 128 character variety listed here.
7. The first master record should be immediately followed by the second master record.
8. Times in HHMM format should be written with no embedded blanks.
9. Ghostcards (rectyp=4) are used for interpolation but not printed to data reports. Multiple depth cards (rectyp=6) are *not* used for interpolation but *are* printed to data report.