Skip to main content

A Python library for meteorological computations

Project description

ECMWF Software EnginE Maturity Level Licence Latest Release

Quick StartInstallationDocumentation

[!IMPORTANT] This software is Graduated and subject to ECMWF's guidelines on Software Maturity.

earthkit-meteo is a Python package providing meteorological computations using array (NumPy, Torch and CuPy), xarray or fieldlist. It is part of the earthkit ecosystem.

Quick Start

    from earthkit.meteo import thermo

    # using Numpy arrays
    import numpy as np

    t = np.array([264.12, 261.45])  # Kelvins
    p = np.array([850, 850]) * 100.0  # Pascals
    theta = thermo.potential_temperature(t, p)

    # using Torch tensors
    import torch

    t = torch.tensor([264.12, 261.45])  # Kelvins
    p = torch.tensor([850.0, 850.0]) * 100.0  # Pascals
    theta = thermo.potential_temperature(t, p)

Installation

Install via pip with:

$ pip install earthkit-meteo

Alternatively, install via conda with:

$ conda install earthkit-meteo -c conda-forge

Licence

Copyright 2023, European Centre for Medium Range Weather Forecasts.

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.

In applying this licence, ECMWF does not waive the privileges and immunities
granted to it by virtue of its status as an intergovernmental organisation
nor does it submit to any jurisdiction.

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

earthkit_meteo-1.0.0.tar.gz (3.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

earthkit_meteo-1.0.0-py3-none-any.whl (182.4 kB view details)

Uploaded Python 3

File details

Details for the file earthkit_meteo-1.0.0.tar.gz.

File metadata

  • Download URL: earthkit_meteo-1.0.0.tar.gz
  • Upload date:
  • Size: 3.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for earthkit_meteo-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e80c6e8d0ca1492d6f9e0c607132ce008c7ebfea3c32d55a00101bdc36ada178
MD5 773656ca49b8d465bd7493bd0d38df11
BLAKE2b-256 7afa4cd7c5ff4349cb8e693177b79fa77aa25baf5a61251a5bc37b7ace2b5403

See more details on using hashes here.

File details

Details for the file earthkit_meteo-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: earthkit_meteo-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 182.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for earthkit_meteo-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c9b3a481a1f4b58c2b18f1edfc20b68d6226cbc2713bbc4616884fbc42b389df
MD5 13f25e0b0153831827689a3475d27cba
BLAKE2b-256 bdbea75b753378f4d276b68eb0b2cdafaa75ecc0069f5f94877b9dbfd181558a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page