Re: [weewx-user] Bar graph with multiple data sources

2021-06-03 Thread Tom Keffer
Unfortunately, no, the plotting engine cannot do this. A line is the best
we can do.



On Thu, Jun 3, 2021 at 4:39 PM jszit...@gmail.com 
wrote:

>
> I have two rain gauges and I am trying to show them in the same bar
> graph.  They both plot, but the plot points (bars) are stacked on each
> other.  This works when one gauge has a higher value than the other, but
> not vice-versa.  Unfortunately all of the multiple plot examples in the
> customization guide are for actual plot lines.  Is there a way to plot the
> bars next to each other, or maybe control the width?  My current code in
> skin.conf is:
>
> [[[dayrain]]]
> yscale = None, None, 0.02
> plot_type = bar
> rain
> aggregate_type = sum
> aggregate_interval = 3600
> label = Rain (hourly total)
> RSrain
> aggregate_type = sum
> aggregate_interval = 3600
> data_type = rain
> data_binding = RSt_binding
> label = RS
>
> Thanks,
> Jonathan
>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/efc45998-f613-4009-8a47-82491d9b0772n%40googlegroups.com
> 
> .
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEDs%3DjT_nXDKheykWSSk_4gkuzZE1GsPk_5qti0%3DFVeM0g%40mail.gmail.com.


[weewx-user] Bar graph with multiple data sources

2021-06-03 Thread jszit...@gmail.com

I have two rain gauges and I am trying to show them in the same bar graph.  
They both plot, but the plot points (bars) are stacked on each other.  This 
works when one gauge has a higher value than the other, but not 
vice-versa.  Unfortunately all of the multiple plot examples in the 
customization guide are for actual plot lines.  Is there a way to plot the 
bars next to each other, or maybe control the width?  My current code in 
skin.conf is:

[[[dayrain]]]
yscale = None, None, 0.02
plot_type = bar
rain
aggregate_type = sum
aggregate_interval = 3600
label = Rain (hourly total)
RSrain
aggregate_type = sum
aggregate_interval = 3600
data_type = rain
data_binding = RSt_binding
label = RS

Thanks,
Jonathan

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/efc45998-f613-4009-8a47-82491d9b0772n%40googlegroups.com.


Re: [weewx-user] Direction of the maximum wind value

2021-06-03 Thread Tom Keffer
You could do something like (NOT TESTED):

#set t = $month.windSpeed.maxtime
The max wind speed this month is $month.windSpeed.max from direction
$current(timestamp=$t).windDir at time $t.



On Thu, Jun 3, 2021 at 8:38 AM Remy Lavabre  wrote:

