enzh-CNfrdeeliwitjakorues

SIO-CalCOFI Developmental Blog

Notes on software, hardware, methods, and technical metadata.

  • Home
    Home This is where you can find all the blog posts throughout the site.
  • Categories
    Categories Displays a list of categories from this blog.
  • Tags
    Tags Displays a list of tags that have been used in the blog.
  • Bloggers
    Bloggers Search for your favorite blogger from this site.
  • Team Blogs
    Team Blogs Find your favorite team blogs here.
  • Login
    Login Login form

Software

SIO-CalCOFI Software Development, Fixes, Updates, Formats & Instructions.

18
Dec

DECODR1312a

Posted by on in DECODR
I finally got around to adding that NH4 tabulation file to DECODR. I could not figure out a way to do it independent of the "update sta.csvs" option. So DECODR1312a will generate a tabulation file of NH4 values 'offshore & 200m or greater' or negative that are datacoded 4 or zeroed. Run the nutrient data processing routine, select update sta.csvs and it will generate a 1311NH4DC4.csv in the Nut dir.
If the '0 -' (zero negative values) box is checked, it will tabulate those as well but they will be datacoded '0'.
Be aware that this file will not be overwritten if already present. It will be appended so if you want to regenerate a fresh version, you will have to manually delete the 1311NH4DC4.csv.
Hits: 1399
16
Dec

DECODR1312 Updates

Posted by on in DECODR
Fixes & new features: missing dynamic height calculations have been addressed; ISL bottle density are no longer duplicates of CTD1 - uses terpled bottle salt value instead of CTD salt 1; NH4 negative value reporting is an option, as well as positive values offshore & below 200m. Both negative NH4 and deep-offshore positive NH4 values will have datacode 4 regardless. ISL NH4 adjacent to datacode 4 NH4s will also be zeroed.

Fixed the duplicate bottle dynamic height calculation.
Hits: 919
06
Dec

DECODR1312 Prodo

Posted by on in DECODR
I tweaked DECODR1312 a bit to handle some extraneous lines in the prd files & scin.csv. It worked fine using the 'box' values for 14C and blank (10.239 & 100), generating both an out file and updated sta.csvs. Be sure you check all the necessary boxes and use 1311scinR1.csv.

Changes to DECODR -
*added Nutrient feature: option to use RMNS or NH4 Check standard value for NH4.
*85 processing numbers hardwired into the Process form ie automatic file selection form where station files are pre-checked.
*Prodo routine tweaked to handle blank lines in prd### & YYMMscin.csv files.
*The latest DECODR1312 should calculate DynHt in either CTD to CSV module or the Derive Bottle Data module.
Hits: 923
25
Mar

Reprocessing 2012 CTD data to include oxygen in um/Kg

Posted by on in BtlVsCTD
Reporting CTD oxygen(s) in umole/Kg from the Seabird sensor(s) is standard practice. Reporting bottle oxygens in um/Kg in the CalCOFI Data Reports will formally begin in 2013 (1301).
Using draw temperatures saved by CESL (CalCOFI Electronic Sample Log) into the sta.csvs, we can calculate sigma-theta for each O2 sample at draw time. Using this value, pressure=0, & CTD salinity, the ml/L values are converted to umoles/Kg using Seabird's conversion algorithm (Seabird Application Note 64):
[µmole/Kg] = [ml/L] * 44660 / (sigma_theta(P,T,S) + 1000); P = 0

CESL1304 will generate the latest casts & sta.csv formats which allow oxygen values in um/Kg to be archived.
BtlVsCTD1304 will compile the CTD sensor values plus the bottle values, include O2 in um/Kg. This allows bottle oxygen in um/Kg to be regressed against sensor values. The combined CTD+bottle data csv includes: CTD primary & secondary oxygen sensor values in ml/L & um/Kg. Plus bottle corrected CTD oxygen values - cruise-average corrected oxygen in ml/L & um/Kg; station-corrected oxygen in ml/L & um/Kg. Cruise-average corrected = CTD sensor data vs all cruise bottle oxygen regression coefficients are applied (n = ~1300 samples) . Station-corrected = primary & secondary CTD oxygen sensor data are corrected using the corresponding station bottle oxygen samples only (n = ~20 samples). Station-corrected CTD oxygen values are considered the best since station-to-station variability in sensor performance is addressed. Stations that do not have adequate calibration samples are cruise-corrected only and those CTD oxygen values are the best available.

From Seabird Application Note No. 64: SBE 43 Dissolved Oxygen Sensor
"[µmole/Kg] = [ml/L] * 44660 / (sigma_theta(P,T,S) + 1000)

For the µmole/Kg conversion, there is disagreement in the scientific community about the conversion constant 44660:
The value 44660 is exact for oxygen gas.
The value 44615 is the average value for atmospheric gas (N2,O2,Ar,H2O,CO2,...). It is not exact for any individual gas, but has been used historically by oceanographers.
The argument distills to exact versus historic, with oceanographers split; Sea-Bird uses 44660 in all calculations."

Hits: 1520
25
Mar

CESL1304 updates

Posted by on in CESL
Fixes - fixed some column alignment (esthetics) issues in casts.csv & sta.csvs.
Added an update-reinitialize feature when editing the cfg - if a new cruise is entered into the cruise field, it will prompt you to update all related fields and reset the station & vial counts to 1.
Tagged in: CESL cfg
Hits: 1160
Go to top
DMC Firewall is developed by Dean Marshall Consultancy Ltd