Printable Version of Topic
Click here to view this topic in its original format
Samurize Forums > Weather Script/Plugin Support > Weather 2004 Expression List


Posted by: KMDonlon Jan 11 2005, 06:41 PM
Note: these are only for use with Weather.2004 - plugin by Torsius

smil3dbd4ddd6835f.gif Here goes:

Use these terms in your CurrentConditions expression:

[timezone] - shows text abbreviation of your timezone
[timezonegmt] - what [timezone] used to be
[timezonelocal] - timezone from your windows settings(independent of LOC ID)
[moonphase] - displays a number 1 through 40 in ratio with current moon age
[moonvis] - percentage of moon visible currently
[moonage] - age of moon in days and hours
[moon] - textual description of current moon phase
[nextnewmoon] - date and time of next new moon
[nextfullmoon] - date and time of next full moon
[windknots] - provides windspeed in knots
[windms] - provides windspeed in meters per second (m/s)
[windbeaufort] - provides windspeed in beauforts
[windstrength] - a (translatable!) text description of windspeed
[systemtime [timeexpression]] - See Change log for formatting time info
[alert] - Text output for special weather statement (to add along with Alert Icon)
[temp] - temperature
[feel] - feels like
[tempunit] - temperature unit
[city] - city associated with LocationID
[locid] - your Location ID
[citydata] - city where data actually gathered
[cond] - condition description
[humidity] - current relative humidity percentage
[vis] - visibility
[visunit] - visibility unit
[dewpoint] - dewpoint temperature
[update] - when data was last updated by weather.com
[download] - when data was last downloaded (local time to associated location id)
[uv] - uv description
[uvnum] - uv rating number
[long] - longitude
[lat] - latitude
[sunrise] - time of sunrise for today
[sunset] - time of sunset for tonight
[timezone] - abbreviated timezone description
[press] - barometric pressure
[pressdir] - pressure movement
[pressunit] - pressure unit
[wind] - wind speed
[windgust] - gust speed
[windgustms] - gust speed in m/s
[winddir] - cardinal direction
[winddeg] - numeric direction
[windunit] - windspeed unit
[presssymbol] - Barometer direction arrow symbol (use Wingding font for output)



Use these terms in your Forecast Expression:

[high] - high temp for chosen day
[low] - low temp for chosen day
[tempunit] - temperature unit
[sunrise] - sunrise for chosen day
[sunset] - sunset for chosen day
[city] - city name associated with location id of forecast
[download] - time data was downloaded
[timezone] - forecast location timezone description
[moon] - text description of moon phase on chosen day
[moonvis] - percentage visibility of moon on chosen day
[moonphase] - percentage visibility of moon on chosen day (number between 1 and 40)
[update] - time data was updated
[precip] - chance of precipitation of chosen day
[precipn] - chance of precipitation of chosen day during nighttime
[humidity] - percent humidity of chosen day
[humidityn] - percent humidity of chosen day during nighttime
[dayname] - name of chosen day (ie, Mon)
[daydate] - date of chosen day (ie, Jan 1)
[cond] - condition description of chosen day
[condn] - condition description of chosen day during nighttime
[wind] - windspeed for chosen day
[windn] - windspeed for chosen day at night
[windgust] - gust speed for chosen day
[windgustn] - gust pseed for chosen day at night
[winddir] - wind direction for chosen day
[winddirn] - wind direction for chosen day at night
[winddeg] - in degrees
[winddegn] - in degrees at night
[windunit] - wind speed unit
[details] - Text Forecast Narrative for choosen day or night
[detailsupdate] - Last Forecast/Narrative Update


Use these terms in your Hourly Expression:

[update] - when data was last updated
[moonvis] - percentage visible of moon for chosen hour
[moonphase] - percentage visibility of moon for chosen hour (number between 1 and 40)
[timezone] - timezone of associated location id
[download] - when data was last downloaded
[temp] - hourly temp
[tempunit] - temperature unit
[feel] - hourly feels like temp
[hourname] - name of hour (ie, 12 PM)
[precip] - hourly precipitation chance
[cond] - hourly condition description
[dewpoint] - hourly dewpoint
[humidity] - hourly humidity
[wind] - hourly windspeed
[winddir] - hourly wind direction
[winddeg] - hourly wind degree
[windunit] - windspeed unit


Use these terms in your Now & Later Expression:

All tags display time relevant information related to Today, Tonight, or Tomorrow

[temp] - Expected Temp
[name] - Displays "Today" / "Tonight" / "Tomorrow" (Tonight after 2PM (1400))
[precip] - Expected Chance of Precipitation
[humidity] - Expected Relative Humidity
[cond] - Expected Textual Condition Description
[wind] - Expected Windspeed
[winddir] - Expected Wind Direction
[winddeg] - Expected Wind Direction in Degrees
[high] - Expected High temp
[low] - Expected Low temp
*NEW
[sun] - Will show the actual TIME of the sunrise
[sundesc] - Will show "Sunrise" if in the morning





Let me know if I am missing any here smil3dbd4e4c2e742.gif

EDIT [torsius]: I've gone through the actual source of the plugin, and verfied and updated the listing, and clarified a few of the tags, it is now COMPLETE! thanks kev for getting 99% on first post!