> Good morning all,
>
> To have the maximum wind gust over a period this works very well and also
> gives the time and date of this wind gust:
>
> Win Gust Max
> #for $archive in $archive_data
> 
>   
> $archive[1].wind.gustdir.ordinal_compass
> ($archive[1].wind.gustdir.format(add_label=False)$unit.label.windDir)
> - $archive[1].wind.max.format(add_label=False)
> $archive[1].wind.maxtime
> 
>
>
> Over the same period, I get the maximum wind value (not the gust) with the
> following formula:
>
>   
> $archive[1].windSpeed.max.format(add_label=False)
>  class="timestamp">$archive[1].windSpeed.maxtime
>
> My problem is that I cannot recover the direction of the wind during this
> maximum :
>
> $archive[1].windDir.ordinal_compass ( $archive[1].windSpeed.max  ) does
> not work ! :-(
>
> How should I do it?
> Thank you
>
>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/85fa1519-24ba-45a0-bc45-20bf18a9b9ben%40googlegroups.com
> 
> .
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEBk9Dpq7LG0_TwZY%3D5pMXS4ECZgvjkg4sL5t1K3OBBGGw%40mail.gmail.com.


Re: [weewx-user] NOAA reports

2021-06-03 Thread vince
Thanks John - I poked around a bit and there are some samples 
in https://www1.ncdc.noaa.gov/pub/data/cdo/samples/ for the various 
formats.   Very government(ish) reading the documentation 
in https://www1.ncdc.noaa.gov/pub/data/cdo/documentation/

I didn't see one that looks like the NOAA charts from wview/weewx but you 
can see some of the lineage in the various samples.


On Thursday, June 3, 2021 at 8:52:23 AM UTC-7 jo...@johnkline.com wrote:

>
> https://www.ncei.noaa.gov/access/metadata/landing-page/bin/iso?id=gov.noaa.ncdc:C00040
>
>
> https://www1.ncdc.noaa.gov/pub/data/cdo/documentation/ANNUAL_documentation.pdf
>
> On Jun 3, 2021, at 8:03 AM, Karen K  wrote:
>
> gjr80 schrieb am Mittwoch, 2. Juni 2021 um 22:21:18 UTC+2:
>
>> I’ve wondered this myself at times. Interestingly, both WeatherDisplay 
>> and Cumulus provide near identical reports.
>> Purely supposition on my behalf but I wonder if maybe the month report is 
>> loosley based on this on the first page of the following link:
>> https://www1.ncdc.noaa.gov/pub/data/cdo/samples/LCD_sample_pdf.pdf
>>
>  
> All the reports at NOAA I found in the Internet follow that template 
> exactly. There were even some that had sunset and sunrise filled in only 
> and nothing else, but they had all the 23 columns.
>
> -- 
> 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 weewx-user+...@googlegroups.com.
>
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/70394d72-ebed-487d-9572-642371658a8cn%40googlegroups.com
>  
> 
> .
>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6d22eeb1-a4a8-4f50-8c0d-17d3a2199f2en%40googlegroups.com.


Re: [weewx-user] NOAA reports

2021-06-03 Thread John Kline
https://www.ncei.noaa.gov/access/metadata/landing-page/bin/iso?id=gov.noaa.ncdc:C00040

https://www1.ncdc.noaa.gov/pub/data/cdo/documentation/ANNUAL_documentation.pdf

> On Jun 3, 2021, at 8:03 AM, Karen K  wrote:
> 
> gjr80 schrieb am Mittwoch, 2. Juni 2021 um 22:21:18 UTC+2:
>> I’ve wondered this myself at times. Interestingly, both WeatherDisplay and 
>> Cumulus provide near identical reports.
>> Purely supposition on my behalf but I wonder if maybe the month report is 
>> loosley based on this on the first page of the following link:
>> https://www1.ncdc.noaa.gov/pub/data/cdo/samples/LCD_sample_pdf.pdf
>  
> All the reports at NOAA I found in the Internet follow that template exactly. 
> There were even some that had sunset and sunrise filled in only and nothing 
> else, but they had all the 23 columns.
> 
> -- 
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/70394d72-ebed-487d-9572-642371658a8cn%40googlegroups.com.

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/F81C7C7B-460A-46B1-AE79-9DB92399B324%40johnkline.com.


[weewx-user] Direction of the maximum wind value

2021-06-03 Thread Remy Lavabre
Good morning all,

To have the maximum wind gust over a period this works very well and also 
gives the time and date of this wind gust:

Win Gust Max
#for $archive in $archive_data

  
$archive[1].wind.gustdir.ordinal_compass 
($archive[1].wind.gustdir.format(add_label=False)$unit.label.windDir)
- $archive[1].wind.max.format(add_label=False)
$archive[1].wind.maxtime



Over the same period, I get the maximum wind value (not the gust) with the 
following formula:

  
$archive[1].windSpeed.max.format(add_label=False)
$archive[1].windSpeed.maxtime

My problem is that I cannot recover the direction of the wind during this 
maximum :

$archive[1].windDir.ordinal_compass ( $archive[1].windSpeed.max  ) does not 
work ! :-(

How should I do it?
Thank you


-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/85fa1519-24ba-45a0-bc45-20bf18a9b9ben%40googlegroups.com.


Re: [weewx-user] NOAA reports

2021-06-03 Thread Karen K
gjr80 schrieb am Mittwoch, 2. Juni 2021 um 22:21:18 UTC+2:

> I’ve wondered this myself at times. Interestingly, both WeatherDisplay and 
> Cumulus provide near identical reports.
> Purely supposition on my behalf but I wonder if maybe the month report is 
> loosley based on this on the first page of the following link:
> https://www1.ncdc.noaa.gov/pub/data/cdo/samples/LCD_sample_pdf.pdf
>
 
All the reports at NOAA I found in the Internet follow that template 
exactly. There were even some that had sunset and sunrise filled in only 
and nothing else, but they had all the 23 columns.

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/70394d72-ebed-487d-9572-642371658a8cn%40googlegroups.com.