Skip to main content

Python interface to odc for encoding/decoding ODB files

Project description

Installation

The package is installed from PyPI with:

$ pip install pyodc

System dependencies

The package contains two different implementations of the same library.

pyodc is a pure-python encoder and decoder for ODB2 data, which encodes data from, and decodes it into pandas dataframes.

codc is an implementation of the same API as pyodc that depends on the ECMWF odc library. This must be complied and installed on the system and made available to python (through the CFFI mechanism) as a shared library. This may involve adding its location to the LD_LIBRARY_PATH variable.

The odc library may be found at https://github.com/ecmwf/odc

Contributing

The main repository is hosted on GitHub, testing, bug reports and contributions are highly welcomed and appreciated:

https://github.com/ecmwf/pyodc

Please see the CONTRIBUTING.rst document for the best way to help.

Lead developer:

Main contributors:

  • Baudouin Raoult - ECMWF

See also the list of contributors who participated in this project.

License

Copyright 2017-2018 European Centre for Medium-Range Weather Forecasts (ECMWF).

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Changelog for pyodc

1.0.3

  • Specify odc library location with odc/ODC_DIR

  • Correct setup.py dependencies to include pandas

  • Support missing ConstantString values encoded from ODB1 using the odb_migrator

1.0.2

  • String missing values should be None not NaN

  • Refactor oneshot behaviour (read_odb_oneshot –> read_odb(…, single=True)

  • Raise correct error on odc not found

  • Split codb.py into a full codc module

  • Fix miscellaneous bugs

1.0.1

  • Fixed automatic selection of integral codecs

1.0.0

  • Initial version

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

pyodc-1.0.3.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

pyodc-1.0.3-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

Details for the file pyodc-1.0.3.tar.gz.

File metadata

  • Download URL: pyodc-1.0.3.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for pyodc-1.0.3.tar.gz
Algorithm Hash digest
SHA256 465a78f317a7bd9e3c8656d874594eef6d7e038d62cbbf5bc68cb8c3d0cd8bc0
MD5 519282fd13eff6f3e37978822ffa9482
BLAKE2b-256 9d8589ffd4e8e7660f382a42c00388de9f9187a0a22846d5c6dcae02cbf02e7a

See more details on using hashes here.

File details

Details for the file pyodc-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: pyodc-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 25.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for pyodc-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c75f20d282702c1b1a85e882b6ec5f2e1052b3e8632fb56399a453ec936368e5
MD5 0d03199f5a7fd3f9045b07a585d03bad
BLAKE2b-256 eebcedcd7c53342c20b16c5764a6c3a171dd1898850ed24e1a77facd9976fa7b

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