earthkit.data.field.grib.parameter¶
Attributes¶
Classes¶
Builder for creating parameter components from GRIB message handles. |
|
Collector for extracting GRIB context keys from parameter components. |
Module Contents¶
- earthkit.data.field.grib.parameter.COLLECTOR¶
- class earthkit.data.field.grib.parameter.GribParameter(handle)¶
Bases:
earthkit.data.field.grib.core.GribFieldComponentHandler- BUILDER¶
- COLLECTOR¶
- classmethod from_handle(handle)¶
- get_grib_context(context)¶
- handle¶
- class earthkit.data.field.grib.parameter.GribParameterBuilder¶
Builder for creating parameter components from GRIB message handles.
This builder extracts parameter metadata from GRIB messages and creates the appropriate parameter component subclass (
Parameter,ChemicalParameter,OpticalParameter,ChemicalOpticalParameter, orWaveSpectraParameter) based on the metadata contents.- static build(handle)¶
- class earthkit.data.field.grib.parameter.GribParameterContextCollector¶
Bases:
earthkit.data.field.grib.collector.GribContextCollectorCollector for extracting GRIB context keys from parameter components.
Collects the “shortName” key from the parameter component’s variable for use in GRIB encoding context.
- collect(spec, context)¶
- static collect_keys(handler, context)¶