Skip to main content

Recalculate VINDTA 3C TA and DIC from CRMs

Project description

VINTDA recalculate diC and Alkalinity

INFORMATION

  • Version: 0.2

  • Author: Luke Gregor

  • Email: lukegre@gmail.com

  • Date: 2018-06-14

  • Institution: Council for Scientific and Industrial Research

Please acknkowledge this code when you use it.

USAGE

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.

NOTES

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.

TO DO

  • 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.

Source Distribution

vindta_reCAlk-0.1.3.tar.gz (94.4 kB view hashes)

Uploaded Source

Built Distribution

vindta_reCAlk-0.1.3-py3-none-any.whl (96.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page