bes  Updated for version 3.20.6
heos5cfdap.cc File Reference

Map and generate DDS and DAS for the CF option for HDF-EOS5 products. More...

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <iostream>
#include <sstream>
#include <BESLog.h>
#include <BESDebug.h>
#include "parser.h"
#include "heos5cfdap.h"
#include "h5cfdaputil.h"
#include "HDF5CFByte.h"
#include "HDF5CFUInt16.h"
#include "HDF5CFInt16.h"
#include "HDF5CFUInt32.h"
#include "HDF5CFInt32.h"
#include "HDF5CFFloat32.h"
#include "HDF5CFFloat64.h"
#include "HDF5CFStr.h"
#include "HDF5CFArray.h"
#include "HDFEOS5CFMissLLArray.h"
#include "HDFEOS5CFMissNonLLCVArray.h"
#include "HDFEOS5CFSpecialCVArray.h"
#include "HDF5RequestHandler.h"
#include "he5dds.tab.hh"
#include "HE5Checker.h"
#include "he5das.tab.hh"
Include dependency graph for heos5cfdap.cc:

Go to the source code of this file.

Macros

#define HANDLE_CASE(tid, type)
 

Functions

void gen_dap_oneeos5cf_das (DAS &das, const vector< HDF5CF::Var * > &vars, const HDF5CF::EOS5CVar *cvar, const unsigned short g_suffix)
 
void gen_dap_oneeos5cf_dds (DDS &dds, const HDF5CF::EOS5CVar *cvar)
 
void gen_dap_oneeos5cvar_dds (DDS &dds, const HDF5CF::EOS5CVar *cvar, const hid_t file_id, const string &filename)
 
void gen_eos5_cf_ignored_obj_info (DAS &das, HDF5CF::EOS5File *f)
 
void gen_eos5_cfdas (DAS &das, hid_t file_id, HDF5CF::EOS5File *f)
 
void gen_eos5_cfdds (DDS &dds, HDF5CF::EOS5File *f)
 
int get_metadata_num (const string &meta_str)
 
yy_buffer_state * he5das_scan_string (const char *str)
 Buffer state for NASA EOS metadata scanner. More...
 
int he5daslex_destroy ()
 
int he5dasparse (libdap::parser_arg *arg)
 
yy_buffer_state * he5dds_scan_string (const char *str)
 
int he5ddslex_destroy ()
 
int he5ddsparse (HE5Parser *he5parser)
 
void map_eos5_cfdas (DAS &das, hid_t file_id, const string &filename)
 
void map_eos5_cfdds (DDS &dds, hid_t file_id, const string &filename)
 
void read_ecs_metadata (hid_t s_file_id, string &total_strmeta_value, string &total_coremeta_value, string &total_archmeta_value, string &total_xmlmeta_value, string &total_submeta_value, string &total_prometa_value, string &total_othermeta_value, bool s_st_only)
 

Detailed Description

Map and generate DDS and DAS for the CF option for HDF-EOS5 products.

This file also includes a function to retrieve ECS metadata in C++ string forms.

Author
Muqun Yang myang.nosp@m.6@hd.nosp@m.fgrou.nosp@m.p.or.nosp@m.g

Definition in file heos5cfdap.cc.

Macro Definition Documentation

◆ HANDLE_CASE

#define HANDLE_CASE (   tid,
  type 
)
Value:
case tid: \
bt = new (type)(cvar->getNewName(),cvar->getFullPath()); \
break;

Function Documentation

◆ he5das_scan_string()

yy_buffer_state* he5das_scan_string ( const char *  str)

Buffer state for NASA EOS metadata scanner.