This file contains the code for the readnoaaport(1)
program.
More...
Functions | |
int | main (const int argc, char *const argv[]) |
Reads NOAAPORT data from a shared-memory FIFO or a file, creates LDM data-products, and inserts the data-products into an LDM product-queue. More... | |
This file contains the code for the readnoaaport(1)
program.
This program reads NOAAPORT data from a shared-memory FIFO or a file, creates LDM data-products, and writes the data-products into an LDM product-queue.
int main | ( | const int | argc, |
char *const | argv[] | ||
) |
Reads NOAAPORT data from a shared-memory FIFO or a file, creates LDM data-products, and inserts the data-products into an LDM product-queue.
Usage:
readnoaaport [-nvx] [-q <em>queue</em>] [-u <em>n</em>] [-m mcastAddr] [path]\n
Where:
Log to log. if log is "-", then logging occurs to the standard error stream; otherwise, log is the pathname of a file to which logging will occur. If not specified, then log messages will go to the system logging daemon.
Use the shared-memory FIFO associated with the UDP multicast address mcastAddr.
Log messages of level NOTICE and higher priority.
Use queue as the pathname of the LDM product-queue. The default is to use the default LDM pathname of the product-queue.
If logging is to the system logging daemon, then use facility localn. The default is to use the LDM facility.
Log messages of level INFO and higher priority. Each data-product will generate a log message.
Log messages of level DEBUG and higher priority.
0 | if successful. |
1 | if an error occurred. At least one error-message is logged. |