ocssw  1.0
Defines | Functions
/disk01/web/ocssw/build/src/neb2raw_seawifs/neb2raw.c File Reference

(r8084/r4494)

#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include "loghdr.h"

Go to the source code of this file.

Defines

#define CMD_ARGS   "f:o:b:" /* Valid commandline options */
#define HRPTRECLEN   13902 /* Length of HRPT nebula record */
#define STORRECLEN   3540 /* Length of recorded data rec */
#define FRAMELEN   13860 /* Bytes in spacecraft mnf */
#define SIZEOFBUF   (16*10124) /* Data buffer length */
#define SIZEOFHDR   sizeof(struct LOGHDR) /* Nebula header length */
#define SIZEOFHDLC   8 /* HDLC header length */
#define GACID   80 /* GAC ID in HDLC header */
#define LACID   96 /* LAC ID in HDLC header */
#define BRBID   64 /* Back-orbit ID in HDLC header */
#define IDBYTE   3 /* ID byte location HDLC header */
#define SQBYTE   5 /* Sequence # location HDLC hdr */

Functions

int issoh (int addr)
int extract_loggermsgs (FILE *outfp, BYTE *buf, int buflen)
int main (int argc, char *argv[])

Define Documentation

#define BRBID   64 /* Back-orbit ID in HDLC header */

Definition at line 100 of file neb2raw.c.

#define CMD_ARGS   "f:o:b:" /* Valid commandline options */

Definition at line 91 of file neb2raw.c.

#define FRAMELEN   13860 /* Bytes in spacecraft mnf */

Definition at line 94 of file neb2raw.c.

#define GACID   80 /* GAC ID in HDLC header */

Definition at line 98 of file neb2raw.c.

#define HRPTRECLEN   13902 /* Length of HRPT nebula record */

Definition at line 92 of file neb2raw.c.

#define IDBYTE   3 /* ID byte location HDLC header */

Definition at line 101 of file neb2raw.c.

#define LACID   96 /* LAC ID in HDLC header */

Definition at line 99 of file neb2raw.c.

#define SIZEOFBUF   (16*10124) /* Data buffer length */

Definition at line 95 of file neb2raw.c.

#define SIZEOFHDLC   8 /* HDLC header length */

Definition at line 97 of file neb2raw.c.

#define SIZEOFHDR   sizeof(struct LOGHDR) /* Nebula header length */

Definition at line 96 of file neb2raw.c.

#define SQBYTE   5 /* Sequence # location HDLC hdr */

Definition at line 102 of file neb2raw.c.

#define STORRECLEN   3540 /* Length of recorded data rec */

Definition at line 93 of file neb2raw.c.


Function Documentation

int extract_loggermsgs ( FILE *  outfp,
BYTE buf,
int  buflen 
)

Definition at line 367 of file neb2raw.c.

int issoh ( int  addr)

Definition at line 416 of file neb2raw.c.

int main ( int  argc,
char *  argv[] 
)

Definition at line 114 of file neb2raw.c.