Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Recalculate VINDTA 3C TA and DIC from CRMs

Project description

VINTDA recalculate diC and Alkalinity


  • Version: 0.2
  • Author: Luke Gregor
  • Email:
  • Date: 2018-06-14
  • Institution: Council for Scientific and Industrial Research

Please acknkowledge this code when you use it.


This script is for recalculating in output from a VINDTA.

  1. Read in the .dbs file and associated .dat files with the dbs_to_excel() function. The script creates an excel file if a filename is given, else only a pandas.DataFrame is returned.
  2. Columns for nutrients are added to the excel file. These should be filled out before running the second recalculation step where CRMs are used to calibrate the data.
  3. Run the CRM recalculation step with the function recalculate_CO2_from_excel. The recalculation is performed without you having to do anything :) The data will be saved in the excel file in a second tab.


This was written for the CSIR’s VINDTA #18 and #35. There are thus headers that may need to be changed. These headers can be changed manually in the dbs_to_excel function using the header keyword argument. Be very careful when changing this. It needs to match your VINDTA’s column headers.


  • add documentation for the functions. A little sparse at the moment.
  • write additional info in the output excel file.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for vindta-reCAlk, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size vindta_reCAlk-0.1-py3-none-any.whl (96.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size vindta_reCAlk-0.1.tar.gz (93.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page