The purpose of this Python tkinter zipapp is to expedite viewing, retrieving, and optionally storing imagery found in the Storm Prediction Center's Mesoscale Analysis Archive.
It is an implementation of my online version of the Mesoanalysis Archive Explorer.
- Makes working with SPC's mesoscale analysis archive substantially easier by enabling quick change of products and date.
- Keyboard shortcuts included for more control over temporal movement
- Optional archive mode which allows local storage of imagery for offline use
- Changing of background-color.
- Changing of default settings.
- Python (
>= v3.5
) withtkinter
- Pillow (Python Imaging Library Fork)
pip install pillow
- Just place
maetk.pyz
into a folder of its own. - Open the
maetk.pyz
file (you should be able to just double-click it).
This program allows several different options to change the date.
- Using the date entry box, you can change the date with a properly formatted string (
YYYYMMDDHH
).- For example, to change the date to May 31, 2013 at 23Z, the proper string would be
2013053123
.
- For example, to change the date to May 31, 2013 at 23Z, the proper string would be
- Using the provided buttons, the date can be changed by going back or forward by 1 year, 1 month, 1 week, 1 day, or 1 hour.
- The
Present Time
button will take you to a near-real time date, usually offset by a few hours. This is due to that the imagery really represents forecast-hour 0 of the RAP model. As models take time to compile/run, generally, the most recent available imagery is from the previous 1 or 2 hours. Also, the archive may not be updated as fast as the 'real-time' data.
- The
For convenience/reference, the current time (in UTC/Zulu) is displayed on the main toolbar.
- Hourly temporal movement is also supported via the keys
<
and>
. Future updates/versions will likely include more.
The vast array of archived SPC Mesoanalysis products are categorized into different categories, generally reflecting their placement on the real-time SPC Mesoanalysis page.
-
Just click the category, then the product. The change/current product will be highlighted in yellow.
-
In addtion, the current product description (along with the date) will be placed just above the map.
Turning on Archive Mode
will save the imagery locally (hence the need to place this program in its own folder). To turn this option on (or off), click Options
on the toolbar and select Archive Mode
. It will be turned on if there is a check-mark beside it. In subsequent loading of archived imagery, local existence is checked first before attempting to download.
Under Options
, select Theme
. There are a few pre-defined colors. Choose Custom
to define your own background/theme color.
Below the archive mode setting is Make Current Settings Default
. It takes the current settings, like archive mode, date, and product and will save those settings for use when you open the program next.
- Background Map (base_19.gif): - This map was produced from an existing archived map that had little clutter and was easy enough to clean up. It is used as the backdrop and to display transparent products like convective outlooks. This was done because I couldn't find a blank basemap that would match the archived transparent products.
- Product Titles/Descriptions were also retrieved via SPC's site too.