EDIT [Spewed]: On the latest Weather.2004 (version 0.992) tags changed from <> to []. Tags are updated now to this expression list too.

EDIT [KMDonlon]: Added 2 new expressions to the Now & Later functions list.

--------------------

Posted by: -=R@y-M@n=- Jan 14 2005, 05:29 AM
This is exactly what I meant! THANKS!!! smil3dbd4d4e4c4f2.gif

Posted by: NeM Jan 14 2005, 06:04 AM
Nice list! smil3dbd4d4e4c4f2.gif Maybe it would be worth adding Weather 2004 (will be there a Weather 2005?? smil3dbd4e398ff7b.gif) to the thread title or beginning of your post Kevin? Just so people don't try and use these codes in other scripts/plugins smil3dbd4e398ff7b.gif

Posted by: torsius Jan 14 2005, 04:22 PM
good idea nem smiles-emoticontop.gif

Posted by: KMDonlon Jan 14 2005, 04:42 PM
@ NeM - DONE!

@ Torsius - I knew the master would help a brutha out, thanks man!

--------------------

Posted by: shmengie Jan 14 2005, 06:14 PM
wow, very nice.

NOW ALPHABETIZE THEM, SLACKER!!

j/k smil3dbd4d6422f04.gif

Posted by: KMDonlon Jan 14 2005, 06:54 PM
LoL........Oh boy shmengie, like I didn't do enough for you guys already...whew, I am exhausted.. smiles-blink.gif

--------------------

Posted by: torsius Jan 15 2005, 12:38 AM
A little trivia for you guys, there are 102 (!!!) tags at your fingertips, that's quite a bit of info!

I bet each one of them took an hour or so to code smil3dbd4e398ff7b.gif

Posted by: uziq Jan 15 2005, 01:56 AM
I must say, that's an impressive list of configurability. smil3dbd4d6422f04.gif

Too bad there's no dialog box though. smil3dbd4e398ff7b.gif

--------------------
New Samurize site: www.samurize.us

Posted by: torsius Jan 15 2005, 03:36 AM
aarrrrghhh!

Posted by: KMDonlon Jan 15 2005, 07:34 PM
QUOTE
A little trivia for you guys, there are 102 (!!!) tags at your fingertips, that's quite a bit of info!

I bet each one of them took an hour or so to code 



Your incredible work is very much appreciated by many...I know I feel I owe you something for my smil43d3cd4fb288b.gif favorite plugin...

Thanks you many times over man, really! smil43c71019219b4.gif

--------------------

Posted by: flambee1 Jan 15 2005, 10:19 PM
http://www.samurize.org/modules/wfsection/article.php?articleid=32
I only mentioned "KMDonlon" in my tag-list and missed, that [torsius] had added the missing <tags>. So I want to say "Thank You" to you [torsius] as well.

Greetz Flam

--------------------

Posted by: KMDonlon Jan 22 2005, 07:00 PM
We all bow to ya "Brutha Nature" smil3dbd4e5e7563a.gif

--------------------

Posted by: shmengie Jan 22 2005, 07:35 PM
ya know, the other day, i tripped on a curb and sprained my torsius.

the pain, the pain...

Posted by: roguetech May 19 2006, 09:48 PM
I've been making a new config using Fusion, and realized the wind direction indicator is wrong. Wind direction is in the from direction, so a weather vain type meter should point the opposite direction.

Posted by: -=R@y-M@n=- May 20 2006, 03:00 AM
Yep, I noticed that to but you can correct it. Just use a -360 degrees sweep on the display tab of your analog meter......

Posted by: KMDonlon May 20 2006, 06:12 PM
You can easily change the direction in the editor to put it the way you want it....

--------------------

Posted by: mteplitsky Nov 17 2007, 11:03 PM
Maybe it's me doing something stupid, but when I try to use [windgust] and [windgustn] in the Forecast function, I don't get any values, just the tag names back. I even used ListForecast terms to make sure that they are there and they are listed, but they don't seem to work. Help please. smil43e948cd19a92.gif smiles-banghead.gif

--------------------
User posted image

Posted by: KMDonlon Nov 18 2007, 03:34 PM
Wind gusts are not an item that can be forecast (unless your name is Mothernature) smil3dbd4ddd6835f.gif , they will never work.

Only basic wind information can be use with any forecast meters smil3dbd4d6422f04.gif

--------------------

Posted by: mteplitsky Nov 18 2007, 03:45 PM
I understand that, but then why are they listed as available tags in the 1st post AND in the ListForecastTerms? smil43e948cd19a92.gif

--------------------
User posted image

Posted by: KMDonlon Nov 18 2007, 05:41 PM
A simple error on Torsius's part...they have been there all along, but mostly forgotten about.

--------------------

Posted by: siikah Feb 6 2008, 02:37 PM
Your plugin rocks.

Is it possible to show the windspeed in forecasts as meters/second? I miss this :-(

Posted by: Maik91 Mar 4 2008, 04:29 PM
Hello

I've a Problem i don't know how i can change the language. i have found the translating file but i don't what i should do with the file. and where can i find symbols with a bigger size? is there maybe a download chance or have i do it for myself sorry for my english

This plug-in is amazing smil43e6c401b9177.gif

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)