SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-05-2007, 07:10 PM
rickgillyon's Avatar
rickgillyon rickgillyon is offline
Sage Icon
 
Join Date: Sep 2005
Location: Whitley Bay, England
Posts: 1,950
Weather: I AM English! :)

Okay, annoying me today is this (I need a new hobby):
In Weather options I have two possibilities, English or Metric. Metric gives me Celsius and Kilometres, English gives me Fahrenheit and Miles. In England, where some of us are English, we use Miles and Celsius (if younger than 60 years old, anyway).

So, can we change the options to Metric, English and American?
Or at least is there a property I can change?
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby
Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients
Reply With Quote
  #2  
Old 04-05-2007, 09:08 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
I guess you're looking for Engric or Metlish... please contact The Weather Channel somewhere at weather.com and ask for that third option.

SageTV is just displaying the values & units they provide and unless they've changed things recently, they only have 2 options when setting the units: Standard and Metric. Since some people thought having Standard and Metric options was a bit redundant, we decided to emulate weather.com and call them English and Metric.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #3  
Old 04-08-2007, 06:32 PM
rickgillyon's Avatar
rickgillyon rickgillyon is offline
Sage Icon
 
Join Date: Sep 2005
Location: Whitley Bay, England
Posts: 1,950
Quote:
Originally Posted by Opus4 View Post
I guess you're looking for Engric or Metlish...
Are you trying to wind me up?
I'm looking for ENGLISH! What we have labelled as English is American...

Quote:
Originally Posted by Opus4 View Post
we decided to emulate weather.com and call them English and Metric.
Okay, I'll accept that it's not your fault, but I'll still be grumbling about it in a year's time...
Time to email weather.com
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby
Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients
Reply With Quote
  #4  
Old 04-09-2007, 11:35 AM
FidgetyRat's Avatar
FidgetyRat FidgetyRat is offline
Sage Aficionado
 
Join Date: Jan 2006
Posts: 492
Quote:
Originally Posted by rickgillyon View Post
Are you trying to wind me up?
I'm looking for ENGLISH! What we have labelled as English is American...
Hey, at least you are allowed to set sage to use the 24h time format where you live. Apparently sage thinks no Americans actually use "military time".
__________________
Server: 2.6Ghz Pentium Dual Core, 2GB RAM. 3x PVR-150, 1.5TB HDD. Geforce 7300GS, Sage 7.0.15
Client: Jetway ION-Top - Dual core ATOM 1.6 & NVIDIA ION
NAS: QNAP TS-419P 3.7TB Raid-5

Special thanks to tmiranda for making my 24h time format dream a reality. See here for more details.
Reply With Quote
  #5  
Old 04-09-2007, 09:08 PM
parkimar parkimar is offline
Sage Aficionado
 
Join Date: Feb 2004
Location: NJ USA
Posts: 329
Ha,

Im an Englishman in New Jersey (Crap version of the Sting song).
I sympathise, I just had to get used to it.

Cheers

Mark
__________________
Luckily Computers Repair Themselves

Last edited by parkimar; 04-09-2007 at 09:11 PM.
Reply With Quote
  #6  
Old 04-09-2007, 09:56 PM
zz5's Avatar
zz5 zz5 is offline
Sage Aficionado
 
Join Date: May 2004
Posts: 332
Now I don't know exactly what is going on here, but it sounds like some people are trying to get the units changed or something. You need to leave the units alone. The correct units to use are Fahrenheit and Miles. If anyone is using other units, that is kind of strange. In fact, if there was going to be a change, the choices could be changed to the "Correct" units and "Other" units. When you chose "Other", you'd go to another screen where they let you choose these other specials units if you want. Seriously, though, you should be using Fahrenheit and Miles. Just leave this setting alone.
Reply With Quote
  #7  
Old 04-10-2007, 12:41 AM
doc's Avatar
doc doc is offline
Sage Fanatic
 
Join Date: Jun 2006
Location: Leicester, England
Posts: 918
I like miles and celcius, that is until the temperature gets to above 65F, above that it has to be fahrenheit, otherwise I have no idea how hot its going to be.

Thats the problem for us 60's kids, born too late to be old fasioned (english) but too early to be modern (metric).
Reply With Quote
  #8  
