Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

airstrip use

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

wbliss
Posts: 3
Joined: Tue 03 Dec 2013 9:15 pm
Weather Station: Davis Vantage Vue
Operating System: windows xp
Location: Northumberland, UK

airstrip use

Post by wbliss »

I want to create a cumulus webpage for an private airstrip with data from a Davis Vantage Vue station. I would like to include the wind speed and direction specific for the runways which would be presented as headwind and crosswind. Is this best done via VBA or HTML? I have seen the Sherburn in Elmett weather site, but the wind did not appear to be presented in this way. Has anyone else done it? Thanks
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: airstrip use

Post by beteljuice »

A couple of old beteljuice experiments: (I think they are still mostly working !)

http://www.beteljuice.co.uk/betel_cumulus/doNZDA.php

http://www.beteljuice.co.uk/betel_cumulus/doNZMO.php

The above examples are using JavaScript to parse realtime.txt and workout head / tail winds.

see also short comment on mag bearings:

https://cumulus.hosiene.co.uk/viewtopic.p ... 36&p=54608
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
laulau
Posts: 678
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: airstrip use

Post by laulau »

Hi,
Is it possible to do something similar on a google map or openstreetmap view ?
I'd like to have the wind speed and direction on a map of my area.
Thanks
Laurent

Image
User avatar
laulau
Posts: 678
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: airstrip use

Post by laulau »

Hi,
I started to do something with the SteelGauges :
Capture.JPG
But I'd like to add the wind direction arrow as in Beteljuice old experiments!

@Beteljuice : Is your codesource free and available somewhere so i can try to suit it to my own needs? :oops:

Or does anyone have any idea how to do it?

Thanks
You do not have the required permissions to view the files attached to this post.
Laurent

Image
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: airstrip use

Post by nitrx »

I did never see this thread shoud be awesome for the chessna airport over here ( 10 km northeast ) https://www.google.nl/maps/@52.2424658, ... a=!3m1!1e3
Last edited by nitrx on Wed 13 Aug 2014 2:11 pm, edited 1 time in total.
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: airstrip use

Post by beteljuice »

The way to do it now would be html5 <canvas> or other similar manipulation techniques.

You already have some ajax script that parse your realtime.txt, so 'all' you would have to do is add some code to fire up the image using the avg (or whatever) values.
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
mcrossley
Posts: 12763
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: airstrip use

Post by mcrossley »

I'd do in with CSS3 now, that is how I did the Instromet Climatica display - it hands off the animation to the browser which is usually using hardware accelerated graphics.
User avatar
JennyLeez
Posts: 316
Joined: Wed 16 Dec 2009 2:32 am
Weather Station: La Crosse WS3083
Operating System: Windows XP, Win7 & Win 10
Location: Wairoa, Hawkes Bay. New Zealand.
Contact:

Re: airstrip use

Post by JennyLeez »

Hi beteljuice,

I played with this when you first posted but could not work out how to display the large runway arrow so flagged it.
I am playing again now.
I have 16 arrows in red, green and amber but I am guessing there may be more.
When you have some time could you please head me in the right direction to display the large arrow.

In your dummy you have the runway beside the Wairoa River and in my google map so have I :)

Anyway here is my feeble attempt:
http://wairoaweather.net/NZWO.php

and using my realtime.txt here is yours.
http://www.beteljuice.co.uk/betel_cumul ... 690403.txt

Cheers and thanks for any help on this.

Jenny.
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: airstrip use

Post by beteljuice »

Hi Jenny - well lifted ... almost :lol:

A few points, the two examples I posted use slightly different techniques for the map wind arrows - talking of which ....

Magnetic Deviation ... the sooner they use satnav and True North the better !!!!!
My background was the 'official' Airport Approach document, and as you can see in the NZDA example Mag Dec at that time was 19 deg E, you now have it as 21.1 deg E

This means the compass graphic is 2 deg out and unless you've changed the value in the code the direction draphics will be slightly out too !!!

Did you know ..... runway numbers are the Magnetic approach bearings rounded to 10s and the end zero dropped.
Thus runway 22 (to land on) is 'pointing' roughly 220 deg. Magnetic .....
This also means every so often all runways are renumbered due to Magnetic Deviation shift over time. There are a few exceptions near polar regions (Northern Canada, Alaska) where the runways number with regard to True North due to the incredible Mag variations they experience.
JennyLeez wrote:...
I have 16 arrows in red, green and amber but I am guessing there may be more.
There are less !!!
In the NZDA example I created some php code to rotate and crop 3 graphics (North versions of green, orange, red) - this can now be acheived by CSS3. There is also a seperate 'Calm' graphic.

Please remove / mod the second link, it won't work because it's addressing a single session tmp file.

The format to 'post' for NZDA is

Code: Select all

http://www.beteljuice.co.uk/betel_cumulus/getitNZDA.php?source=http://yoursite/realtime.txt
You've done VERY well to lift all (well most) of the OOD code and graphics, as you've noticed it uses <IFrame> and two sets of code, this is because trying to run all the code on 'one' page ground the browser to a halt :shock:

Dumping the wind compass / speed indicator or redesigning it in CSS3 should clarify / neaten things up considerably.

