Click dot to select in form above.
Key
Online
Offline
diff --git a/htdocs/plotting/auto/scripts/p59.py b/htdocs/plotting/auto/scripts/p59.py
index b3ad07b298..e21de426ae 100644
--- a/htdocs/plotting/auto/scripts/p59.py
+++ b/htdocs/plotting/auto/scripts/p59.py
@@ -61,8 +61,8 @@ def add_plot(ctx):
"""Do plotting."""
title = (
f"{ctx['_sname']} :: Daily Average Component Wind Speed\n"
- f"[{ctx['ab'].year}-{datetime.datetime.now().year}] 7 day smooth filter "
- f"applied, {len(ctx['df'].index):.0f} obs found"
+ f"[{ctx['ab'].year}-{datetime.datetime.now().year}] 7 day smooth "
+ f"filter applied, {len(ctx['df'].index):.0f} obs found"
)
ctx["fig"] = figure(apctx=ctx, title=title)
axes = ctx["fig"].subplots(2, 1)
diff --git a/htdocs/plotting/auto/scripts100/p147.py b/htdocs/plotting/auto/scripts100/p147.py
index 3ea8ac0493..2d58452715 100644
--- a/htdocs/plotting/auto/scripts100/p147.py
+++ b/htdocs/plotting/auto/scripts100/p147.py
@@ -70,11 +70,14 @@ def plotter(fdict):
alldata WHERE station = %s)
SELECT extract(doy from o.day) as doy, count(*),
- sum(case when o.high >= (t.high::numeric + %s) then 1 else 0 end) as high_hits,
- sum(case when o.low >= (t.low::numeric + %s) then 1 else 0 end) as low_hits,
+ sum(case when o.high >= (t.high::numeric + %s) then 1 else 0 end)
+ as high_hits,
+ sum(case when o.low >= (t.low::numeric + %s) then 1 else 0 end)
+ as low_hits,
sum(case when o.precip >= (t.precip + %s) then 1 else 0 end)
as precip_hits,
- sum(case when o.avgt >= (t.avgt::numeric + %s) then 1 else 0 end) as avgt_hits
+ sum(case when o.avgt >= (t.avgt::numeric + %s) then 1 else 0 end)
+ as avgt_hits
from obs1 o JOIN obs2 t on (o.day = t.day) GROUP by doy
ORDER by doy ASC
""",
diff --git a/htdocs/plotting/auto/scripts100/p170.py b/htdocs/plotting/auto/scripts100/p170.py
index 1ed5fd056c..690befefd6 100644
--- a/htdocs/plotting/auto/scripts100/p170.py
+++ b/htdocs/plotting/auto/scripts100/p170.py
@@ -1,4 +1,25 @@
-"""METAR frequency"""
+"""
+This chart totals the number of distinct calendar
+days or hours per month that a given present weather condition is reported
+within the METAR data feed. The calendar day is computed for the local time
+zone of the reporting station.
+
+
The reporting of present weather codes within METARs has changed over
+the years and there is some non-standard nomenclature used by some sites.
+The thunder (TS) reports are delineated into three categories here to
+hopefully allow more accurate statistics.
+
+ - All Thunder Reports (TS) includes any
+
TS
mention in any present weather code
+ - Thunder in Vicinity (VCTS) includes any
+
VCTS
mention in any present weather code, for example,
+ VCTSRA
would match.
+ - Thunder Reports (excluding VCTS) includes most
+
TS
mentions, but not any including VC
+
+
+
This autoplot considers both routine and special hourly reports.
+"""
import calendar
import datetime
@@ -31,32 +52,7 @@
def get_description():
"""Return a dict describing how to call this plotter"""
- desc = {}
- desc["data"] = True
- desc["cache"] = 86400
- desc[
- "description"
- ] = """This chart totals the number of distinct calendar
- days or hours per month that a given present weather condition is reported within
- the METAR data feed. The calendar day is computed for the local time zone
- of the reporting station.
-
-
The reporting of present weather codes within METARs has changed over
- the years and there is some non-standard nomenclature used by some sites.
- The thunder (TS) reports are delineated into three categories here to
- hopefully allow more accurate statistics.
-
- - All Thunder Reports (TS) includes any
-
TS
mention in any present weather code
- - Thunder in Vicinity (VCTS) includes any
-
VCTS
mention in any present weather code, for example,
- VCTSRA
would match.
- - Thunder Reports (excluding VCTS) includes most
-
TS
mentions, but not any including VC
-
-
-
This autoplot considers both routine and special hourly reports.
- """
+ desc = {"description": __doc__, "data": True, "cache": 86400}
desc["arguments"] = [
dict(
type="zstation",
diff --git a/htdocs/projects/iembot/mastodon/index.py b/htdocs/projects/iembot/mastodon/index.py
index bb03990173..7f92cc2453 100644
--- a/htdocs/projects/iembot/mastodon/index.py
+++ b/htdocs/projects/iembot/mastodon/index.py
@@ -20,8 +20,8 @@
Highly Experimental IEMBot to Mastodon Configuration:
-
There are absolutely no warranties with this service.
-Use at your own risk and peril!
+
There are absolutely no warranties with this
+service. Use at your own risk and peril!
"""
ENTER_HOST_FORM = """