View previous topic :: View next topic |
Author |
Message |
chrisale
Joined: 09 Nov 2005 Posts: 187
|
Posted: Wed Dec 28, 2005 11:22 am Post subject: AWEKAS Website now Wview Compatible! |
|
|
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 |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Wed Dec 28, 2005 11:30 am Post subject: |
|
|
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 |
|
|
chrisale
Joined: 09 Nov 2005 Posts: 187
|
Posted: Wed Dec 28, 2005 12:58 pm Post subject: |
|
|
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 |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Sat Dec 31, 2005 10:31 am Post subject: |
|
|
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 |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Sat Dec 31, 2005 11:36 am Post subject: |
|
|
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 |
|
|
chrisale
Joined: 09 Nov 2005 Posts: 187
|
Posted: Sat Dec 31, 2005 2:03 pm Post subject: |
|
|
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 |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Sat Dec 31, 2005 2:47 pm Post subject: |
|
|
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 |
|
|
bodemory
Joined: 06 Dec 2005 Posts: 43
|
Posted: Thu Jan 26, 2006 12:09 pm Post subject: |
|
|
Great ! It works like a charm on the latest stable version...
Thanks |
|
Back to top |
|
|
|