cloudy cloudy

Author Topic: NOAA XML Warning email format...  (Read 267 times)

0 Members and 3 Guests are viewing this topic.

Offline Stuntman

  • Posts: 776
  • Hemet, California USA
  • OS/Browser:
  • Mac OS X 10.13.1
  • Chrome 61.0.3163.100
    • Hemet Weather
NOAA XML Warning email format...
« on: October 20, 2017, 02:28:12 PM »
For some reason, when I get the NOAA XML warning emailed to me the format is wrong.. I get no line breaks in the email.. just one long, run-on email..

I have two stations, and one of them does it correctly... so there must be something I screwed up when I set it up..  But.. I don't recall where I customized that or where I configured that.. if I even did?

Here is what it looks like..
******NOAA XML Warning****** ----------------------------- CAZ048 Excessive Heat Watch issued October 20 at 2:50AM PDT until October 24 at 8:00PM PDT by NWS ... GUSTY WEST WINDS IN PORTIONS OF THE MOUNTAINS AND DESERTS TODAY... ... UNSEASONABLY HOT WEATHER IN THE COASTAL AREAS AND VALLEYS MONDAY AND TUESDAY... .A trough moving inland across the West Coast will bring gusty west winds in portions of the mountains and deserts today, Excessive Heat Watch ****************

Here is what the working one looks like.. same warning...
******NOAA XML Warning******
-----------------------------
CAZ048
Excessive Heat Watch issued October 19 at 10:01PM PDT until October 24 at 8:00PM PDT by NWS
...
Unseasonably Hot Weather in Coastal and Valley Areas Monday and Tuesday...
 .Santa Ana Winds and strong high pressure aloft will develop this weekend and
bring a strong warming trend. By Monday, many locations west of the mountains will
have temperatures at or above 100 degrees. Tuesday will likely be the hottest day,
with
Excessive Heat Watch
****************
...Unseasonably Hot Weather in Coastal and Valley Areas Monday
and Tuesday...

Offline Weather Display

  • Posts: 82,667
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 61.0.3163.100
    • Weather Display
Re: NOAA XML Warning email format...
« Reply #1 on: October 20, 2017, 11:58:12 PM »
are you using the latest version (and all the latest cron files...e.g via the full install)

Offline Stuntman

  • Posts: 776
  • Hemet, California USA
  • OS/Browser:
  • iOS 11.1
  • Safari 0.8.2
    • Hemet Weather
Re: NOAA XML Warning email format...
« Reply #2 on: October 21, 2017, 03:48:39 PM »
Yes.. I updated just prior to posting the question, to be sure. All current full install. Is there a customization file that may be affecting this output?

Offline Weather Display

  • Posts: 82,667
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 61.0.3163.100
    • Weather Display
Re: NOAA XML Warning email format...
« Reply #3 on: October 21, 2017, 04:59:30 PM »
compare the modified create time of the cronweatherwarningemail program maybe

Offline Stuntman

  • Posts: 776
  • Hemet, California USA
  • OS/Browser:
  • Mac OS X 10.13.1
  • Chrome 61.0.3163.100
    • Hemet Weather
Re: NOAA XML Warning email format...
« Reply #4 on: October 23, 2017, 05:01:00 PM »
I don't see any program with the cronweatherwarningemail name??

Offline Weather Display

  • Posts: 82,667
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 61.0.3163.100
    • Weather Display
Re: NOAA XML Warning email format...
« Reply #5 on: October 23, 2017, 05:53:09 PM »
wdwarningemail.exe

Offline Stuntman

  • Posts: 776
  • Hemet, California USA
  • OS/Browser:
  • Mac OS X 10.13.2
  • Chrome 62.0.3202.94
    • Hemet Weather
Re: NOAA XML Warning email format...
« Reply #6 on: December 07, 2017, 06:19:52 PM »
Looks current..  7/12/2017 version..

I am still having this problem.. on the weather warning emails.. even the 'test' emails..  Weather report emails are fine.. just the warnings seem to be missing the linebreak <br> /return type of thing that breaks the lines up.. 
I've updated again to the most recent version.. fails on my one site and is fine on another..

Here is what it looks like again...
******WEATHER WARNING TEST !****** ******THIS IS A TEST !****** ******THIS IS A TEST !****** ----------------------------- 51mph average windspeed was exceeded ! ----------------------------- Time of event was : 10:12 am Date of event was : 12/07/17 Current conditions : Windspeed 12.4 mph Direction ENE 059 Temperature 67.9 F Humidity 7 % Barometer 30.385 in. Maximum windspeed 49.5 mph ENE at time: 9:23 AM Maximum speed last hr 49.5 mph ENE at time: 9:22AM Rain today 0.00 in. Monthly today 0.00 in. Maximum temperature 68.5 F at time: 4:36 AM Minimum temperature 61.3 F at time: 5:33 AM Rain Rate/min 0.000 in./min (0.000 in./hr) Rain last hr 0.00 in. Please note: This test is in english by default. The auto generated report will be in the language you have selected

Offline Stuntman

  • Posts: 776
  • Hemet, California USA
  • OS/Browser:
  • Mac OS X 10.13.2
  • Chrome 62.0.3202.94
    • Hemet Weather
Re: NOAA XML Warning email format...
« Reply #7 on: December 11, 2017, 05:34:12 PM »
I have also noted the font is different on the weather warnings than the weather reports..  is there a template or a formatting that is applied to the weather warnings that could cause this?  By the lack of replies I can only assume that either I'm the only one who has seen this or nobody has any idea how this got to be like this..

I send these emails out to school districts to alert them to possible school day events.. needless to say, it isn't all that impressive when they get emails that are so badly formatted by Weather-Display. 
 :(

Offline Weather Display

  • Posts: 82,667
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 62.0.3202.94
    • Weather Display
Re: NOAA XML Warning email format...
« Reply #8 on: Today at 02:15:50 AM »

Offline Stuntman

  • Posts: 776
  • Hemet, California USA
  • OS/Browser:
  • Win NT 10.0
  • Chrome 62.0.3202.94
    • Hemet Weather
Re: NOAA XML Warning email format...
« Reply #9 on: Today at 04:16:36 AM »
Okay.. this is what I get now when I run a test using the new file..  like there are no line breaks in it.. 
The second lines are what I get on the WD install that does it right...

******NOAA XML Warning****** ----------------------------- CAZ048 There are no active watches, warnings or advisories

and how it should look...

******NOAA XML Warning******
-----------------------------
CAZ048
There are no active watches, warnings or advisories

Offline Weather Display

  • Posts: 82,667
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Android 5.0.1
  • Chrome 62.0.3202.84
    • Weather Display
Re: NOAA XML Warning email format...
« Reply #10 on: Today at 07:25:21 AM »
Do you mean the normal version from the WD install is actually ok?
It's a bit confusing