OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
GEO_read_param_file.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <ctype.h>
#include <stddef.h>
#include "PGS_TD.h"
#include "GEO_main.h"
#include "GEO_main_func.h"
Include dependency graph for GEO_read_param_file.c:

Go to the source code of this file.

Macros

#define LUT_REVISION_LUN   600021
 
#define SCALAR_PARM(sub, d, name, type)
 
#define VECTOR_PARM(sub, d, name, type)
 
#define ARRAY_PARM(sub, d, name, type)
 

Enumerations

enum  datatype_enum { integral, floating, revise, string }
 

Functions

PGSt_SMF_status GEO_read_param_file (GEO_param_struct *param)
 

Macro Definition Documentation

◆ ARRAY_PARM

#define ARRAY_PARM (   sub,
  d,
  name,
  type 
)
Value:
GEO_read_param(fp, #name, type, sizeof(param->sub d name[0][0]), \
(int)(sizeof(param->sub d name)/sizeof(param->sub d name[0][0])), \
(char *)&param->sub d name[0][0])

◆ LUT_REVISION_LUN

#define LUT_REVISION_LUN   600021

◆ SCALAR_PARM

#define SCALAR_PARM (   sub,
  d,
  name,
  type 
)
Value:
GEO_read_param(fp, #name, type, sizeof(param->sub d name), 1, \
(char *)&param->sub d name)

◆ VECTOR_PARM

#define VECTOR_PARM (   sub,
  d,
  name,
  type 
)
Value:
GEO_read_param(fp, #name, type, sizeof(param->sub d name[0]), \
(int)(sizeof(param->sub d name)/sizeof(param->sub d name[0])), \
(char *)&param->sub d name[0])

Enumeration Type Documentation

◆ datatype_enum

Enumerator
integral 
floating 
revise 
string 

Definition at line 64 of file GEO_read_param_file.c.

Function Documentation

◆ GEO_read_param_file()

PGSt_SMF_status GEO_read_param_file ( GEO_param_struct param)

Definition at line 249 of file GEO_read_param_file.c.