Skip to content

Commit

Permalink
simplify docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Oct 13, 2023
1 parent 7bc600b commit 6c60977
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions notebooks/00-quick_intro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
" \"longitude\",\n",
" \"salinity\",\n",
" \"temperature\",\n",
" \"profile_id\",\n",
" \"time\",\n",
"]\n",
"\n",
Expand Down Expand Up @@ -79,16 +80,18 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The variable names are standardised by gliderpy, making it easier to fetch from different data sources and comparing the results.\n",
"Much easier, right?\n",
"The variable names are standardized by gliderpy,\n",
"making it easier to fetch from different data sources and comparing the results.\n",
"\n",
"`gliderpy` can subset the data on the server side by passing a geographic bounding box and time interval."
"The `gliderpy` libray can subset the data on the server side by passing a geographic bounding box and time interval."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Multiple datasets\n",
"### Querying multiple datasets\n",
"\n",
"The most common use is to search all datasets for data that falls within the certain space-time bounds."
]
Expand All @@ -101,7 +104,16 @@
"source": [
"glider_grab = GliderDataFetcher()\n",
"\n",
"glider_grab.query(10, 40, -90, 8, \"2010-01-01\", \"2013-06-02\")\n",
"df = glider_grab.query(10, 40, -90, 8, \"2010-01-01\", \"2013-06-02\")\n",
"df"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"df = glider_grab.to_pandas()\n",
"df.head()"
]
Expand All @@ -112,7 +124,7 @@
"source": [
"### Dataset search\n",
"\n",
"One can query all dataset_ids available."
"One can query all `dataset_id`s available in the server."
]
},
{
Expand Down Expand Up @@ -146,7 +158,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
"version": "3.11.6"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 6c60977

Please sign in to comment.