User Product Insert

You can generate and process radar products within their own programs. You can use polling or user product insert (UPI) to pass the product between the user program and IRIS.

Polling

In polling, the product is passed from the user program using IRIS input and output mechanisms with no handshaking.

For example, you can place the product file in a known directory that IRIS checks every few seconds. When IRIS finds a file, it reads it. You can also place IRIS output files in a known directory that is polled by the other program.

When using a polling scheme, first copy the file to the directory with a "." prefix. When the file is fully there, rename it without the ".". This prevents the recipient from seeing a partial file.

User Product Insert (UPI)

User Product Insert (UPI) sends a message to notify the recipient of a product. This removes time lag and CPU usage due to polling.

The user routine communicates with IRIS as in other IRIS host system communication. Because communication is socket-based, the user routine can execute on the same computer as the IRIS host, or it can be on a different CPU.

Vaisala supplies a C++, socket-based example routine.