Skip to content

Commit

Permalink
Merge pull request #144 from asfadmin/V5.1.0-bug-fix
Browse files Browse the repository at this point in the history
Updates docs for readability, adds console output example
  • Loading branch information
SpicyGarlicAlbacoreRoll authored Sep 28, 2022
2 parents e76d16c + 1e007b1 commit a0bc53d
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions examples/1-Basic_Overview.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,9 @@
"- `metalink`\n",
"- `kml`\n",
"\n",
"All formats are callable as class methods on any `ASFSearchResults` object and produce results equivalent to SearchAPI.\n",
"All formats are callable as methods on any `ASFSearchResults` object, producing results equivalent to SearchAPI.\n",
"\n",
"Below is an example of saving results to a csv file called `search_results.csv` using the `ASFSearchResults.csv()` method."
"Below is an example of saving results to a csv file using the `ASFSearchResults.csv()` method."
]
},
{
Expand All @@ -299,6 +299,24 @@
" f.writelines(results.csv())"
]
},
{
"cell_type": "markdown",
"id": "880990be",
"metadata": {},
"source": [
"The output can be also previewed in the terminal"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "6fc75e9b",
"metadata": {},
"outputs": [],
"source": [
"print(*results.csv(), sep='')"
]
},
{
"cell_type": "markdown",
"id": "cf042a01-674d-4518-9a05-067cd61fb51e",
Expand Down

0 comments on commit a0bc53d

Please sign in to comment.