Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
WillemMarais committed Sep 22, 2023
1 parent e02f67b commit 8ded0ea
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 41 deletions.
24 changes: 20 additions & 4 deletions _sources/notebooks/read_display_uw_hsrl_scanning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"* Next, the UW HSRL is capable of making continuous **horizontal stare** measurements at an oblique angle between 70° and 90° relative to zenith.\n",
"* Finally, the HSRL makes repeated **scanning** measurements between 70° and 90°, nominally in 0.5° steps, where each directional scan is conducted within a minute.\n",
"\n",
"These three viewing measurement configurations are organized in their own netcdf4 groups which will be discussed in the subsequent subsections. Here is how you download the sample (prelimary) 1.4 GB L1B netcdf4 file."
"These three viewing measurement configurations are organized in their own <ins>**netcdf4 groups**</ins> which will be discussed in the subsequent subsections. Here is how you download the sample (prelimary) 1.4 GB L1B netcdf4 file."
]
},
{
Expand Down Expand Up @@ -67,7 +67,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 1,
"metadata": {
"editable": true,
"slideshow": {
Expand All @@ -77,7 +77,19 @@
"hide-input"
]
},
"outputs": [],
"outputs": [
{
"ename": "NameError",
"evalue": "name 'Path' is not defined",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
"Cell \u001b[0;32mIn[1], line 2\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;66;03m# Whereto the file will be loaded\u001b[39;00m\n\u001b[0;32m----> 2\u001b[0m l1b_fileP \u001b[38;5;241m=\u001b[39m \u001b[43mPath\u001b[49m(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m~/\u001b[39m\u001b[38;5;124m\"\u001b[39m)\u001b[38;5;241m.\u001b[39mexpanduser() \u001b[38;5;241m/\u001b[39m Path(remote_l1b_url_str)\u001b[38;5;241m.\u001b[39mname\n\u001b[1;32m 4\u001b[0m \u001b[38;5;66;03m# If the file has not been downloaded yet...download the file\u001b[39;00m\n\u001b[1;32m 5\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m l1b_fileP\u001b[38;5;241m.\u001b[39mexists() \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;28;01mFalse\u001b[39;00m:\n",
"\u001b[0;31mNameError\u001b[0m: name 'Path' is not defined"
]
}
],
"source": [
"# Whereto the file will be loaded\n",
"l1b_fileP = Path(\"~/\").expanduser() / Path(remote_l1b_url_str).name\n",
Expand All @@ -93,7 +105,11 @@
" round(int(header_obj[\"Content-Length\"]) / 1024**3, 1),\n",
" str(l1b_fileP)\n",
" )\n",
" )"
" )\n",
"\n",
"print(\n",
" f\"The downloaded file is available at:\\n{l1b_fileP} . \"\n",
")"
]
},
{
Expand Down
Loading

0 comments on commit 8ded0ea

Please # to comment.