Skip to content

Commit

Permalink
Fix ecmwf open data notebook (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandorkertesz authored Mar 6, 2024
1 parent e689fef commit 4b67034
Showing 1 changed file with 27 additions and 26 deletions.
53 changes: 27 additions & 26 deletions docs/examples/ecmwf_open_data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
"ds = earthkit.data.from_source(\"ecmwf-open-data\", \n",
" param=[\"t\", \"gh\"],\n",
" levelist=\"500\",\n",
" step=[0,6,12])"
" step=[0, 24, 48]\n",
" )"
]
},
{
Expand Down Expand Up @@ -104,8 +105,8 @@
" <td>t</td>\n",
" <td>isobaricInhPa</td>\n",
" <td>500</td>\n",
" <td>20230630</td>\n",
" <td>600</td>\n",
" <td>20240306</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>fc</td>\n",
" <td>None</td>\n",
Expand All @@ -117,8 +118,8 @@
" <td>gh</td>\n",
" <td>isobaricInhPa</td>\n",
" <td>500</td>\n",
" <td>20230630</td>\n",
" <td>600</td>\n",
" <td>20240306</td>\n",
" <td>0</td>\n",
" <td>0</td>\n",
" <td>fc</td>\n",
" <td>None</td>\n",
Expand All @@ -130,9 +131,9 @@
" <td>t</td>\n",
" <td>isobaricInhPa</td>\n",
" <td>500</td>\n",
" <td>20230630</td>\n",
" <td>600</td>\n",
" <td>6</td>\n",
" <td>20240306</td>\n",
" <td>0</td>\n",
" <td>24</td>\n",
" <td>fc</td>\n",
" <td>None</td>\n",
" <td>regular_ll</td>\n",
Expand All @@ -143,9 +144,9 @@
" <td>gh</td>\n",
" <td>isobaricInhPa</td>\n",
" <td>500</td>\n",
" <td>20230630</td>\n",
" <td>600</td>\n",
" <td>6</td>\n",
" <td>20240306</td>\n",
" <td>0</td>\n",
" <td>24</td>\n",
" <td>fc</td>\n",
" <td>None</td>\n",
" <td>regular_ll</td>\n",
Expand All @@ -156,9 +157,9 @@
" <td>t</td>\n",
" <td>isobaricInhPa</td>\n",
" <td>500</td>\n",
" <td>20230630</td>\n",
" <td>600</td>\n",
" <td>12</td>\n",
" <td>20240306</td>\n",
" <td>0</td>\n",
" <td>48</td>\n",
" <td>fc</td>\n",
" <td>None</td>\n",
" <td>regular_ll</td>\n",
Expand All @@ -169,9 +170,9 @@
" <td>gh</td>\n",
" <td>isobaricInhPa</td>\n",
" <td>500</td>\n",
" <td>20230630</td>\n",
" <td>600</td>\n",
" <td>12</td>\n",
" <td>20240306</td>\n",
" <td>0</td>\n",
" <td>48</td>\n",
" <td>fc</td>\n",
" <td>None</td>\n",
" <td>regular_ll</td>\n",
Expand All @@ -182,12 +183,12 @@
],
"text/plain": [
" centre shortName typeOfLevel level dataDate dataTime stepRange \\\n",
"0 ecmf t isobaricInhPa 500 20230630 600 0 \n",
"1 ecmf gh isobaricInhPa 500 20230630 600 0 \n",
"2 ecmf t isobaricInhPa 500 20230630 600 6 \n",
"3 ecmf gh isobaricInhPa 500 20230630 600 6 \n",
"4 ecmf t isobaricInhPa 500 20230630 600 12 \n",
"5 ecmf gh isobaricInhPa 500 20230630 600 12 \n",
"0 ecmf t isobaricInhPa 500 20240306 0 0 \n",
"1 ecmf gh isobaricInhPa 500 20240306 0 0 \n",
"2 ecmf t isobaricInhPa 500 20240306 0 24 \n",
"3 ecmf gh isobaricInhPa 500 20240306 0 24 \n",
"4 ecmf t isobaricInhPa 500 20240306 0 48 \n",
"5 ecmf gh isobaricInhPa 500 20240306 0 48 \n",
"\n",
" dataType number gridType \n",
"0 fc None regular_ll \n",
Expand All @@ -210,17 +211,17 @@
{
"cell_type": "code",
"execution_count": null,
"id": "1d489e50-8076-4fad-a090-0faffe64b7eb",
"id": "e59c45e5-fa81-42ee-9ec8-8d3908f5111e",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "dev",
"display_name": "dev_ecc",
"language": "python",
"name": "dev"
"name": "dev_ecc"
},
"language_info": {
"codemirror_mode": {
Expand Down

0 comments on commit 4b67034

Please sign in to comment.