Python interface to odc for encoding/decoding ODB files
The package is installed from PyPI with:
$ pip install pyodc
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
The main repository is hosted on GitHub, testing, bug reports and contributions are highly welcomed and appreciated:
Please see the CONTRIBUTING.rst document for the best way to help.
- Simon Smart - ECMWF
- Baudouin Raoult - ECMWF
See also the list of contributors who participated in this project.
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
- 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
- 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
- Fixed automatic selection of integral codecs
- Initial version
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pyodc-1.0.3-py3-none-any.whl (25.5 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size pyodc-1.0.3.tar.gz (17.9 kB)||File type Source||Python version None||Upload date||Hashes View|