OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
l2qc_viirs.cpp File Reference
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <libgen.h>
#include <string.h>
#include <string>
#include <regex>
#include <math.h>
#include "netcdf.h"
#include <stdbool.h>
#include "l2qc_viirs.h"
Include dependency graph for l2qc_viirs.cpp:

Go to the source code of this file.

Macros

#define VERSION   "0.33"
 
#define MAX_ATT_NUM   500
 
#define MAX_ATT_LEN   256
 
#define MAX_ERR_LEN   100
 

Functions

bool match (char *first, char *second)
 
int ValidBoundary (const char *strMinMax, float *datamin, float *datamax)
 
int main (int argc, char *argv[])
 

Variables

clo_optionList_toptionList = NULL
 

Macro Definition Documentation

◆ MAX_ATT_LEN

#define MAX_ATT_LEN   256

Definition at line 34 of file l2qc_viirs.cpp.

◆ MAX_ATT_NUM

#define MAX_ATT_NUM   500

Definition at line 33 of file l2qc_viirs.cpp.

◆ MAX_ERR_LEN

#define MAX_ERR_LEN   100

Definition at line 35 of file l2qc_viirs.cpp.

◆ VERSION

#define VERSION   "0.33"

Definition at line 31 of file l2qc_viirs.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 111 of file l2qc_viirs.cpp.

◆ match()

bool match ( char *  first,
char *  second 
)

Definition at line 45 of file l2qc_viirs.cpp.

◆ ValidBoundary()

int ValidBoundary ( const char *  strMinMax,
float *  datamin,
float *  datamax 
)

Definition at line 85 of file l2qc_viirs.cpp.

Variable Documentation

◆ optionList

clo_optionList_t* optionList = NULL

Definition at line 39 of file l2qc_viirs.cpp.