Skip to content

Commit

Permalink
FIX: Fix image paths in TRACER example (#138)
Browse files Browse the repository at this point in the history
* FIX: Fix the broken link

* FIX: Fix the tracer example image paths

* FIX: Fix link in pyart gallery

* FIX: Fix the link in the NEXRAD example
  • Loading branch information
mgrover1 authored Nov 12, 2024
1 parent 01c49a7 commit 58a2095
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion notebooks/example-workflows/echo_top_height.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@
"source": [
"## Resources and References\n",
"* [NOAA NEXRAD on AWS](https://registry.opendata.aws/noaa-nexrad/)\n",
"* [Read NEXRAD on AWS](https://arm-doe.github.io/pyart/examples/io/plot_nexrad_data_aws.html#sphx-glr-examples-io-plot-nexrad-data-aws-py)\n",
"* [Read NEXRAD on AWS](https://arm-doe.github.io/pyart/examples/io/plot_nexrad_data_aws.html)\n",
"* Py-ART:\n",
" - Helmus, J.J. & Collis, S.M., (2016). The Python ARM Radar Toolkit (Py-ART), a Library for Working with Weather Radar Data in the Python Programming Language. Journal of Open Research Software. 4(1), p.e25. DOI: http://doi.org/10.5334/jors.119\n",
"* Echo-top height algorithm:\n",
Expand Down
12 changes: 9 additions & 3 deletions notebooks/example-workflows/moore-oklahoma-tornado.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -500,13 +500,19 @@
"source": [
"## Resources and References\n",
"* [NEXRAD Data on AWS](https://registry.opendata.aws/noaa-nexrad/)\n",
"* [Py-ART NEXRAD Data Example](https://arm-doe.github.io/pyart/examples/io/plot_nexrad_data_aws.html#sphx-glr-examples-io-plot-nexrad-data-aws-py)"
"* [Py-ART NEXRAD Data Example](https://arm-doe.github.io/pyart/examples/io/plot_nexrad_data_aws.html)"
]
},
{
"cell_type": "markdown",
"id": "6be65a59",
"metadata": {},
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -520,7 +526,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.16"
"version": "3.9.6"
}
},
"nbformat": 4,
Expand Down
15 changes: 5 additions & 10 deletions notebooks/example-workflows/tracer-example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@
" vmax=15)\n",
" plt.xlim(62,68)\n",
" plt.ylim(0, 6)\n",
" plt.savefig(f\"quicklooks/{radar.scan_type}/{Path(file).stem}.png\", dpi=200)\n",
" plt.savefig(f\"{radar.scan_type}_{Path(file).stem}.png\", dpi=200)\n",
" plt.show()\n",
" plt.close() "
]
Expand All @@ -298,7 +298,7 @@
"id": "97d6443f-8748-4c05-a9fb-91b523934563",
"metadata": {},
"source": [
"### Create a GIF of teh RHI images"
"### Create a GIF of the RHI images"
]
},
{
Expand All @@ -308,7 +308,7 @@
"metadata": {},
"outputs": [],
"source": [
"rhi_images = sorted(glob.glob(\"quicklooks/rhi/*\"))"
"rhi_images = sorted(glob.glob(f\"{radar.scan_type}*\"))"
]
},
{
Expand Down Expand Up @@ -372,7 +372,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -386,12 +386,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.16"
},
"vscode": {
"interpreter": {
"hash": "31f2aee4e71d21fbe5cf8b01ff0e069b9275f58929596ceb00d14d90e3e16cd6"
}
"version": "3.9.6"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 58a2095

Please sign in to comment.