uk.sci.weather (UK Weather) (uk.sci.weather) For the discussion of daily weather events, chiefly affecting the UK and adjacent parts of Europe, both past and predicted. The discussion is open to all, but contributions on a practical scientific level are encouraged.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old October 8th 05, 08:45 PM posted to uk.sci.weather
external usenet poster
 
First recorded activity by Weather-Banter: Jul 2003
Posts: 389
Default UKMO rainfall radar image size

Can anyone tell me whether the aviation subscription (ie £56.40ish)
version of the UKMO rainfall radar image is any larger than the free
aviation version, which seems to be just 300x283px and hence rather
small?

I know that the subscription version refreshes more often, that
Avbrief do a larger version and that even the small image probably
captures all the information that is readily available (ie assuming
that 1px might represent a 5km or 10km square). But I'd still like to
see a larger image from the UKMO if it's on offer.

JGD

  #2   Report Post  
Old October 8th 05, 08:59 PM posted to uk.sci.weather
external usenet poster
 
First recorded activity by Weather-Banter: Mar 2005
Posts: 747
Default UKMO rainfall radar image size

John Dann wrote:
Can anyone tell me whether the aviation subscription (ie £56.40ish)
version of the UKMO rainfall radar image is any larger than the free
aviation version, which seems to be just 300x283px and hence rather
small?

I know that the subscription version refreshes more often, that
Avbrief do a larger version and that even the small image probably
captures all the information that is readily available (ie assuming
that 1px might represent a 5km or 10km square). But I'd still like to
see a larger image from the UKMO if it's on offer.

JGD


541 x 511, 15 min intervals.


  #3   Report Post  
Old October 8th 05, 09:08 PM posted to uk.sci.weather
external usenet poster
 
First recorded activity by Weather-Banter: Nov 2004
Posts: 7,921
Default UKMO rainfall radar image size


"John Dann" wrote in message
...
Can anyone tell me whether the aviation subscription (ie £56.40ish)
version of the UKMO rainfall radar image is any larger than the free
aviation version, which seems to be just 300x283px and hence rather
small?

I know that the subscription version refreshes more often, that
Avbrief do a larger version and that even the small image probably
captures all the information that is readily available (ie assuming
that 1px might represent a 5km or 10km square). But I'd still like to
see a larger image from the UKMO if it's on offer.

JGD


Hi John,

Yes it is larger at 541x511 pixels (at least that is what doing a "properties"
on the image gives).

Will.
--

" Ah yet another day to enjoy "
-------------------------------------------------------------------------------
A COL BH site in East Dartmoor at Haytor, Devon 310m asl (1017 feet).

mailto:
www:
http://www.lyneside.demon.co.uk/Hayt...antage_Pro.htm

DISCLAIMER - All views and opinions expressed by myself are personal
and do not necessarily represent those of my employer.
-------------------------------------------------------------------------------


  #4   Report Post  
Old October 8th 05, 10:20 PM posted to uk.sci.weather
external usenet poster
 
First recorded activity by Weather-Banter: Apr 2004
Posts: 69
Default UKMO rainfall radar image size


"John Dann" wrote in message
...
Can anyone tell me whether the aviation subscription (ie £56.40ish)
version of the UKMO rainfall radar image is any larger than the free
aviation version, which seems to be just 300x283px and hence rather
small?

I know that the subscription version refreshes more often, that
Avbrief do a larger version and that even the small image probably
captures all the information that is readily available (ie assuming
that 1px might represent a 5km or 10km square). But I'd still like to
see a larger image from the UKMO if it's on offer.

JGD


If you just want bigger i.e. there is no improvement in resolution, then
paste the followig code into your text editor and save as radarloop.html, or
whatever you fancy. Then just point your browser at the file, or open it in
windows explorer etc.

code begins......

html
head
META HTTP-EQUIV="Refresh" CONTENT=120
titleGFS sequence/title

script language="javascript"

!-- hide the script from old browsers --



//================================================== ==========

// jsImagePlayer 1.0

// for Netscape3.0+, September 1996

//================================================== ==========

// by (c)BASTaRT 1996, 1997

// Praha, Czech Republic, Europe

//

// feel free to copy and use as long as the credits are given

// by having this header in the code

//

// contact:

//
http://sgi.felk.cvut.cz/~xholecko

//

//================================================== ==========

// Thanx to Karel & Martin for beta testing and suggestions!

//================================================== ==========



//********* SET UP THESE VARIABLES - MUST BE CORRECT!!!*********************
first_image=1;
last_image=8;
animation_height = 740;
animation_width = 800;
//************************************************** ************************

//************************************************** ************************



//=== THE CODE STARTS HERE - no need to change anything below ===

//=== global variables ====

theImages = new Array();

normal_delay = 400;

delay = normal_delay; //delay between frames in 1/100 seconds

delay_end = 4000;

delay_max = 4000;

delay_min = 10;

delay_step = 25;

current_image = first_image; //number of the current image

timeID = null;

status = 0; // 0-stopped, 1-playing

play_mode = 0; // 0-continuous, 1-normal, 2-swing

