

The following is a brief description on how to install and configure the AsciiToPlane input pipe.

The first thing you must do is to put the AsciiToPlane executable into the directory /usr/sigmet/config/pipes.  Make sure the protections on the AsciiToPlane executable are rwxrwxr-x and that the owner and group are operator and users.

Next copy the file AsciiToPlane.conf into the directory /usr/sigmet/config.  Make sure the protections on the AsciiToPlane.conf file are rw-rw-r--and that the owner and group are operator and users.

Now you need to create a directory of where the ascii plane data will be copied to.
I created the directory /usr/iris_data/plane .  Make sure the protections on the plane directory are drwxrwxr-x and the owner and group are operator and users.

What you need to do now is configure IRIS to use an input pipe.  This can be done in the IRIS setup utility.  To run the IRIS setup utility type setup in a terminal window.
Next select the "Input" push button in the setup utility.
When the Input Device Setups menu pops up fill in the appropriate fields.
Change the "Number of input devices" to 1 (I'm assuming you don't have any more input pipes).
Change the "Menu alias".  This  field name will be displayed in the IRIS Radar Status Menu in the SUBSYSTEM  STATUS list. 
Change the "Pipe program name"  to AsciiToPlane.
Change the  "Source directory" to /usr/iris_data/plane/  this is where the ascii plane data will be copied to.
Check that the  "Command line syntax" is set to Pipe.
Save and exit the setup utility.

At this point you need to configure the AsciiToPlane.conf file located at /usr/sigmet/config.
 
Fields you should change are:
   SITENAME
   CENTER_LATLON
   MAX_RANGE
   RADAR_LATLON

At this point you ready to run the input pipe.

First do a qiris and then an siris. 
Once the IRIS server is running,   type iris to get an iris menu.
Do a Connect to your server and then popup the Radar Setup Menu.
If you look in the SUBSYSTEM STATUS list you should see Input1 and the alias name you typed in, in the setup utility.


In the CONTORL SECTION you will see Inputs.  If Inputs is not toggled in then select it. Input1 should show a status of Idle.

IRIS is now ready to receive ascii plane data.  
Copy an ascii plane file to the directory /usr/iris_data/plane. 
After a few seconds IRIS will poll the /usr/iris_data/plane directory, process the ascii plane file and then delete it.
At this point there will be a warn product in the product inventory directory located at /usr/iris_data/product

To display the newly created  warn product in an IRIS Window.   Select the Product push button to popup the Product Menu.  Then select WARN and  then DEFAULT.  
The newly created warn product will be displayed.


The data I used for this example is the data that Michael Matthews  sent me.
The MAX_RANGE was set to 1  (This is 1 km) in the AsciiToPlane.conf file
See Image 1.

t1,25.64753588,80.50522714,5000,20020625143131
t2,25.65043163,80.50265758,5010,20020625143131
t3,25.65084536,80.50329694,5200,20020625143131
t4,25.64992021,80.50901267,5050,20020625143131
t5,25.6493381,80.50947109,5007,20020625143131
t6,25.64799908,80.51002374,54300,20020625143135



To test out the DWELL product I did a qiris and changed the MAX_RANGE  to 1000 and then did an siris.
Once the IRIS server is restarted make sure the Inputs toggle is selected in the Radar Status Menu.

Next I changed Michael's data to look like the following  (see below) and copied each new block to 4 seperate files.  Then I copied a new data file every few second to the directory /usr/iris_data/plane.

Finally in IRIS I created a DWELL product using the DEFAULT warn product data and
then scheduled it.

To display the newly created dwelled warn product in an IRIS Window.   Select the Product push button to popup the Product Menu.  Then select WARN and  then Plane (Plane is the name I saved my DWELL product as)
The newly created warn product will be displayed.
See Image 2.



One last note:  To make the trailing dots in the dwelled warn image.  Go the the directory /usr/sigmet/config/overlay.
Copy the file dot9.xbm to dellwarn.xbm


t1,25.64753588,80.50522714,5000,20020625144131
t2,26.65043163,80.50265758,5010,20020625144131
t3,27.65084536,80.50329694,5200,20020625144131
t4,28.64992021,80.50901267,5050,20020625144131
t5,29.6493381,80.50947109,5007,20020625144131
t6,30.64799908,80.51002374,54300,20020625144135


t1,25.64753588,81.50522714,5000,20020625145131
t2,26.65043163,81.50265758,5010,20020625145131
t3,27.65084536,81.50329694,5200,20020625145131
t4,28.64992021,81.50901267,5050,20020625145131
t5,29.6493381,81.50947109,5007,20020625145131
t6,30.64799908,81.51002374,54300,20020625145135


t1,25.64753588,82.50522714,5000,20020625150131
t2,26.65043163,82.50265758,5010,20020625150131
t3,27.65084536,82.50329694,5200,20020625150131
t4,28.64992021,82.50901267,5050,20020625150131
t5,29.6493381,82.50947109,5007,20020625150131
t6,30.64799908,82.51002374,54300,20020625150135



t1,25.64753588,83.50522714,5000,20020625151131
t2,26.65043163,83.50265758,5010,20020625151131
t3,27.65084536,83.50329694,5200,20020625151131
t4,28.64992021,83.50901267,5050,20020625151131
t5,29.6493381,83.50947109,5007,20020625151131
t6,30.64799908,83.51002374,54300,20020625151135







