I am following these threads with interest as my Belchertown "Earthquake" 
is working but not as I desire it to work. The skin installed without a 
hitch and is running but the Eathquake  distance is in km instead of miles 
and I also tried to change the earthquake_maxradiuskm setting from 1000 to 
2000 and the changes aren't being reflected in the output.

I've tried making changes to belchertown.py 
(https://github.com/poblabs/weewx-belchertown/issues/422) and changing the 
skin.conf by setting the belchertown_locale from auto to en_US.UTF-8 and 
doing the locale-gen command to no avail.

I will continue to follow this thread hoping that there is some final 
solution as to why the Earthquake is "buggy". Thanks to all who post, you 
have been a great help in trying to figure this anomaly out.

my site: http://weather.codetales.com




On Saturday, January 9, 2021 at 7:34:41 PM UTC-5 Greg from Oz wrote:

> Yes I did that to but it made no difference.
>
> You can change the locale = (in the belchertown skin.conf) to "*en_AU.UTF-8" 
> *and that works  but if you leave it as auto and do the regen then it 
> works as expected.
>
>
> On Sunday, 10 January 2021 at 10:12:38 UTC+11 [email protected] wrote:
>
>> My simple fix for this was to make sure that in weewx.conf (or skin.conf 
>> if you prefer) you have under the stanza
>>
>> [[belchertown]]
>> [[[units]]]
>> [[[[groups]]]]
>>
>> An entry that says 
>>
>> group_distance = km
>>
>>
>>
>> On Sun, 10 Jan 2021 at 11:12, Greg from Oz <[email protected]> wrote:
>>
>>> Run the command: locale
>>>
>>> See if *LC_MEASUREMENT *is in your units
>>>
>>> If it is like this: *LC_MEASUREMENT="en_US.UTF-8" *the the measurement 
>>> units will be in US (miles)
>>>
>>> To regenerate all your locale settings run: *locale-gen*
>>>
>>> There is a lot of discussion here: 
>>> https://groups.google.com/g/weewx-user/c/BckKUHu2_DQ/m/30YJPrKkBwAJ
>>>
>>>
>>> On Sunday, 10 January 2021 at 06:48:26 UTC+11 [email protected] wrote:
>>>
>>>> hello,
>>>> in which file, can I modify miles in kilometers.
>>>>
>>>> inside joint file
>>>>
>>>> thanks
>>>>
>>>> Patrick
>>>>
>>>> -- 
>>> 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].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/06af1676-3a27-4989-945d-af379f5b1647n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/06af1676-3a27-4989-945d-af379f5b1647n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/544e2f70-aecc-4199-87bd-f8cd0940d371n%40googlegroups.com.

Reply via email to