|
ocssw
V2022
|
#include <stdio.h>#include <unistd.h>#include "netcdf.h"#include "map.h"#include "mapproto_o.h"#include "hdf5.h"#include "mapproto.h"#include <math.h>Go to the source code of this file.
Macros | |
| #define | NX 4096 /* Map grid x-dimension */ |
| #define | NY 2048 /* Map grid y-dimension */ |
| #define | MAXSTRNGLEN 255 /* Max generic string length */ |
| #define | CMD_ARGS "b:w:s" /* Valid commandline options */ |
| #define | VERSION "3.4" |
Typedefs | |
| typedef unsigned char | byte |
Functions | |
| void | usage (char *progname) |
| int | main (int argc, char *argv[]) |
Macro Definition Documentation
◆ CMD_ARGS
| #define CMD_ARGS "b:w:s" /* Valid commandline options */ |
Definition at line 52 of file smitoppm.c.
◆ MAXSTRNGLEN
| #define MAXSTRNGLEN 255 /* Max generic string length */ |
Definition at line 50 of file smitoppm.c.
◆ NX
| #define NX 4096 /* Map grid x-dimension */ |
Definition at line 48 of file smitoppm.c.
◆ NY
| #define NY 2048 /* Map grid y-dimension */ |
Definition at line 49 of file smitoppm.c.
◆ VERSION
| #define VERSION "3.4" |
Definition at line 54 of file smitoppm.c.
Typedef Documentation
◆ byte
| typedef unsigned char byte |
Definition at line 39 of file smitoppm.c.
Function Documentation
◆ main()
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
An implementation of a Lon/Lat to UTM zone code written by Chuck Gantz chuck.gantz@globalstar.com ...in 1998...found on http://www.gpsy.com/gpsinfo/geotoutm/, a site published by Karen Nakamura, last updated 22 June 2000.
Minor modifications to the code were made to eliminate deprecation warnings
Setup l2str to read l2_name
check if the georegion has been supplied and check if it exists and can be opened.
Definition at line 70 of file smitoppm.c.
◆ usage()
| void usage | ( | char * | progname | ) |
Definition at line 59 of file smitoppm.c.


