Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Fix image paths in TRACER example #138

Merged
merged 7 commits into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading