earthkit_data_meteoswiss_opendata.constants_source#

Earthkit source for MeteoSwiss constant assets.

Copyright (c) 2026 MeteoSwiss, contributors listed in AUTHORS

Distributed under the terms of the BSD 3-Clause License.

SPDX-License-Identifier: BSD-3-Clause

Classes#

ConstantAsset

Types of constant model data available from MeteoSwiss.

MeteoSwissConstantsSource

Retrieve horizontal or vertical constants for a model collection.

Module Contents#

class ConstantAsset[source]#

Bases: enum.StrEnum

Types of constant model data available from MeteoSwiss.

HORIZONTAL = 'horizontal'#
VERTICAL = 'vertical'#
class MeteoSwissConstantsSource(*, collection: earthkit_data_meteoswiss_opendata.request.Collection | str, asset: ConstantAsset | str)[source]#

Bases: earthkit.data.sources.Source

Retrieve horizontal or vertical constants for a model collection.

collection = ''#
asset = ''#
mutate() → earthkit.data.sources.Source[source]#

Resolve the constant asset to an Earthkit URL source.