Hello Richard,
On a debian install I use the template below to generate a NOAA style daily
record.
An example of the output can be seen on my website here:
http://pauland.net/NOAA/NOAA-2018-05-27.txt
PLEASE NOTE ! It's the first template I wrote for WEEWX after switching
from wview. Am sure it could be done better, as I just guessed my way until
things worked. However it's been working well for me for 6 months with no
issues.Notice it has hard codes station name rather than variable in a
couple places.
/etc/weewx/skins/Standard/NOAA/NOAA-YYYY-MM-DD.txt.tmpl
#errorCatcher Echo
#set $YM="%Y%m"
#set $D="%d"
#set $M="%b"
#set $Time="%H:%M"
#set $TimeM="%I:%M %p"
#set $Temp="%6.1f"
#set $Wind="%6.0f"
#set $Dir="%6.0f"
#set $Humid="%6.0f"
#set $Press="%6.1f"
#set $NONE=" N/A"
#set $Rain="%6.2f"
WOBURN WEATHER CENTER
DAILY CLIMATOLOGICAL SUMMARY FOR $month_name $day.dateTime.format($D)
$year_name
Location: Woburn, Massachusetts, U.S.A.
ELEV: $station.altitude LAT: $station.latitude[0]-$station.latitude[1]
$station.latitude[2] LONG: $station.longitude[0]-$station.longitude[1]
$station.longitude[2]
Time Wind Dir Wind Spd Wind Gust Humidity Temp Barometer
Rain
Deg mph mph % Deg F mb
in
--------------------------------------------------------------------------------
#for $record in $day.records
$record.dateTime.format($Time) $record.windDir.nolabel($Dir,$NONE)
$record.windSpeed.nolabel($Wind,$NONE)
$record.windGust.nolabel($Wind,$NONE)
$record.outHumidity.nolabel($Humid,$NONE)
$record.outTemp.nolabel($Temp,$None)
$record.barometer.nolabel($Press,$NONE) $record.rain.nolabel($Rain,$NONE)
#end for
WOBURN WEATHER CENTER
Summary For $month_name $day.dateTime.format($D) $year_name
----------------------------------
Max Temp: $day.outTemp.max At: $day.outTemp.maxtime.format($TimeM)
Min Temp: $day.outTemp.min At: $day.outTemp.mintime.format($TimeM)
Mean Temp: $day.outTemp.avg
Max Wind Gust: $day.windGust.max At: $day.windGust.maxtime.format($TimeM)
Heat Deg Days: $day.heatdeg.sum
Cool Deg Days: $day.cooldeg.sum
Daily Rain: $day.rain.sum
----------------------------------
On Mon, May 28, 2018 at 2:27 PM, <[email protected]> wrote:
> Cheers!!
>
>
> On Monday, May 28, 2018 at 12:22:47 PM UTC-5, [email protected] wrote:
>>
>> All,
>>
>> First let me say that I have been a long time wview user and I have spent
>> some time getting adapted to the new interface. I have the system up and
>> running on a Pi with my Vantage Pro2 and have even successfully managed to
>> port my old wview pages to the new platform. I have a couple of questions
>> with some things I did not quite find in the documentation.
>>
>> 1. NOAA File generation: Does weeWX create or can it create the NOAA
>> daily files like wview did? Not a problem if it does not but just more
>> changes to my custom web pages.
>> 2. Is there a way to get the webpages to update at a faster rate? I
>> am currently using the default value for the archiving (300s). If
>> possible
>> I would like them to update every minute if possible. The documentation
>> implies that you are stuck at the data archiving rate.
>> 3. Can you force weeWX to generate a new set of reports on command
>> and publish to the web server? If so I will just add an update button to
>> the webpage
>>
>> Thanks In advance and to all that contributed to the code. Nice Work!
>>
>> Richard
>>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.