wviewweather.com Forum Index wviewweather.com
wview and Weather Topics
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AWEKAS Website now Wview Compatible!

 
Post new topic   Reply to topic    wviewweather.com Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
chrisale



Joined: 09 Nov 2005
Posts: 187

PostPosted: Wed Dec 28, 2005 11:22 am    Post subject: AWEKAS Website now Wview Compatible! Reply with quote

The good people at AWEKAS have helped set up wview to work with their site.

All that is needed is to add a new .htx template.

Once you make your account on AWEKAS, you'll need an awekas_wl.htx file with the following code inside:

Code:

<br>
<!--outsideTemp--><br>
<!--outsideHumidity--><br>
<!--barometer--><br>
<!--dailyRain--><br>
<!--windSpeed--><br>
<!--windDirectionDegrees--><br>
<!--stationTime--><br>
<!--stationDate--><br>
<!--bartrend--><br>
miles=0<br>
fahrenheit=0<br>
inch=0<br>
usdateformat=4<br>
raininch=0<br>
windknots=0<br>


The lines at the bottom are used if you have your data set to US formats. Wview will always have a mixture. This is my setup as I am using metric values**

If you are using US format data, you will likely want miles (windspeed) = 1 ... farenheit=1 ... rain in inches=1

Use the Check your Datafile option on the AWEKAS to check the results as you go.

Do not change the "usdateformat=4" that configuration is WVIEW SPECIFIC.

That's about all you need to know!

**when using metric, AWEKAS is expecting MM not CM... so you will have to add * 10 to the Centimeter converter in wvutils.c .... THIS WILL CHANGE ALL VALUES ON YOUR GRAPHS AS WELL... let me know if you need some help with that.[/url]
Back to top
View user's profile Send private message MSN Messenger
mteel



Joined: 30 Jun 2005
Posts: 435
Location: Collinsville, TX

PostPosted: Wed Dec 28, 2005 11:30 am    Post subject: Reply with quote

Cool!

If the only value affected by cm is the dailyRain tag, I could add a new HTML tag for "dailyRainMM" or some such - it really isn't a good solution to expect folks to modify and rebuild the code.

Let me know if that would be sufficient.

I will try to add this documentation to the UM in the near future...

Mark
Back to top
View user's profile Send private message Send e-mail Visit poster's website
chrisale



Joined: 09 Nov 2005
Posts: 187

PostPosted: Wed Dec 28, 2005 12:58 pm    Post subject: Reply with quote

that would be excellent. All they're needing is a value in MM for daily rainfall.

The only other thing missing, and I didn't mention it because it wasn't really a big deal, is the barometer trend tag. Your trend tag reports "rising" or "falling" when I believe they're expecting "+" "-" or nothing

Cool stuff.

Chris
Back to top
View user's profile Send private message MSN Messenger
mteel



Joined: 30 Jun 2005
Posts: 435
Location: Collinsville, TX

PostPosted: Sat Dec 31, 2005 10:31 am    Post subject: Reply with quote

OK, I've added a section to the UM and added US and metric template files to the distro, dailyRainMM tag and even a new baromtrend tag...

I am trying to test this and I am not showing up on the AWEKAS maps. I also do not find this "Check Your Data File" link anywhere on their site...

Mark
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mteel



Joined: 30 Jun 2005
Posts: 435
Location: Collinsville, TX

PostPosted: Sat Dec 31, 2005 11:36 am    Post subject: Reply with quote

OK, I think I have it working now...

You left out one key point: the date is expected to be in the "metric" format even for US stations - I had to add another HTML tag "stationDateMetric" to use for US format stations.

I will post a pre-release version 2.0.1p1 to the website shortly for those that want to use AWEKAS before the next regular release.

FYI, the "Check Your Data File" is on the "change userdata" page...

Mark
Back to top
View user's profile Send private message Send e-mail Visit poster's website
chrisale



Joined: 09 Nov 2005
Posts: 187

PostPosted: Sat Dec 31, 2005 2:03 pm    Post subject: Reply with quote

Oh actually.. you didn't need to add a Date tag... the AWEKAS people were nice enough to configure their server to accept the US Date format as wview presented it.

I pointed that out at the top of the thread... the value for "usdateformat" for wview users is "usdateformat=4"
Back to top
View user's profile Send private message MSN Messenger
mteel



Joined: 30 Jun 2005
Posts: 435
Location: Collinsville, TX

PostPosted: Sat Dec 31, 2005 2:47 pm    Post subject: Reply with quote

Yes I did! It wouldn't accept my data and was gagging on the US date format...

US => 12/31/2005

Metric => 20051231

It only accepts the latter...
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bodemory



Joined: 06 Dec 2005
Posts: 43

PostPosted: Thu Jan 26, 2006 12:09 pm    Post subject: Reply with quote

Great ! It works like a charm on the latest stable version...

Thanks
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    wviewweather.com Forum Index -> Wish List All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group