I have recently discovered Rainmeter, and love it! However, I have been unable to find very many Skins that display what I would like to see; so naturally I started to create my own. I have a pretty good grasp of many programming languages, but I am new to LUA. Seems pretty straight forward, from what I can tell so far.
-- Basic Skin description --
I have created a Skin that pulls METAR data from the Aviation Digital Data Service( ADDS ). This is a Weather Skin( like there aren't enough ), but for pilots. METARs update ~approximately every hour, give or take, and provide precise, detailed weather information to Aviators in a coded text string( see link above ).
My Skin 'fetches' an XML file, returns some values, and then I use LUA to set FontColor and perform a basic conversion of a measurement.
-- Technical and Problem( possibly ) --
My problem right now( I have many of them, but will keep the post on a single topic ), is that my skin retrieves the requested information relatively fast( ~1 - 2s ), but the parts sent to LUA seem extremely slow( ~5s ). Being new to LUA, I may have some programmatic issues. I even downloaded JSMorley's LuaTutorial_1.1.rmskin. However I can't help but feel this should be faster.
I have attached the .RMSKIN, as apposed to typing a bunch of code, and then eventually having to do so anyway.
The starting METAR is for Chicago O'Hare International Airport( KORD ). To see another airport METAR just click the 'SET ICAO' in the lower left. Then type the 4 character identifier.
For those that are unfamiliar with international airport identifiers, you must enter the ICAO Identifier( 4 chars ); not the IATA identifier( 3 chars ). Here are some quick examples you can try:
- KATL - Hartsfield - Jackson Atlanta International Airport
- KJFK - John F Kennedy International Airport
- KLAX - Los Angeles International Airport
- EGLL - London Heathrow Airport
- CYYC - Calgary International Airport