Merge pull request #64 from srcarter3/main

Updated the METARs Notebook
This commit is contained in:
srcarter3 2022-06-03 13:56:39 -06:00 committed by GitHub
commit 426c6e48b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 356 additions and 110 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB

File diff suppressed because one or more lines are too long

View file

@ -292,7 +292,7 @@
"source": [
"### Get the Data\n",
"\n",
"Now that we have our `request` and TimeRange `timerange` objects ready, it's time to request the data array from EDEX.\n",
"Now that we have our `request` and TimeRange `timerange` objects ready, we're ready to get the data array from EDEX.\n",
"\n",
"<br>\n",
"<div class=\"alert-info\">\n",
@ -492,7 +492,7 @@
"source": [
"### Draw the Plot and Legend for WWAs\n",
"\n",
"Here is where we finally get ot draw something! The very first few lines of this section are constants that we can manually \"switch on and off\" for what records we want displayed. By default we have all significance types drawn. If we want to \"turn off\" any of the significance records, simply set it's corresponding constant to false, and re-run this cell to see how that plot compares.\n",
"Here is where we finally get to draw something! The very first few lines of this section are constants that we can manually \"switch on and off\" for what records we want displayed. By default we have all significance types drawn. If we want to \"turn off\" any of the significance records, simply set its corresponding constant to false, and re-run this cell to see how that plot compares.\n",
"\n",
"The next step involves creating the objects that are used to define the legend. We use the `phensig_titles` dictionary to loop through all the phensigs in alphabetical (by title) order. Then, we compare if the phensig will be displayed or not based on the display constants from the previous lines. If the significance will be drawn then we create a new [**Patch** object](https://matplotlib.org/stable/api/_as_gen/matplotlib.patches.Patch.html#matplotlib.patches.Patch) of the corresponding color with the corresponding label and add it to our `handles` array.\n",
"\n",