size_valid = 0;


//=== preload the images - gets executed first, while downloading the page

theImages[1] = new Image();
theImages[1].src =
"http://www.metoffice.gov.uk/weather/europe/uk/radar/data/3EF_PS_1.GIF";
theImages[2] = new Image();
theImages[2].src =
"http://www.metoffice.gov.uk/weather/europe/uk/radar/data/3EF_PS_2.GIF";
theImages[3] = new Image();
theImages[3].src =
"http://www.metoffice.gov.uk/weather/europe/uk/radar/data/3EF_PS_3.GIF";
theImages[4] = new Image();
theImages[4].src =
"http://www.metoffice.gov.uk/weather/europe/uk/radar/data/3EF_PS_4.GIF";
theImages[5] = new Image();
theImages[5].src =
"http://www.metoffice.gov.uk/weather/europe/uk/radar/data/3EF_PS_5.GIF";
theImages[6] = new Image();
theImages[6].src =
"http://www.metoffice.gov.uk/weather/europe/uk/radar/data/3EF_PS_6.GIF";
theImages[7] = new Image();
theImages[7].src =
"http://www.metoffice.gov.uk/weather/europe/uk/radar/data/3EF_PS_7.GIF";
theImages[8] = new Image();
theImages[8].src =
"http://www.metoffice.gov.uk/weather/europe/uk/radar/data/3EF_PS_8.GIF";

//=== displays image depending on the play mode in forward direction

function animate_fwd()

{

current_image++;

if(current_image last_image)

{

if (play_mode == 1)

{

current_image = last_image;

status=0;

return;

}; //NORMAL

if (play_mode == 0)

{

current_image = first_image; //LOOP

};

if (play_mode == 2)

{
current_image = last_image;

animate_rev();

return;

};

};

if(current_image last_image)

{

delay = normal_delay;

document.animation.src = theImages[current_image].src;

document.control_form.frame_nr.value = current_image;

timeID = setTimeout("animate_fwd()", delay);

};

if(current_image == last_image)

{

delay = delay_end;

document.animation.src = theImages[current_image].src;

document.control_form.frame_nr.value = current_image;

timeID = setTimeout("animate_fwd()", delay);

delay = normal_delay;

};

}



//=== displays image depending on the play mode in reverse direction

function animate_rev()

{

current_image--;

if(current_image first_image)

{

if (play_mode == 1)

{

current_image = first_image;

status=0;

return;

}; //NORMAL

if (play_mode == 0)

{

current_image = last_image; //LOOP


};

if (play_mode == 2)

{

current_image = first_image;

animate_fwd();

return;

};

};

if(current_image 1)

{

delay = normal_delay;

document.animation.src = theImages[current_image].src;

document.control_form.frame_nr.value = current_image;

timeID = setTimeout("animate_rev()", delay);

};

if(current_image == 1)

{

delay = delay_end;

document.animation.src = theImages[current_image].src;

document.control_form.frame_nr.value = current_image;

timeID = setTimeout("animate_rev()", delay);

delay = normal_delay;

};

}



//=== changes playing speed by adding to or substracting from the delay
between frames

function change_speed(dv)

{

normal_delay+=dv;

if(normal_delay delay_max) normal_delay = delay_max;

if(normal_delay delay_min) normal_delay = delay_min;

}



//=== stop the movie

function stop()

{

if (status == 1) clearTimeout (timeID);

status = 0;

}

//=== "play forward"

function fwd()

{

stop();

status = 1;

animate_fwd();

}



//=== jumps to a given image number

function go2image(number)

{

stop();

if (number last_image) number = last_image;

if (number first_image) number = first_image;

current_image = number;

document.animation.src = theImages[current_image].src;

document.control_form.frame_nr.value = current_image;

}



//=== "play reverse"

function rev()

{

stop();

status = 1;

animate_rev();

}



//=== changes play mode (normal, continuous, swing)

function change_mode(mode)

{

play_mode = mode;

}



//=== sets everything once the whole page and the images are loaded (onLoad
handler in body)

function launch()

