NOAAPORT
|
This file contains the code for the noaaportIngester(1)
program.
More...
Functions | |
int | main (const int argc, char *argv[]) |
Reads a NOAAPORT data stream, creates LDM data-products from the stream, and inserts the data-products into an LDM product-queue. More... | |
This file contains the code for the noaaportIngester(1)
program.
This program reads NOAAPORT data from a file or multicast packet stream, creates LDM data-products, and writes the data-products into an LDM product-queue.
Copyright © 2019, University Corporation for Atmospheric Research. See COPYRIGHT file for copying and redistribution conditions.
int main | ( | const int | argc, |
char * | argv[] | ||
) |
Reads a NOAAPORT data stream, creates LDM data-products from the stream, and inserts the data-products into an LDM product-queue.
The NOAAPORT data stream can take the form of multicast UDP packets from (for example) a Novra S300 DVB-S2 receiver or the standard input stream.
Usage: noaaportIngester [-l log] [-n|-v|-x] [-q queue] [-u n] [-m mcastAddr] [-I ip_addr] [-b npages]
Where:
Allocate npages pages of memory for the internal buffer.
Listen for multicast packets on interface ip_addr. Default is the system's default multicast interface.
Log to file log. The default is to use the system logging daemon if the current process is a daemon; otherwise, the standard error stream is used.
Use the multicast address mcastAddr. The default is to read from the standard input stream.
Log messages of level NOTE and higher priority. Each data-product will generate a log message.
Use queue as the pathname of the LDM product-queue. The default is to use the default LDM pathname of the product-queue.
Set the receive buffer size for the NOAAPort UDP packets to bufSize bytes. The default is system dependent.
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.
If neither -n, -v, nor -x is specified, then logging will be restricted to levels ERROR and WARN only.
0 | if successful. |
1 | if an error occurred. At least one error-message will be logged. |
[in] | argc | Number of arguments |
[in] | argv | Arguments |