OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
get_l2prod_index.c File Reference
#include <stdio.h>
#include <strings.h>
#include "l12_proto.h"
#include "l2prod.h"
#include <productInfo.h>
Include dependency graph for get_l2prod_index.c:

Go to the source code of this file.

Macros

#define ARRAY_CHUNK_SIZE   20
 

Functions

void initProduct (l2prodstr *l2prod)
 
l2prodstr * createNewProduct ()
 
int convertDataType (char *str)
 
int convertParamType (char *str)
 
int compareProd (l2prodstr *prod1, l2prodstr *prod2)
 
void init_l2prod ()
 
void getProductName (char *name, l2prodstr *product)
 
void getPrefix (char *name, l2prodstr *product)
 
void getAlgorithmName (char *name, l2prodstr *product)
 
void getSuffix (char *name, l2prodstr *product)
 
void getParamType (char *name, l2prodstr *product)
 
void getDataType (char *name, l2prodstr *product)
 
void setTitleString (l2prodstr *product)
 
void getFullProductName (char *name, l2prodstr *prod)
 
void dumpProductStructure (l2prodstr **list, char *filename)
 
char * xmlEncapsulateText (char *str)
 
void XML_file_header (FILE *fout)
 
void XML_file_footer (FILE *fout)
 
void XML_product_header (FILE *fout, l2prodstr *product)
 
void XML_product_footer (FILE *fout)
 
void XML_algorithm (FILE *fout, l2prodstr *product)
 
void write_product_XML_file (char *filename)
 
l2prodstr * get_l2prod_index (char *prod_name, int32 sensorID, int32 numBands, int32 numPixels, int32 numScans, int32_t wave[])
 

Macro Definition Documentation

◆ ARRAY_CHUNK_SIZE

#define ARRAY_CHUNK_SIZE   20

Definition at line 16 of file get_l2prod_index.c.

Function Documentation

◆ compareProd()

int compareProd ( l2prodstr *  prod1,
l2prodstr *  prod2 
)

Definition at line 109 of file get_l2prod_index.c.

◆ convertDataType()

int convertDataType ( char *  str)

Definition at line 66 of file get_l2prod_index.c.

◆ convertParamType()

int convertParamType ( char *  str)

Definition at line 87 of file get_l2prod_index.c.

◆ createNewProduct()

l2prodstr* createNewProduct ( )

Definition at line 47 of file get_l2prod_index.c.

◆ dumpProductStructure()

void dumpProductStructure ( l2prodstr **  list,
char *  filename 
)

Definition at line 396 of file get_l2prod_index.c.

◆ get_l2prod_index()

l2prodstr* get_l2prod_index ( char *  prod_name,
int32  sensorID,
int32  numBands,
int32  numPixels,
int32  numScans,
int32_t  wave[] 
)

Definition at line 605 of file get_l2prod_index.c.

◆ getAlgorithmName()

void getAlgorithmName ( char *  name,
l2prodstr *  product 
)

Definition at line 289 of file get_l2prod_index.c.

◆ getDataType()

void getDataType ( char *  name,
l2prodstr *  product 
)

Definition at line 345 of file get_l2prod_index.c.

◆ getFullProductName()

void getFullProductName ( char *  name,
l2prodstr *  prod 
)

Definition at line 384 of file get_l2prod_index.c.

◆ getParamType()

void getParamType ( char *  name,
l2prodstr *  product 
)

Definition at line 321 of file get_l2prod_index.c.

◆ getPrefix()

void getPrefix ( char *  name,
l2prodstr *  product 
)

Definition at line 277 of file get_l2prod_index.c.

◆ getProductName()

void getProductName ( char *  name,
l2prodstr *  product 
)

Definition at line 263 of file get_l2prod_index.c.

◆ getSuffix()

void getSuffix ( char *  name,
l2prodstr *  product 
)

Definition at line 309 of file get_l2prod_index.c.

◆ init_l2prod()

void init_l2prod ( )

Definition at line 222 of file get_l2prod_index.c.

◆ initProduct()

void initProduct ( l2prodstr *  l2prod)

Definition at line 23 of file get_l2prod_index.c.

◆ setTitleString()

void setTitleString ( l2prodstr *  product)

Definition at line 371 of file get_l2prod_index.c.

◆ write_product_XML_file()

void write_product_XML_file ( char *  filename)

Definition at line 505 of file get_l2prod_index.c.

◆ XML_algorithm()

void XML_algorithm ( FILE *  fout,
l2prodstr *  product 
)

Definition at line 481 of file get_l2prod_index.c.

◆ XML_file_footer()

void XML_file_footer ( FILE *  fout)

Definition at line 466 of file get_l2prod_index.c.

◆ XML_file_header()

void XML_file_header ( FILE *  fout)

Definition at line 462 of file get_l2prod_index.c.

◆ XML_product_footer()

void XML_product_footer ( FILE *  fout)

Definition at line 477 of file get_l2prod_index.c.

◆ XML_product_header()

void XML_product_header ( FILE *  fout,
l2prodstr *  product 
)

Definition at line 470 of file get_l2prod_index.c.

◆ xmlEncapsulateText()

char* xmlEncapsulateText ( char *  str)

Definition at line 442 of file get_l2prod_index.c.