Polytope
  • Home
  • Installation
  • Quick Start
  • Data Portfolio

Full Fields

  • Full Fields

Features

  • Overview
  • Time Series
  • Vertical Profile
  • Polygon
  • Bounding Box
  • Trajectory
  • Circle
  • Position

Examples

  • Examples
Polytope
  • Extremes dt example

Extremes DT Full Fields Extraction Example¶

This example demonstrates how to extract a Full Field from the DestinE Extremes DT.

In [ ]:
Copied!
import earthkit.data

request = {
        "class": "d1",
        "expver": "0001",
        "stream": "oper",
        "dataset": "extremes-dt",
        "date": "-14",
        "time": "0000",
        "type": "fc",
        "levtype": "sfc",
        "step": "0",
        "param": "167"
    }

ds = earthkit.data.from_source("polytope", "destination-earth", request, address="polytope.lumi.apps.dte.destination-earth.eu", stream=False)
import earthkit.data request = { "class": "d1", "expver": "0001", "stream": "oper", "dataset": "extremes-dt", "date": "-14", "time": "0000", "type": "fc", "levtype": "sfc", "step": "0", "param": "167" } ds = earthkit.data.from_source("polytope", "destination-earth", request, address="polytope.lumi.apps.dte.destination-earth.eu", stream=False)
In [2]:
Copied!
ds.ls()
ds.ls()
Out[2]:
centre shortName typeOfLevel level dataDate dataTime stepRange dataType number gridType
0 ecmf 2t heightAboveGround 2 20251121 0 0 fc None reduced_gg

Visualise¶

The following visualisation uses earthkit-plots.

In [4]:
Copied!
import earthkit.plots

earthkit.plots.quickplot(ds[0]).show()
import earthkit.plots earthkit.plots.quickplot(ds[0]).show()
20c4bdad03979c503641d23c08b376d125b4b23dfbc69c0c0f54beedfc846dbc.npz:   0%|          | 0.00/123M [00:00<?, ?B/…
No description has been provided for this image
In [ ]:
Copied!


Built with MkDocs using a theme provided by Read the Docs.