get_loop.php Usage information

Written by Dr. Chris Herbster

Designed for use on the wx.erau.edu web server.

Usage:
Minimum URL structure http://wx.erau.edu/get_loop.php?&dir=path/to/load

where the path is to an image directory on our web surver
See the filelist option below.

Other options to use are:

&cnt=number
where 'number' is the desired image count to display, the list is displayed from the bottom up by default.
ex &cnt=4  will load four images from the bottom of the directory list.
Default: cnt=4

&home=username
where 'username' is the user's login name, all paths are under ~username/public_html/...
Note:  Current configuration requires that you have your account configured by the system administrator prior to using this option.
&height=pixels
pixels is a number to use for the image window height and the animator controls.  Add about 50 to your image height for a first guess.
Default: height=650
&width=pixels
pixels is a number to use for the image window with the animator controls.  Add about 20-50 to your image width to give a border.
Default: width=850
&refresh=second
seconds is the number of seconds to wait before an automatic reload. 
Use 0 to disable
Default: refresh=300 (5 minutes) and values up to 10 are assumed to be minutes (i.e. refresh * 60 seconds)
&match=pattern
pattern is a string (actually a "regular expression") to use to filter the list of images for animation.
Default: match all files in directory
To get just 00z, 06z, 12z and 18z MSL pressure analyses for the past 48 hours, you could use:
http://wx.erau.edu/get_loop.php?dir=Ruc_pmsl&cnt=8&refresh=0&match=0000|0600|1200|1800
&filelist=filename
filename is a file with a list of images to use for the animation. Use the home option to reference a file in your own directories.
An example of this might be the following:
http://wx.erau.edu/get_loop.php?filelist=o3_test.txt&home=herbster&refresh=0

The contents of the example filelist ("o3_test.txt") text file are:

  ~herbster/ozone/npole/y2003/en030101.gif
  ~herbster/ozone/npole/y2003/en030121.gif
  ~herbster/ozone/npole/y2003/en030201.gif
  ~herbster/ozone/npole/y2003/en030221.gif
  ~herbster/ozone/npole/y2003/en030301.gif
  ~herbster/ozone/npole/y2003/en030321.gif
  ~herbster/ozone/npole/y2003/en030401.gif
  ~herbster/ozone/npole/y2003/en030421.gif
  ~herbster/ozone/npole/y2003/en030501.gif
  ~herbster/ozone/npole/y2003/en030601.gif
  ~herbster/ozone/npole/y2003/en030621.gif
  ~herbster/ozone/npole/y2003/en030701.gif
  ~herbster/ozone/npole/y2003/en030721.gif
  ~herbster/ozone/npole/y2003/en030801.gif
  ~herbster/ozone/npole/y2003/en030821.gif
  ~herbster/ozone/npole/y2003/en030901.gif
  ~herbster/ozone/npole/y2003/en030921.gif
  ~herbster/ozone/npole/y2003/en031001.gif
  ~herbster/ozone/npole/y2003/en031021.gif
  ~herbster/ozone/npole/y2003/en031101.gif
  ~herbster/ozone/npole/y2003/en031121.gif
  ~herbster/ozone/npole/y2003/en031221.gif
  

Here are some links to loops of real-time data plots.