OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
l1asubset_modis.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#include <string.h>
#include <unistd.h>
#include "hdf.h"
#include "mfhdf.h"
#include <timeutils.h>
Include dependency graph for l1asubset_modis.c:

Go to the source code of this file.

Macros

#define basename(s)   (strrchr((s), '/') == NULL ? (s) : strrchr((s), '/') + 1)
 
#define VERSION   "1.45"
 

Functions

void usage (char *progname)
 
int main (int argc, char *argv[])
 
int compare_int16 (const void *p1, const void *p2)
 
int compare_float32 (const void *p1, const void *p2)
 

Macro Definition Documentation

◆ basename

#define basename (   s)    (strrchr((s), '/') == NULL ? (s) : strrchr((s), '/') + 1)

Definition at line 27 of file l1asubset_modis.c.

◆ VERSION

#define VERSION   "1.45"

Definition at line 30 of file l1asubset_modis.c.

Function Documentation

◆ compare_float32()

int compare_float32 ( const void *  p1,
const void *  p2 
)

Definition at line 1195 of file l1asubset_modis.c.

◆ compare_int16()

int compare_int16 ( const void *  p1,
const void *  p2 
)

Definition at line 1183 of file l1asubset_modis.c.

◆ 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 42 of file l1asubset_modis.c.

◆ usage()

void usage ( char *  progname)

Definition at line 32 of file l1asubset_modis.c.