OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
main_l3bindump.cpp File Reference
#include "l3bindump.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <clo.h>
#include <strings.h>
#include <L3File.h>
#include "compareObj.h"
Include dependency graph for main_l3bindump.cpp:

Go to the source code of this file.

Macros

#define EARTH_RADIUS   6371.229
 
#define BIN_NOT_FOUND   110
 

Functions

void printBin (FILE *outfp, int32_t row, int32_t col, L3Bin *l3Bin, L3Shape *shape)
 
void printWholeFile (FILE *outfp, L3File &l3File)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ BIN_NOT_FOUND

#define BIN_NOT_FOUND   110

Definition at line 40 of file main_l3bindump.cpp.

◆ EARTH_RADIUS

#define EARTH_RADIUS   6371.229

Definition at line 39 of file main_l3bindump.cpp.

Function Documentation

◆ main()

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

An implementation of a Lon/Lat to UTM zone code written by Chuck Gantz chuck.nosp@m..gan.nosp@m.tz@gl.nosp@m.obal.nosp@m.star..nosp@m.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

Definition at line 80 of file main_l3bindump.cpp.

◆ printBin()

void printBin ( FILE *  outfp,
int32_t  row,
int32_t  col,
L3Bin l3Bin,
L3Shape shape 
)

Definition at line 44 of file main_l3bindump.cpp.

◆ printWholeFile()

void printWholeFile ( FILE *  outfp,
L3File l3File 
)

Definition at line 59 of file main_l3bindump.cpp.