OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
hybrid.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "mfhdf.h"
Include dependency graph for hybrid.c:

Go to the source code of this file.

Classes

struct  SDS
 

Macros

#define MAXNAMELENGTH   200
 
#define RADIUS   2
 
#define SDSNAME1   { "refl_443", "refl_555", "refl_670", "refl_865", "maximum_NDVI", "EVI", "input_file" }
 
#define SDSNAME2   { "minimum_refl_443", "refl_555", "refl_670", "refl_865", "NDVI", "EVI", "input_file" }
 
#define SDSNAME3   { "refl_443", "refl_555", "refl_670", "refl_865", "NDVI", "EVI", "input_file" }
 

Enumerations

enum  { maxNDVI, minBlue, Hybrid, Nfiles }
 
enum  {
  BLUE, GREEN, RED, NIR,
  NDVI, EVI, INPUT, Nbands
}
 

Functions

double R3 (double x)
 
void main (int argc, char *argv[])
 

Macro Definition Documentation

◆ MAXNAMELENGTH

#define MAXNAMELENGTH   200

Definition at line 13 of file hybrid.c.

◆ RADIUS

#define RADIUS   2

Definition at line 14 of file hybrid.c.

◆ SDSNAME1

#define SDSNAME1   { "refl_443", "refl_555", "refl_670", "refl_865", "maximum_NDVI", "EVI", "input_file" }

Definition at line 15 of file hybrid.c.

◆ SDSNAME2

#define SDSNAME2   { "minimum_refl_443", "refl_555", "refl_670", "refl_865", "NDVI", "EVI", "input_file" }

Definition at line 16 of file hybrid.c.

◆ SDSNAME3

#define SDSNAME3   { "refl_443", "refl_555", "refl_670", "refl_865", "NDVI", "EVI", "input_file" }

Definition at line 17 of file hybrid.c.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
maxNDVI 
minBlue 
Hybrid 
Nfiles 

Definition at line 19 of file hybrid.c.

◆ anonymous enum

anonymous enum
Enumerator
BLUE 
GREEN 
RED 
NIR 
NDVI 
EVI 
INPUT 
Nbands 

Definition at line 23 of file hybrid.c.

Function Documentation

◆ main()

void 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 36 of file hybrid.c.

◆ R3()

double R3 ( double  x)

Definition at line 242 of file hybrid.c.