$twcweather Observations

weather

#21

Thank you! I will contribute when we have alerts.


#22

For those following this thread, you may be happy to hear…
I have added a new page to the wiki to list all of the weather alerts that we know about.


#23

$twcweather wiki seems a little vague regarding temperature values. Are they Celsius or Fahrenheit? Is there a method to set it one way or the other? Are decimal values possible? Just looking for some clarification.

Thanks


#24

That wiki page is all that we know at this time…
(hence, the reason for this thread to gather more data)

So far, every temperature I have seen under $twcweather has been a whole number… I am in the US, so it is based on Fahrenheit. If you are elsewhere, it might be Celsius, and it may be decimals. (You’ll have to check) I suspect those results depends on the weather source for your location. (more testing required)


An easy way to see the results for your location:
At the bottom of any piston (not in edit mode) you should see an Evaluation Console. You can change ‘Value’ to ‘Expression’, and then type this command:
$twcweather.conditions.temperature
to instantly see the results for your location.

temp

This is an easy way to know if your location uses Celsius or Fahrenheit, and whether it uses integers or decimals.

Let us know your observations, and I will update the Wiki


#25

Anything to report @tgm?


Edit:
Really, anyone outside the US can run this quick test in about 5 seconds…


#26

I’m in South Africa. We’re on the metric system.
($twcweather.forecast.temperatureMax[0]) returns (dynamic) 16, which is the temperature in Celsius.
$twcweather.conditions.temperature also returns (dynamic) 16. (Looks like the forecast for today was spot on because it is at the moment probably at warm as it will get today.)

Edit: Some more info:
$twcweather.conditions.windSpeed gives the current wind speed in km/h at my location.
$twcweather.conditions.visibility appears to provide the visibility in kilometers ((dynamic) 9.66)

$twcweather.forecast.daypart[0].narrative > (dynamic) [Mostly sunny. High 16C. Winds SW at 15 to 30 km/h., Clear skies. Low around 0C. Winds S at 10 to 15 km/h., A mainly sunny sky. High 21C. Winds SSW at 10 to 15 km/h., Clear. Low 2C. Winds light and variable., A mainly sunny sky. High 24C. Winds WSW at 10 to 15 km/h., Clear skies. Low 4C. Winds light and variable., Sunny skies. High 26C. NNE winds shifting to WNW at 15 to 25 km/h., A mostly clear sky. Low near 5C. Winds light and variable., Sunny along with a few clouds. High 27C. Winds NW at 15 to 25 km/h., A few clouds. Low 7C. Winds E at 10 to 15 km/h., Partly cloudy. High 24C. N winds shifting to WSW at 15 to 25 km/h., Clear to partly cloudy. Low 8C. S winds shifting to E at 15 to 25 km/h., Mainly sunny. High 23C. Winds N at 15 to 25 km/h., Clear skies. Low 6C. Winds ENE at 10 to 15 km/h., Mainly sunny. High 23C. Winds NNE at 15 to 25 km/h., A mostly clear sky. Low 7C. Winds NE at 10 to 15 km/h., Sunny skies. High around 25C. Winds N at 10 to 15 km/h., Clear skies. Low near 10C. Winds light and variable., Sunny skies. High 28C. Winds NW at 10 to 15 km/h., Clear skies. Low 11C. Winds light and variable., Mainly sunny. High 29C. Winds NW at 10 to 15 km/h., A mostly clear sky. Low 12C. Winds light and variable., Mainly sunny. High 29C. Winds NW at 15 to 30 km/h., Mainly clear early, then a few clouds later on. Low around 10C. Winds WNW at 10 to 15 km/h., Mainly sunny. High 27C. Winds NW at 15 to 30 km/h., Mostly clear. Low near 10C. Winds WNW at 10 to 15 km/h., Partly cloudy skies. High 26C. Winds NW at 15 to 30 km/h., Partly cloudy skies. Low 9C. Winds W at 10 to 15 km/h., Some clouds in the morning will give way to mainly sunny skies for the afternoon. High around 25C. Winds WNW at 15 to 30 km/h., Clear skies. Low 9C. Winds SW at 10 to 15 km/h.]

Anything else you would like to see?


#27

Thank you for testing and confirming, @949BFN


My latest puzzle could use a few more testers, if you are willing.


#28

I fortunately in the same boat as what you are - I live in an area where we never get weather alerts.