Matlab scripts for post-processing of discrete CO2 data. The first Matlab script 'SRVC_CO2_Carb_Calcs' calculates the carbonate parameters from analyzed discrete CO2 samples. The code outputs: corrected alakalinity, in-situ pCO2, pH, aragonite and calcite saturation states, and pCO2 calculated at a common temp of 20ÂēC.
For access to the different templates used by Hakai Institute follow this link to a Google Drive folder: https://drive.google.com/file/d/1cUh5CcJgtYXKy2bxg6QkVtkp3_JzP6B1/view?usp=sharing
Use the Lab Primary and Lab Std Prep templates to track the preparation of primary solutions and TCO2 liquid standards that are used for calibration curves during discrete sample analysis.
The DI Blank Runs template is filled out after TCO2 liquid standards have been made and the DI blank correction is being applied to the known concentrations post-standard completion.
The SRVC CO2 IRM/CRM check template is used to assess the pre-run calibration curves and correction factors before sample analysis begins.
The YSI Calibration Log template is used for tracking any YSI instrument drift during sample analysis from pre- to post-run.
The template metadata mastersheet is filled out during sample analysis and contains all information collected from the field, during the analysis and from the completed SRVC CO2 ver2.0 spreadsheet.
The SRVC CO2 ver2.0 spreadsheet is filled out during or after the samples have been analyzed. The spreadsheet contains specific calculations for TCO2 and pCO2 analyzed during the processing day. The user will paste pre-run, mid-run and post-run standards and all samples analyzed into the spreadsheet to obtain preliminary CO2 data.
Following the completion of the SRVC CO2 spreadsheet, use the SRVC CO2 Carb Calcs excel sheet and matlab script to calculate in-situ values and carbonate calculations. Once these data have been calculated, finish finalizing the SRVC CO2 spreadsheet and the metadata mastersheet.
The Compiled IRM/CRM Runs template is used to track any drift of the reference materials after being made internally (IRM) or externally (CRM). The templates track correction factors, TCO2, pCO2, and Total Alkalinity changes while comparing the analyzed values to the certified values of each batch of IRM/CRMs.