ocssw
V2022
|
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <libgen.h>
#include "map.h"
#include "seaproto.h"
#include "meta_l3b.h"
#include "mapproto_o.h"
#include <timeutils.h>
#include "mapproto.h"
Go to the source code of this file.
Macros | |
#define | VERSION "2.0" |
#define | NX 4320 /* Map grid x-dimension */ |
#define | NY 2160 /* Map grid y-dimension */ |
#define | FILENAMELEN 255 /* Max filename length */ |
#define | MAXSTRNGLEN 255 /* Max generic string length */ |
#define | MAXINFILES 50 /* Max number of input files */ |
#define | NODATA8 255 /* Missing data value (byte) */ |
#define | NODATA16 65535 /* Missing data value (short int) */ |
#define | CMD_ARGS "o:l:r:c:n:" /* Valid commandline options */ |
#define | max(A, B) ((A) > (B) ? (A) : (B)) /* Returns greater of A and B */ |
#define | min(A, B) ((A) < (B) ? (A) : (B)) /* Returns lesser of A and B */ |
Typedefs | |
typedef unsigned char | byte |
Functions | |
void | usage (char *progname) |
double | ydmsec2jul (int16 year, int16 day, int32 msec) |
void | jul2ydmsec (double jul, int16 *year, int16 *day, int32 *msec) |
int | main (int argc, char *argv[]) |
Macro Definition Documentation
◆ CMD_ARGS
#define CMD_ARGS "o:l:r:c:n:" /* Valid commandline options */ |
Definition at line 58 of file main_biosmap.c.
◆ FILENAMELEN
#define FILENAMELEN 255 /* Max filename length */ |
Definition at line 53 of file main_biosmap.c.
◆ max
Definition at line 61 of file main_biosmap.c.
◆ MAXINFILES
Definition at line 55 of file main_biosmap.c.
◆ MAXSTRNGLEN
#define MAXSTRNGLEN 255 /* Max generic string length */ |
Definition at line 54 of file main_biosmap.c.
◆ min
Definition at line 62 of file main_biosmap.c.
◆ NODATA16
Definition at line 57 of file main_biosmap.c.
◆ NODATA8
Definition at line 56 of file main_biosmap.c.
◆ NX
#define NX 4320 /* Map grid x-dimension */ |
Definition at line 51 of file main_biosmap.c.
◆ NY
#define NY 2160 /* Map grid y-dimension */ |
Definition at line 52 of file main_biosmap.c.
◆ VERSION
#define VERSION "2.0" |
Definition at line 50 of file main_biosmap.c.
Typedef Documentation
◆ byte
typedef unsigned char byte |
Definition at line 42 of file main_biosmap.c.
Function Documentation
◆ jul2ydmsec()
void jul2ydmsec | ( | double | jul, |
int16 * | year, | ||
int16 * | day, | ||
int32 * | msec | ||
) |
Definition at line 412 of file main_biosmap.c.
◆ main()
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 72 of file main_biosmap.c.
◆ usage()
void usage | ( | char * | progname | ) |
Definition at line 381 of file main_biosmap.c.
◆ ydmsec2jul()
double ydmsec2jul | ( | int16 | year, |
int16 | day, | ||
int32 | msec | ||
) |
Definition at line 401 of file main_biosmap.c.