Skip to main content

Quality Control of CTD profiles

Project description

This package is intended to quality control CTD stations by applying a sequence of tests. It uses the Seabird package to interpret the SeaBird’s .cnv output file.

This is the result from several generations of quality control systems, which started in 2006, while I was in charge of the quality control of termosalinographs at AOML-NOAA, USA. Later I was advising the quality control of the brazilian hydrography of PIRATA.

Quick howto

First load the CTD data

pqc = cotede.qc.fProfileQC(‘example.cnv’)

The keys() will give you the data loaded from the CTD, simillar to the output from the seabird.fCNV

pqc.keys()

To see one of the read variables listed on the previous step

pqc[‘temperature’]

The flags are stored at pqc.flags and is a dictionary, being one item per variable evaluated. For example, to see the flags for the secondary salinity instrument, just do

pqc.flags[‘salinity2’]

or for a specific test

pqc.flags[‘salinity2’][‘gradient’]

The class cotede.qc.ProfileQCed is equivalent to the cotede.qc.ProfileQC, but it already mask the non approved data (flag != 1). Another it can also be used like

from seabird import cnv data = cnv.fCNV(‘example.cnv’)

import cotede.qc ped = cotede.qc.ProfileQCed(data)

Support and Documentation

Mmm, yeap, I have work to do here. If you have any trouble to use it, please drop a specific complain in the GitHUB issues, and I’ll do my best to respond ASAP.

How I see quality control

Quality control is different then data processing. On the processed data, the quality control/quality assurance means to check what looks fine. It is very important that the data is properly sampled and processed. The quality control procedures can’t go back on time and fix improper sampling, but only tell you that the data don’t looks fine.

Why CoTeDe?

For a long time I had this idea in mind but I only really formalize the procedure in 2013, when I spent few months Toulouse. The full name of this package is CoTe De l’eau, which I understand as something near to “rating the water”. The short name is cotede, to make easier for the users to remember, since it is the quality control of COnductivity TEmperature and DEpth (cotede). The french name is a kind of tribute to the great time that I spent in France with Bia and the croissants that were converted in code lines.

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

cotede-0.8.tar.gz (12.5 kB view details)

Uploaded Source

File details

Details for the file cotede-0.8.tar.gz.

File metadata

  • Download URL: cotede-0.8.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cotede-0.8.tar.gz
Algorithm Hash digest
SHA256 df14b8ae2ab2f157c039d8235b2578c11e497f87d8e282ae3d0470b1ced3fd77
MD5 a2e1619d5b64e7a823a07310d2014f08
BLAKE2b-256 fce6ffa11d795550788daadbfeea8fe7763b90d044c2bdeb632f0beb936b2041

See more details on using hashes here.

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