Old 04-10-2007, 07:26 AM
FidgetyRat's Avatar
FidgetyRat FidgetyRat is offline
Sage Aficionado
 
Join Date: Jan 2006
Posts: 492
Still doesn't solve the forced am/pm time. hah.
__________________
Server: 2.6Ghz Pentium Dual Core, 2GB RAM. 3x PVR-150, 1.5TB HDD. Geforce 7300GS, Sage 7.0.15
Client: Jetway ION-Top - Dual core ATOM 1.6 & NVIDIA ION
NAS: QNAP TS-419P 3.7TB Raid-5

Special thanks to tmiranda for making my 24h time format dream a reality. See here for more details.
Reply With Quote
  #9  
Old 04-10-2007, 08:12 AM
hoadie hoadie is offline
Sage User
 
Join Date: Dec 2003
Location: Sydney, Australia
Posts: 44
Quote:
Originally Posted by zz5 View Post
Now I don't know exactly what is going on here, but it sounds like some people are trying to get the units changed or something. You need to leave the units alone. The correct units to use are Fahrenheit and Miles. If anyone is using other units, that is kind of strange. In fact, if there was going to be a change, the choices could be changed to the "Correct" units and "Other" units. When you chose "Other", you'd go to another screen where they let you choose these other specials units if you want. Seriously, though, you should be using Fahrenheit and Miles. Just leave this setting alone.
Why should he be doing this? In the UK they use Celsius and Miles. These are his 'correct' units. I use Celsius and KMs. These are my 'correct' units.
Reply With Quote
  #10  
Old 04-10-2007, 08:42 AM
Enormous's Avatar
Enormous Enormous is offline
Sage Aficionado
 
Join Date: Mar 2004
Location: D.C. Area
Posts: 398
I prefer to use attoparsecs and Kelvin. Where's my setting?!

BTW, never ask me for directions.
__________________
-Eric
Client: STX-HD100 Extender, Connected to 47" Visio 1080p LCD via HDMI, Running SageMC
Client: Media MVP Running SageMC
Server: Antec SLK3800B, AMD Athlon 64 X2 4200+, Biostar TForce 550, GeForce 7300LE, 1GB DDR2 800, 2 x HVR-1600, PVR-150MCE, 1.4TB HD Space, XP Pro, Java6, Latest SageTV Version
Reply With Quote
  #11  
Old 04-10-2007, 08:50 AM
PhillJones PhillJones is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Boston, MA
Posts: 270
Since this seems to have confused the Americans so terribly , I'll add my support to the OP. It's true that in Britain the vast majority of people measure distance in Miles and Temperature in Centigrade, which is another word for Celcius.

Since Sage can download both, I guess it shouldn't be impossible to have it download both sets of untis and allow the user to set distance and temperature settings independantly.
__________________
AMD Athalon 2400-M (2200MHz) 1Gb memory, nVIDIA 6600GT fanless, 1x300Gb pata, 1x500Gb sata, PVR-150MCE, Motorola cable box: firewire recording, MCE 2005 remote (OEM), Windows MCE2005, Sage v5.0.4, SageMC v6.13a, Pioneer PDP503-CMX 50" Plasma, HK630 HT receiver

Wish List: BBC radio player, AR correction in photo viewer, Netflix Watch Now
Reply With Quote
  #12  
Old 04-10-2007, 11:43 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Hopefully not an ignorant question, but can't you scrape from weather.com and convert to the users preference using a simple formula in java?

B

http://www.chemie.fu-berlin.de/chemi...scales_en.html
Reply With Quote
  #13  
Old 04-11-2007, 11:04 AM
PhillJones PhillJones is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Boston, MA
Posts: 270
Quote:
Originally Posted by bcjenkins View Post
Hopefully not an ignorant question, but can't you scrape from weather.com and convert to the users preference using a simple formula in java?

B

http://www.chemie.fu-berlin.de/chemi...scales_en.html
For completeness,

there are 1.609344 km in a mile if that's any help to anybody.
__________________
AMD Athalon 2400-M (2200MHz) 1Gb memory, nVIDIA 6600GT fanless, 1x300Gb pata, 1x500Gb sata, PVR-150MCE, Motorola cable box: firewire recording, MCE 2005 remote (OEM), Windows MCE2005, Sage v5.0.4, SageMC v6.13a, Pioneer PDP503-CMX 50" Plasma, HK630 HT receiver

