Template Feature: A Meteohub => Meteoplug conversion example

Discussion about generation of graphs and tables
User avatar
admin
Site Admin
Posts: 332
Joined: Sun Feb 07, 2010 9:22 pm

Re: Template Feature: A Meteohub => Meteoplug conversion example

Post by admin » Wed Apr 14, 2010 10:27 pm

This is available now... Please have a look at new template features. I made a brief posting on this here in the forum. Wiki is also updated.

skyewright
Posts: 69
Joined: Tue Mar 16, 2010 12:05 pm
Location: Isle of Skye
Contact:

Re: Template Feature: A Meteohub => Meteoplug conversion example

Post by skyewright » Thu Apr 15, 2010 10:27 am

I've modified the template to make use of new additional features:

a) Text directions (e.g. N, S, E, W, etc.) are now available, so it's now possible to use:

Code: Select all

_dir_en] => _maindirtext]

_maxspeeddir_en] => _highdirtext]
b) localtime and uploadtime are now available, e.g.

Code: Select all

[actual_date0_time_local] => [actual_day1_misc_uploadlocaltime_11_8]

[actual_date0_puredate_local] => [actual_day1_misc_uploadlocaltime_8_2]/[actual_day1_misc_uploadlocaltime_5_2]/[actual_day1_misc_uploadlocaltime_0_4] (for UK format date)

[actual_date0_time_utc] => [actual_day1_misc_uploadutctime_11_8]

[actual_date0_puredate_utc] => [actual_day1_misc_uploadutctime_8_2]/[actual_day1_misc_uploadutctime_5_2]/[actual_day1_misc_uploadutctime_0_4] (for UK format date)
David

oliverb
Posts: 38
Joined: Wed Mar 31, 2010 8:38 am
Location: Kenley Surey UK
Contact:

Re: Template Feature: A Meteohub => Meteoplug conversion example

Post by oliverb » Sat Apr 17, 2010 6:33 am

Thanks for all the info. This has been very useful.
Brett.

oliverb
Posts: 38
Joined: Wed Mar 31, 2010 8:38 am
Location: Kenley Surey UK
Contact:

Re: Template Feature: A Meteohub => Meteoplug conversion example

Post by oliverb » Thu Apr 22, 2010 3:08 pm

Looking at my Template and skyewright's compared to both our Meteohubs the wind direction seems wrong.
Meteoplug seem to be stuck on Nth.
Brett.

skyewright
Posts: 69
Joined: Tue Mar 16, 2010 12:05 pm
Location: Isle of Skye
Contact:

Re: Template Feature: A Meteohub => Meteoplug conversion example

Post by skyewright » Fri Apr 23, 2010 9:22 am

oliverb wrote:Looking at my Template and skyewright's compared to both our Meteohubs the wind direction seems wrong.
Meteoplug seem to be stuck on Nth.
So it does.
Strange, I'm sure that was working when I first made the addition. Our weather was from the N at the time but I think I remember seeing some variation on that?

I've modified the "Current" and "Today" sections of my template to show the degrees as well as the text to highlight this oddity, e.g. currently

Code: Select all

[actual_min5_wind3_maindirtext] ([actual_min5_wind3_maindir_0_22.5]°)
is giving
N (45°)
Last edited by skyewright on Fri Apr 23, 2010 4:41 pm, edited 1 time in total.
David

User avatar
admin
Site Admin
Posts: 332
Joined: Sun Feb 07, 2010 9:22 pm

Re: Template Feature: A Meteohub => Meteoplug conversion example

Post by admin » Fri Apr 23, 2010 4:00 pm

"maindir" and "highdir" deliver values from 0 - 15 according to 16 distinct directions (clockwise, north is 0°).

A value of 2 (which will give 45° when applied to a factor as in the example above) should result in text "NE".

I will dig into this, looks like a bug.

User avatar
admin
Site Admin
Posts: 332
Joined: Sun Feb 07, 2010 9:22 pm

Re: Template Feature: A Meteohub => Meteoplug conversion example

Post by admin » Fri Apr 23, 2010 9:20 pm

should be fixed by now.

skyewright
Posts: 69
Joined: Tue Mar 16, 2010 12:05 pm
Location: Isle of Skye
Contact:

Re: Template Feature: A Meteohub => Meteoplug conversion example

Post by skyewright » Sat Apr 24, 2010 2:35 pm

admin wrote:should be fixed by now.
Looking good now:
Wind Speed 8.9 mph SSW (202°)
Gust Speed 14.1 mph S (180°)
Thank you.
David

oliverb
Posts: 38
Joined: Wed Mar 31, 2010 8:38 am
Location: Kenley Surey UK
Contact:

Re: Template Feature: A Meteohub => Meteoplug conversion example

Post by oliverb » Sat Apr 24, 2010 5:33 pm

Yeah thanks for the fast response works fine now.

I have added the wind direction angle in degrees to the wind direction text on my template. Thanks skyewright.

Post Reply