cedarkit-comp
A calculation tool for meteorological data.
Install
Install using pip:
pip install cedarkit-comp
Or download the latest source code from GitHub and install manually.
Getting started
Load data from file:
from reki.format.grib.eccode import load_field_from_file
file_path = "/some/path/to/grib2/file"
field_h_500 = load_field_from_file(
file_path,
parameter="gh",
level_type="pl",
level=500
) / 10.
Smooth using smth9:
from cedarkit.comp.smooth import smth9
from cedarkit.comp.util import apply_to_xarray_values
field_h_500 = apply_to_xarray_values(
field_h_500,
lambda x: smth9(x, 0.5, 0.25, False)
)
LICENSE
Copyright © 2024-2026, developers at CMA Earth System Modeling And Prediction Centre.
cedarkit-comp is licensed under Apache License V2.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cedarkit_comp-2026.7.0.tar.gz
(27.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cedarkit_comp-2026.7.0.tar.gz.
File metadata
- Download URL: cedarkit_comp-2026.7.0.tar.gz
- Upload date:
- Size: 27.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8225ce326ec93ec89662a48a4e8bffe7b8d2f5d75fa1e0e57d4df315eeda29ae
|
|
| MD5 |
09b65e7725dc4cd4bc5841c82918b4f5
|
|
| BLAKE2b-256 |
7299a50bfd1f1a3ba85ce0f6d18dc2ab7937adae9bda20181e728926a5ff03fb
|
File details
Details for the file cedarkit_comp-2026.7.0-py3-none-any.whl.
File metadata
- Download URL: cedarkit_comp-2026.7.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eecf1b30b75ce3e5b46c0410afa1da9e1e2e19efb608168ad58df971a0fba6dd
|
|
| MD5 |
2d4c8472ca4ad17fe7b9b8b7e114712d
|
|
| BLAKE2b-256 |
7b5bfdc763db418bd7f8714d6ed262f647d1541cc8eae606a3aa00a5d46834fa
|