Skip to main content

Parser for .cnv files, the Sea-Bird CTD data format.

Project description


This is a parser for Sea Bird CTD output files.

The `Sea Bird CTD`_ post processed data usually uses the .cnv extention. The
purpose of the PyCNV is to parse this type of files, considering the different
versions along the time, as well as different setups.

At this point my goal is to have an object with the attributes parsed from the
header, and the data as Masked Arrays, so that the user don't need to loose
time evaluating the version and details of that cnv, but have it in a
standard pattern, ready to use.

.. _`Sea Bird`:

Support and Documentation

See the `PyCNV Wiki`_ to view documentation, report bugs, and obtain support.

The `Seasoft`_ manual might be the best reference for the format used.

The variables names were based on the `pcmdi standard name table`

.. _`PyCNV Wiki`:
.. _`Seasoft`:
.. _`pcmdi standard name table`:


``PyCNV`` is offered under the PSFL. I guess I need to put a link here?


Guilherme Castelão <>
Luiz Irber <>

.. PyCNV is a parser for the CTD data format used by Sea-Bird



* First code public release


* Refactoring. Parsed text is saved in self.parsed, preparing to output
everything that wasn't specifically parsed.
* XML is extracted into self.attributes['awkward_xml']


* Now it calculate and include the hex md5sum.
* Bugfix, now handle well when timeJ has masked values.
* Bugfix converting timeJ, it was one day longer.
* I'll run on the whole PIRATA dataset to check against different formats
and after that it will be ready for 0.2 as Beta version


* When position available in the header.intro as NMEA, load this instead of
try to parse from the header.notes.
* Load default values from a yaml file, like attributes{cruise, project,
shipname ...}
* Using a recommended variable names list


* Initial prototype of the cnvdump


* Rules are now inside the packag, and loaded with pkg_resources.


*Release date: 3-Jul-2012*

* Initial import.
* It's able to load the variables into Masked Array, but it's not the best way to do it.

Project details

Release history Release notifications

History Node


History Node


History Node


History Node


This version
History Node


History Node


History Node


Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page