Re: [weewx-user] Re: Exfoliation errors

2018-01-27 Thread mwall
On Saturday, January 27, 2018 at 12:27:22 PM UTC-5, pgeenhuizen wrote:
>
> Matt,
> That did it.  
> I see that you changed the strip from horizontal to vertical.  I'm not 
> sure which I prefer, the vertical is easier to read, but the horizontal was 
> more compact, and doesn't require scrolling.  Could you make orientation an 
> option on the strip page?
>

take a look in forecast_strip.inc at line 116:

var default_display_settings = {

//  'orientation': '$orientation',

  'orientation': 'vertical',

  'show_temp': $show_temp,

change that to this:

var default_display_settings = {

  'orientation': '$orientation',

  'show_temp': $show_temp,

then you can set the orientation in weewx.conf, skin.conf, or inline as you 
would any of the other forecast parameters.

 

> Not sure about this one.  Right now when I look at the Weather Underground 
> iconic view it shows Sat, Sun and Mon and nothing for Wed, Thurs and Fri.  
> When I look at the Table and the strip they both show a forecast for Sat - 
> Thurs 
>
> Lastly and this might my foul up on the main page under the FORECAST 
> heading, I only see the forecast for the current day and only for Weather 
> Underground.
>

each of the forecast views has a parameter that controls how far into the 
future the forecast should display (e.g., num_periods or num_days).   if 
that is a longer timespan than the amount of forecast data in the database, 
then the display *should* show nothing for those empty days/hours.

i probably do not have the defaults for these dialed in perfectly just yet 
(as you might have noticed, there are many different forecast sources, and 
many different ways to view forecasts now.  testing all of the permutations 
is becoming a formidable challenge!)

m

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Exfoliation errors

2018-01-27 Thread Pete Geenhuizen



On 01/27/18 11:18, mwall wrote:

On Saturday, January 27, 2018 at 11:05:37 AM UTC-5, pgeenhuizen wrote:


Well now I have a new error
an 27 10:48:52 host weewx[26967]: cheetahgenerator:  Ignoring
template /etc/weewx/skins/forecast/single-strip-vertical.html.tmpl
Jan 27 10:48:52 host weewx[26967]: cheetahgenerator:  Ignoring
template /etc/weewx/skins/forecast/iconic-horizontal.html.tmpl
Jan 27 10:48:52host weewx[26967]: cheetahgenerator:  Ignoring
template /etc/weewx/skins/forecast/tides-graphic.html.tmpl


and now i remember why i did not publicize the forecast 3.2.18 release :)

forecast 3.2.19 has the single-strip-vertical and iconic-horizontal 
pages (3.2.18 has them, but they were not in the install.py 
configuration).


iconic works.  vertical strip still has css issues.  the graphic tide 
display is not ready yet, so i have excluded that from the 3.2.19 
release, but the generator should not fail now.


m


Matt,
That did it.
I see that you changed the strip from horizontal to vertical.  I'm not 
sure which I prefer, the vertical is easier to read, but the horizontal 
was more compact, and doesn't require scrolling.  Could you make 
orientation an option on the strip page?


Not sure about this one.  Right now when I look at the Weather 
Underground iconic view it shows Sat, Sun and Mon and nothing for Wed, 
Thurs and Fri.  When I look at the Table and the strip they both show a 
forecast for Sat - Thurs


Lastly and this might my foul up on the main page under the FORECAST 
heading, I only see the forecast for the current day and only for 
Weather Underground.


None of the above is a show stopper and are merely my observations, my 
main concern were the errors which are now fixed.


Once again thanks for your help and quick response.
Pete

--
Unencumbered by the thought process.
 -- Click and Clack the Tappet brothers


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
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.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Exfoliation errors

2018-01-27 Thread Pete Geenhuizen



On 01/27/18 09:44, mwall wrote:



On Saturday, January 27, 2018 at 9:36:55 AM UTC-5, pgeenhuizen wrote:

Speaking of updating extensions, I've often wonder what is the
best procedure/practice?
remove the existing extension and then install the new one?
Install the new extension then remove the old one?
Install the new extension and nothing more?


just install the new version.  the extension installer will snapshot 
the older version, which is nice if you want to roll back (rollback 
requires manual intervention.  pull requests to make rollback and 
revision-listing part of the wee_extension command-line options would 
be welcome!)


thank you for the 'wee_extension --list'

that is exactly what i was going for, and it makes clear what you have 
installed


m


You're welcome to the list and I'll let you know how it goes.
Thanks for your quick response and help.
Pete

--
Unencumbered by the thought process.
 -- Click and Clack the Tappet brothers


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
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.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Exfoliation errors

2018-01-27 Thread mwall


On Saturday, January 27, 2018 at 9:36:55 AM UTC-5, pgeenhuizen wrote:
>
> Speaking of updating extensions, I've often wonder what is the best 
> procedure/practice?
> remove the existing extension and then install the new one?
> Install the new extension then remove the old one?
> Install the new extension and nothing more?
>

just install the new version.  the extension installer will snapshot the 
older version, which is nice if you want to roll back (rollback requires 
manual intervention.  pull requests to make rollback and revision-listing 
part of the wee_extension command-line options would be welcome!)

thank you for the 'wee_extension --list'

that is exactly what i was going for, and it makes clear what you have 
installed

m

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Exfoliation errors

2018-01-27 Thread Pete Geenhuizen


On 01/27/18 09:28, mwall wrote:



On Saturday, January 27, 2018 at 9:21:37 AM UTC-5, pgeenhuizen wrote:


Matt,
No apologies needed, these things happen, I'm only too happy to
get a timely response.
This is a test setup, so I'm willing to go either way, what would
you prefer that I do?
Pete


go ahead an update to the latest versions

Speaking of updating extensions, I've often wonder what is the best 
procedure/practice?

remove the existing extension and then install the new one?
Install the new extension then remove the old one?
Install the new extension and nothing more?

--
Unencumbered by the thought process.
 -- Click and Clack the Tappet brothers


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
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.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Exfoliation errors

2018-01-27 Thread mwall


On Saturday, January 27, 2018 at 9:21:37 AM UTC-5, pgeenhuizen wrote:
>
>
> Matt,
> No apologies needed, these things happen, I'm only too happy to get a 
> timely response.  
> This is a test setup, so I'm willing to go either way, what would you 
> prefer that I do?
> Pete
>

go ahead an update to the latest versions

 

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Exfoliation errors

2018-01-27 Thread Pete Geenhuizen



On 01/27/18 09:12, mwall wrote:

pete,

i seem to have gotten undisciplined in my releases.  i did apply a fix 
for this, but it is un an unpublished release.  my apologies!


the behavior you see happens only when the *remaining* daily high and 
low are the same (often at the end of the day)


you can patch by doing this in forecast_iconic.inc:

at line 97 insert a line to change this:

#set $range_width = 0

#if $summary.tempMin.raw is not None and $summary.tempMax.raw is not None


to this:

#set $range_width = 0

#set $trailing_width = 0

#if $summary.tempMin.raw is not None and $summary.tempMax.raw is not None


and around line 155 insert a line to change this:

#set $range_height = 0

#if $summary.tempMin.raw is not None and $summary.tempMax.raw is not None


to this:

#set $range_height = 0

#set $trailing_height = 0

#if $summary.tempMin.raw is not None and $summary.tempMax.raw is not None


or you can install exfoliation 0.44 and forecast 3.2.18

(i have been battling some css quirks in the vertical orientation of 
the 'strip' forecast display, and so far i am losing that battle)


m


Matt,
No apologies needed, these things happen, I'm only too happy to get a 
timely response.
This is a test setup, so I'm willing to go either way, what would you 
prefer that I do?

Pete

--
Unencumbered by the thought process.
 -- Click and Clack the Tappet brothers


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
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.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Exfoliation errors

2018-01-27 Thread Pete Geenhuizen


On 01/27/18 08:51, mwall wrote:
sorry, i see that you posted the versions.  i thought this was fixed 
some time ago.  can we confirm that you are actually running 0.43 
exfoliation?

--


Is this what you need?

/usr/bin/wee_extension --list
Extension Name    Version   Description
lastrain  0.1   SLE for last rain information for weewx reports
StackedWindRose   2.1.0 Stacked windrose image generator for weeWX.
forecast  3.2.17    Generate and display weather and tide forecasts.
exfoliation   0.43  A minimalist layout with lots of data.

And this from the web page

weewx: 0 days, 15 hours, 15 minutes
server: 0 days, 21 hours, 19 minutes
weewx 3.8.0 with LaCrosse WS23xx and exfoliation 0.43

Pete

--
Unencumbered by the thought process.
 -- Click and Clack the Tappet brothers


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
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.
For more options, visit https://groups.google.com/d/optout.