Page 1 of 1

UV values display as integer with build 1057

Posted: Sun 13 Jan 2013 1:04 am
by saratogaWX
Steve,

It seems that the values for UV no longer have a decimal point+1 digit and are simple integers now.

<#UV>
<#UVTH>

These are still showing n.n values:
<#UVYH>
<#RecentUV>

Would you mind reporting UV to 1 decimal digit throughout?

Best regards,
Ken

Re: UV values display as integer with build 1057

Posted: Sun 13 Jan 2013 9:10 am
by mcrossley
Ken, this changed back in build 1038...
UV now displayed and logged as whole numbers by default. You can change this (but you shouldn't need to, by adding a 'UVdecimals' line to the [Station] section of cumulus.ini, specifying the number of decimal places, e.g.

UVdecimals=1

Re: UV values display as integer with build 1057

Posted: Sun 13 Jan 2013 10:16 am
by steve
saratogaWX wrote:These are still showing n.n values:
<#UVYH>
<#RecentUV>
I'll change that so it's consistent.

And I should really set the default for Davis stations to one decimal, as I said I would.

Re: UV values display as integer with build 1057

Posted: Mon 14 Jan 2013 12:04 am
by saratogaWX
mcrossley wrote:Ken, this changed back in build 1038...
UV now displayed and logged as whole numbers by default. You can change this (but you shouldn't need to, by adding a 'UVdecimals' line to the [Station] section of cumulus.ini, specifying the number of decimal places, e.g.

UVdecimals=1
Thanks Mark! I guess I missed that in the announcements :oops:

Re: UV values display as integer with build 1057

Posted: Mon 14 Jan 2013 12:05 am
by saratogaWX
steve wrote:
saratogaWX wrote:These are still showing n.n values:
<#UVYH>
<#RecentUV>
I'll change that so it's consistent.

And I should really set the default for Davis stations to one decimal, as I said I would.
Thanks Steve,

Yes, consistency is appreciated and having 1dp automatic for Davis stations would be great!

Best regards,
Ken