Skip to content

Commit

Permalink
Merge pull request #56 from callumrollo/callum-patch-8
Browse files Browse the repository at this point in the history
add multi-dataset download to intro nb
  • Loading branch information
ocefpaf committed Apr 11, 2023
2 parents 8d710a9 + d628040 commit ef03942
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion notebooks/00-quick_intro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"One can also reduce the data on the server side by passing a geographic bounding box and time interval."
"The variable names are also standardised by gliderpy\n",
"\n",
"### Single dataset\n",
"\n",
"`gliderpy` can subset the data on the server side by passing a geographic bounding box and time interval."
]
},
{
Expand All @@ -100,6 +104,30 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Multiple datasets\n",
"\n",
"If a user does not specify a `dataset_id`, `gliderpy` will search all datasets for data that falls within the query bounds."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"glider_grab = GliderDataFetcher()\n",
"\n",
"glider_grab.query(10, 40, -90, 8, \"2010-01-01\", \"2013-06-02\")\n",
"df = glider_grab.to_pandas()\n",
"df.head()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Dataset search\n",
"\n",
"One can query all datasets available."
]
},
Expand Down

0 comments on commit ef03942

Please sign in to comment.