Wish List: BBC radio player, AR correction in photo viewer, Netflix Watch Now
Reply With Quote
  #14  
Old 04-11-2007, 04:46 PM
rickgillyon's Avatar
rickgillyon rickgillyon is offline
Sage Icon
 
Join Date: Sep 2005
Location: Whitley Bay, England
Posts: 1,950
Quote:
Originally Posted by zz5 View Post
The correct units to use are Fahrenheit and Miles. If anyone is using other units, that is kind of strange.
I can't decide if you're making a joke here or are really this ignorant! Hopefully the former...

Quote:
Originally Posted by doc View Post
I like miles and celcius, that is until the temperature gets to above 65F, above that it has to be fahrenheit, otherwise I have no idea how hot its going to be.
Thats the problem for us 60's kids, born too late to be old fasioned (english) but too early to be modern (metric).
Are you sure it wasn't the 40s? Because I was born in the 60s and I wouldn't know what's what in Fahrenheit because I've never used it...

Quote:
Originally Posted by bcjenkins View Post
Hopefully not an ignorant question, but can't you scrape from weather.com and convert to the users preference using a simple formula in java?
Sounds like a plan to me, I'm sure it would be easy to handle in the default STV. Don't you think, Andy? Eh?

Maybe not...
__________________
unRAID Server: Intel Core i5 7600K, 48GB DDR4, 2x512GB PCIe M.2 Cache Pool, 2x10TB SATA3 Parity Drive, 3x8TB SATA Array, 1x hdHomeRun DVB-T2 Quattro, IPTV via xTeVe, unRAID 6.8.3, tvHeadEnd for recording back end, Emby
Clients: 3 Nvidia Shields, 3 FireTV, 3 Win10 Pro PC Clients
Reply With Quote
  #15  
Old 04-11-2007, 04:52 PM
Yalbik Yalbik is offline
Sage User
 
Join Date: Sep 2006
Location: Calgary, Canada
Posts: 63
Quote:
Originally Posted by zz5 View Post
Now I don't know exactly what is going on here, but it sounds like some people are trying to get the units changed or something. You need to leave the units alone. The correct units to use are Fahrenheit and Miles. If anyone is using other units, that is kind of strange. In fact, if there was going to be a change, the choices could be changed to the "Correct" units and "Other" units. When you chose "Other", you'd go to another screen where they let you choose these other specials units if you want. Seriously, though, you should be using Fahrenheit and Miles. Just leave this setting alone.
No, no no. The correct settings should be:

Backwards Cavepeople: Farenheit and Miles
Those Crazy Brits: Centigrade and Miles
The Rest of the Known Universe: Celsius and Kilometres
Reply With Quote
  #16  
Old 04-11-2007, 05:02 PM
hoadie hoadie is offline
Sage User
 
Join Date: Dec 2003
Location: Sydney, Australia
Posts: 44
Quote:
Originally Posted by rickgillyon View Post
Are you sure it wasn't the 40s? Because I was born in the 60s and I wouldn't know what's what in Fahrenheit because I've never used it...
When I was in London in 2005 I noticed that some weather presenters on TV would state both verbally, however on the weather map it was only in celsius.

The only temp that gets mentioned here in Farenheit is the magical 100 degrees. Which means it's hot apparently.
Reply With Quote
  #17  
Old 04-11-2007, 09:12 PM
parkimar parkimar is offline
Sage Aficionado
 
Join Date: Feb 2004
Location: NJ USA
Posts: 329
Just for the hell of it.

Quote:
Defined in 1954 at the 10th General Conference of Weights and Measures, temperature on the Celsius scale is the temperature on the Kelvin scale minus 273.15. This definition makes values on the Celsius and centigrade scale agree within less than 0.1 degree. For everyday purposes, the scales are identical.
I have lived in the US for the last 2 years now, but my recollection is that not only weather is in celcuis, but I was never taught in centigrade, only celcius.

The miles thing is purely economic, the cost of changing every sign in the UK that has distance on it is probably the main barrier to the acceptance of KM.
In school I was taught metric not imperial.

Cheers

Mark
__________________
Luckily Computers Repair Themselves
Reply With Quote
  #18  