If you wish to continue with code you've lifted I will zip up the rarrow.php and the graphics it uses, and create a new 21.1 deg compass background (If I can remember how I did it, and still have the original pastiche !!!)

EDIT: You are also missing the Nix tube graphics ...
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
JennyLeez
Posts: 316
Joined: Wed 16 Dec 2009 2:32 am
Weather Station: La Crosse WS3083
Operating System: Windows XP, Win7 & Win 10
Location: Wairoa, Hawkes Bay. New Zealand.
Contact:

Re: airstrip use

Post by JennyLeez »

Hi beteljuice,

Yes I would very much like to have this functioning correctly and of course your permission to public.

From what you are saying all I will need to do is turn my run way around to match your alterations and I should be correct with the Google Earth one I have made.
I am not sure where you found the background you have but I have been unable to find anything similar hence my google earth version.

Yes please to all the images including the ajax images if possible so I may use as 'standalone'.

and yes that damn 'rarrow.php' had me beat but you know that :)

Thank you heaps beteljuice :)

Cheers
Jenny
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: airstrip use

Post by beteljuice »

Jenny wrote:From what you are saying all I will need to do is turn my run way around to match your alterations and I should be correct with the Google Earth one
The code as stands assumes the map background is orientated 'true' North. If you decide to change that then that will need to be taken into account for the 'arrows'.

Speaking of which, you will have noticed o/p code for runways you don't have ! - you can of course remove those (the code was being ongoing modified for different places - in fact I've 'lost' an experiment where the head / crosswinds had runway arrows which varied in size, colour and opacity - ah well, needs to be CSS3'd anyway - a JS function to change CSS rather than the external PHP fiddle)

From memory, the only ajax_images used are for the 'weather' box - rising, falling, steady. So as long as you refer to the correct directory in the set-up section there shouldn't be a problem, although of course you can isolate them if you wish (You would still need to alter the user vars !)

BTW - in my example the 19 deg Dec is NOT a month but DEClination.

You can get New Zealand airport charts here: http://www.aip.net.nz/NavWalk.aspx?section=CHARTS
It can be a bit slow on the PDF diagram fully loading !
The one I used seems to be dated 2010 (showing 19 deg DEC)
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
JennyLeez
Posts: 316
Joined: Wed 16 Dec 2009 2:32 am
Weather Station: La Crosse WS3083
Operating System: Windows XP, Win7 & Win 10
Location: Wairoa, Hawkes Bay. New Zealand.
Contact:

Re: airstrip use

Post by JennyLeez »

Ok found, this will be better.
http://www.aip.net.nz/pdf/NZWO_51.1_52.1.pdf

I will play with this tomorrow and thank you.

Here is where I found the 21.1E in case I have this all wrong.
http://airportguide.com/airport/New_Zea ... -NZWO-WIR/

I understand the images/paths. Thanks.

Cheers
Jenny
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: airstrip use

Post by beteljuice »

@ Jenny

NOTE: there is unecessary (and unwanted) content in your php files !
They were only php instead of html because I needed to construct and carry around the tmp file that picked up other peoples realtime.txt ;)

Main file:

Code: Select all

/* REMOVE */
<script type="text/javascript">
var currdatFile = "tmp_52a836e72d81c.txt";
</script>



/* CHANGE 
	<iframe  id="wind0_panel_wrapper" src ="http://wairoaweather.net/NZWO_mag.php?go=tmp_52a836e72d81c.txt" scrolling="no" frameborder="0" style="position: relative; top: 0px; left: 0px; height: 226px; width: 396px;" ALLOWTRANSPARENCY=TRUE>
TO */

	<iframe  id="wind0_panel_wrapper" src ="http://wairoaweather.net/NZWO_mag.php" scrolling="no" frameborder="0" style="position: relative; top: 0px; left: 0px; height: 226px; width: 396px;" ALLOWTRANSPARENCY=TRUE>								
In the _mag page

Code: Select all

/*REMOVE */
 <script type="text/javascript">
currdatFile = "";
</script>

/* CHANGE
<img src="blank_19.png" width="396" height="201" alt="" style="position: relative; top: 0px; left: 0px;">
TO */

<img src="blank_21.png" width="396" height="201" alt="" style="position: relative; top: 0px; left: 0px;">

// because I've done you a 21 deg offset graphic :-)
Missing files:
JL_missing.zip
EDIT: Don't forget to change var mag_deviation = 21.1 in BOTH the JS files.

Bon chance !
You do not have the required permissions to view the files attached to this post.
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
laulau
Posts: 678
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: airstrip use

Post by laulau »

Hi,
I tried this scripts out, but was not lucky with arrow.php script, i always get the default (N_Red.png) arrow!
http://meteo.laurentmey.fr/carte/NZDA.php
I really don't understand why.
Any advice?
Thanks
Laurent

Image
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: airstrip use

Post by beteljuice »

@laulau

It's behaving like rarrow.php is NOT receiving the posted variables.

Check your PHP / file / folder permissions.

I seem to remember someone else who had PHP set up in way that variables couldn't be 'passed'.
Have you had problems in the past with eg. PHP forms etc. ?

EDIT: You'll need a 1.5 deg offset compass rose graphic if you wish to show Magnetic bearings (assuming the background map is True North)
Image
......................Imagine, what you will KNOW tomorrow !
Post Reply