{ "cells": [ { "cell_type": "markdown", "id": "4b884925-f9c8-4f12-a0f5-c5c674437302", "metadata": { "editable": true, "slideshow": { "slide_type": "" }, "tags": [] }, "source": [ "## Retrieving ECMWF open data" ] }, { "cell_type": "raw", "id": "e32794dd-b06c-4274-8125-e1b00e01245e", "metadata": { "editable": true, "raw_mimetype": "text/restructuredtext", "slideshow": { "slide_type": "" }, "tags": [] }, "source": [ "The :ref:`ecmwf-open-data ` source provides access to the `ECMWF open data `_ ." ] }, { "cell_type": "code", "execution_count": 1, "id": "f6e081da-e88b-41d5-a914-8f782d50c44f", "metadata": { "editable": true, "slideshow": { "slide_type": "" }, "tags": [] }, "outputs": [], "source": [ "import earthkit.data as ekd" ] }, { "cell_type": "code", "execution_count": 2, "id": "bcc2e1e1-a048-40c5-b830-b8aa601f97ac", "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "426bfc7095bc47d69e835dec46a416dc", "version_major": 2, "version_minor": 0 }, "text/plain": [ ": 0%| | 0.00/2.85M [00:00\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
centreshortNametypeOfLevelleveldataDatedataTimestepRangedataTypenumbergridType
0ecmftisobaricInhPa5002025102200fcNoneregular_ll
1ecmfghisobaricInhPa5002025102200fcNoneregular_ll
2ecmftisobaricInhPa50020251022024fcNoneregular_ll
3ecmfghisobaricInhPa50020251022024fcNoneregular_ll
4ecmftisobaricInhPa50020251022048fcNoneregular_ll
5ecmfghisobaricInhPa50020251022048fcNoneregular_ll
\n", "" ], "text/plain": [ " centre shortName typeOfLevel level dataDate dataTime stepRange \\\n", "0 ecmf t isobaricInhPa 500 20251022 0 0 \n", "1 ecmf gh isobaricInhPa 500 20251022 0 0 \n", "2 ecmf t isobaricInhPa 500 20251022 0 24 \n", "3 ecmf gh isobaricInhPa 500 20251022 0 24 \n", "4 ecmf t isobaricInhPa 500 20251022 0 48 \n", "5 ecmf gh isobaricInhPa 500 20251022 0 48 \n", "\n", " dataType number gridType \n", "0 fc None regular_ll \n", "1 fc None regular_ll \n", "2 fc None regular_ll \n", "3 fc None regular_ll \n", "4 fc None regular_ll \n", "5 fc None regular_ll " ] }, "execution_count": 3, "metadata": {}, "output_type": "execute_result" } ], "source": [ "ds.ls()" ] }, { "cell_type": "code", "execution_count": null, "id": "e59c45e5-fa81-42ee-9ec8-8d3908f5111e", "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "dev", "language": "python", "name": "dev" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.11.12" } }, "nbformat": 4, "nbformat_minor": 5 }