Old 04-12-2007, 01:07 AM
doc's Avatar
doc doc is offline
Sage Fanatic
 
Join Date: Jun 2006
Location: Leicester, England
Posts: 918
Quote:
Originally Posted by parkimar View Post
Just for the hell of it.
The miles thing is purely economic, the cost of changing every sign in the UK that has distance on it is probably the main barrier to the acceptance of KM.
that is in part true, but also because the unelected EU parliament wants to change everyone over to their way of thinking and get rid of hundreds of years of tradition, and you know how stubborn us brits can be... I better not start ranting or I'll open up another can of worms......


...and on another point, I wasn't born in the 40's, and I don't remember pre-decimal currency, but I do remember that when it gets over 70F its a nice day, which is about 21C if my maths is correct - I have to calculate it each time, I can remember 70 but not 21, it must be short term memory loss
Reply With Quote
  #19  
Old 04-12-2007, 03:02 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
[OT] um, doc, the EU parliament is elected... thats what those European elections that nobody bothers with are for...

For completeness the EU executive branch which actually accepts new EU directives -- the council of ministers -- is not directly elected, but consists of the ministers of all the national governments which are themselves directly elected. Finally new EU directives are only made into national laws by national parliaments.

So if you want to complain about a stupid new EU law, complain about your own government which actually accepted that stupid new EU law, and then for popularity reasons blames it on the EU bogeyman "oh, but we have no choice: the EU says we have to do it" is no excuse, because they are the EU. sorry, thats one of my pet hates.


Back on topic, For those who what to use DegC and Miles, you can change the displayed values using Studio:

First set weather units to metric to get degC and km/h.

Then start Studio (CTRL-SHIFT-F12), and do Edit->Find All and search for:
Code:
java_lang_String_replaceAll(Wind," +","\n")
This should select a single line. Press F3 and replace the contents with:
Code:
java_lang_String_replaceAll(Wind," +.*","\n")+NumberFormat("0.0",java_lang_String_replaceAll(Wind,"[^ ]* +([0-9]+).*","$1")/1.609344)+"mph"
This then converts all km/h wind values to mph.

For the visibilty value (thanks rickgillyon), you need to similarly change
Code:
Visibility = tv_sage_weather_WeatherDotCom_getCurrentCondition(WeatherInstance, "curr_visibility")
to
Code:
Visibility = NumberFormat("0.0",java_lang_String_replaceAll(tv_sage_weather_WeatherDotCom_getCurrentCondition(WeatherInstance, "curr_visibility"),"km","\n")/1.609344)+" miles"
Check it works, File-Save As, and enjoy :-)
tested in 6.1, probably OK for v6
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 04-15-2007 at 06:25 AM. Reason: Edited to add Visibility change mentioned by rickgillyon for completeness
Reply With Quote
  #20  
Old 04-12-2007, 03:09 AM
hoadie hoadie is offline
Sage User
 
Join Date: Dec 2003
Location: Sydney, Australia
Posts: 44
Quote:
Originally Posted by doc View Post
that is in part true, but also because the unelected EU parliament wants to change everyone over to their way of thinking and get rid of hundreds of years of tradition, and you know how stubborn us brits can be... I better not start ranting or I'll open up another can of worms......


...and on another point, I wasn't born in the 40's, and I don't remember pre-decimal currency, but I do remember that when it gets over 70F its a nice day, which is about 21C if my maths is correct - I have to calculate it each time, I can remember 70 but not 21, it must be short term memory loss
Other countries have changed to kms, it's not a big deal. Most of your cars have speedos in km and miles so that's one less issue. Signage changes while initially expensive better for all in the long run - better to bite the bullet early(ish) otherwise it gets even more difficult over time.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Weather - Wrong Temperatures mike1961 SageTV Software 4 09-25-2006 03:17 PM
STV Import: Weather Monitor deria SageTV Customizations 35 08-23-2006 08:15 PM
SageMC 16x9 and My Weather mrrrl SageMC Custom Interface 4 06-23-2006 04:01 PM
small Hauppague remote doesn't work right on new computer weyker Hardware Support 1 04-08-2006 03:18 PM
SageTV v4 default weather report mattdcknsn SageTV Software 0 12-29-2005 08:54 AM


All times are GMT -6. The time now is 10:23 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.