Skip to content

Commit

Permalink
Fix typo in grib_from_stream notebook (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandorkertesz authored Feb 5, 2024
1 parent 689f521 commit 6a33577
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions docs/examples/grib_from_stream.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"tags": []
},
"source": [
"earthkit-data can :ref:`load GRIB data from a stream <data-sources-stream>`, which can be an FDB stream, a standard Python IO stream or any object implementing the necessary stream methods. \n",
"earthkit-data can load GRIB data from a :ref:`stream <data-sources-stream>` source, which can be an FDB stream, a standard Python IO stream or any object implementing the necessary stream methods. \n",
"\n",
"For simplicity, in this notebook we will use a **file stream** to demonstrate the usage of streams. First, we ensure the example file containing 6 messages is available."
]
Expand Down Expand Up @@ -96,7 +96,7 @@
"tags": []
},
"source": [
"We load it into earthkit-data by using the default settings :ref:`batch_size <data-sources-stream>`\\=1). With this when we iterate through *ds* it will consume one message from the stream at a time:"
"We load it into earthkit-data by using the default settings (:ref:`batch_size <data-sources-stream>`\\=1). With this when we iterate through *ds* it will consume one message from the stream at a time:"
]
},
{
Expand Down Expand Up @@ -1159,19 +1159,17 @@
"cell_type": "code",
"execution_count": 19,
"id": "through-mistress",
"metadata": {},
"metadata": {
"editable": true,
"slideshow": {
"slide_type": ""
},
"tags": []
},
"outputs": [],
"source": [
"stream.close()"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "shared-tournament",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit 6a33577

Please sign in to comment.