{

stop();
current_image = last_image;

document.animation.src = theImages[current_image].src;

document.control_form.frame_nr.value = current_image;

// this is trying to set the text (Value property) on the START and END
buttons

// to S(first_image number), E(last_image number). Its supposed
(according to

// JavaScript Authoring Guide) to be a read only value but for some
reason

// it works on win3.11 (on IRIX it doesnt).

document.control_form.start_but.value = " FIRST(" + first_image + ") ";

document.control_form.end_but.value = " LAST(" + last_image + ") ";

// this needs to be done to set the right mode when the page is manualy
reloaded

change_mode (document.control_form.play_mode_selection.selecte dIndex);
}



//=== writes the interface into the code where you want it

function keys()

{
document.write(" FORM Method=POST Name=\"control_form\" ");

document.write(" FONT SIZE = 2 ");

document.write(" CENTER ");

document.write(" INPUT TYPE=\"button\" Name=\"start_but\"
Value=\"FIRST\" onClick=\"go2image(first_image)\" ");

document.write(" BR ");

document.write(" INPUT TYPE=\"button\" Name=\"end_but\"
Value=\"LAST\" onClick=\"go2image(last_image)\" ");

document.write(" BR ");

document.write(" INPUT TYPE=\"button\" Value=\"BACK\"
onClick=\"fwd()\" ");

document.write(" BR ");

document.write(" INPUT TYPE=\"button\" Value=\"FORWARD\"
onClick=\"rev()\" ");

document.write(" BR ");

document.write(" INPUT TYPE=\"button\" Value=\"STOP\"
onClick=\"stop()\" ");

document.write(" BR ");

document.write(" INPUT TYPE=\"button\" Value=\" -1 \"
onClick=\"go2image(--current_image)\" ");
document.write(" INPUT TYPE=\"button\" Value=\" +1 \"
onClick=\"go2image(++current_image)\" ");

document.write(" BR ");

document.write(" BR ");

document.write(" OPTIONS:SELECT NAME=\"play_mode_selection\"
onChange=\"change_mode(this.selectedIndex)\" ");

document.write(" BR ");

document.write(" OPTION SELECTED VALUE=0continuous ");

document.write(" OPTION VALUE=1loop once ");
document.write(" OPTION VALUE=2swing ");

document.write(" /SELECT ");

document.write(" BR ");

document.write(" BR ");

document.write(" IMAGE #:INPUT TYPE=\"text\" NAME=\"frame_nr\"
VALUE=\"0\" SIZE=\"2\" ");

document.write(" onFocus=\"this.select()\"
onChange=\"go2image(this.value)\" ");

document.write(" BR ");

document.write(" BR ");

document.write(" SPEED: ");

document.write(" BR ");

document.write(" INPUT TYPE=\"button\" Value=\" - \"
onClick=\"change_speed(delay_step)\" ");

document.write(" INPUT TYPE=\"submit\" Value=\" + \"
onClick=\"change_speed(-delay_step)\;return false\" ");

document.write(" /FORM ");

document.write(" /P ");
};


function animation()

{

document.write(" PIMG NAME=\"animation\" HEIGHT=",animation_height, "
WIDTH=", animation_width, "\" ALT=\"[jsMoviePlayer]\"");

};

//=== THE CODE ENDS HERE - no need to change anything above === --

/script

/head



body BGCOLOR="#ffffff" onLoad="launch()"

!-- ************ START THE jsMoviePlayer(TM) *****************
SRC=\"hurr1.jpg\" --

table CELLSPACING=2 CELLPADDING=5 COLS=2 WIDTH="100%" BGCOLOR="#FFFFFF"
tr
th BGCOLOR="#C0C0C0" WIDTH="1"

script language="javascript"

!--
keys();
//--
/script

/th

th align=center
script language="javascript"
animation();

//--

/script
/th
/tr
/table

!-- ************** END THE jsMoviePlayer(TM) ***************** --

/body
/html


  #5   Report Post  
Old October 9th 05, 10:48 AM posted to uk.sci.weather
external usenet poster
 
First recorded activity by Weather-Banter: Jul 2003
Posts: 389
Default UKMO rainfall radar image size

Many thanks for the replies and examples. One follow-up question:

On Sat, 8 Oct 2005 23:20:07 +0100, "Steve"
wrote:

code begins......


Does anyone know how the authentication for subscription access might
work with this? I can imagine that you have to log on initially to
your UKMO account, but how quickly does the logon time out? In other
words, do you effectively have to log on each and every time you want
to update the sequence, which would be at least a nuisance and maybe a
showstopper, or can you get away with logging in eg just once a day?

JGD


  #6   Report Post  
Old October 9th 05, 03:37 PM posted to uk.sci.weather
external usenet poster
 
First recorded activity by Weather-Banter: Feb 2004
Posts: 3,030
Default UKMO rainfall radar image size

"John Dann" wrote in message
...

Does anyone know how the authentication for subscription access might
work with this? I can imagine that you have to log on initially to
your UKMO account, but how quickly does the logon time out? In other
words, do you effectively have to log on each and every time you want
to update the sequence, which would be at least a nuisance and maybe a
showstopper, or can you get away with logging in eg just once a day?

JGD


Set the browser to remember your access details and bookmark the radar page,
you can then treat it as any normal web page.

Jon.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Size of Rain Guage Elephant alt.talk.weather (General Weather Talk) 2 December 4th 07 07:37 PM
Rainfall radar image archives Dave Ludlow uk.sci.weather (UK Weather) 3 October 8th 07 10:11 PM
Sun size question Informer uk.sci.weather (UK Weather) 6 December 24th 04 12:33 PM
O/T reducing photo size? Keith (Southend) uk.sci.weather (UK Weather) 6 June 1st 04 05:28 PM
Satellite Pixel Size Scott sci.geo.meteorology (Meteorology) 3 April 10th 04 12:19 AM


All times are GMT. The time now is 04:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 Weather Banter.
The comments are property of their posters.
 

About Us

"It's about Weather"

 

Copyright © 2017