bes  Updated for version 3.20.6
hc2dap.cc File Reference

Generate DAP Grids from HDF-EOS2 Grid files. More...

#include "config_hdf.h"
#include <fstream>
#include <sstream>
#include <string>
#include <vector>
#include <algorithm>
#include <iostream>
#include <BESDebug.h>
#include <debug.h>
#include <mfhdf.h>
#include <hdfclass.h>
#include <hcstream.h>
#include "escaping.h"
#include "HDFInt32.h"
#include "HDFInt16.h"
#include "HDFUInt32.h"
#include "HDFUInt16.h"
#include "HDFFloat64.h"
#include "HDFFloat32.h"
#include "HDFByte.h"
#include "HDFStr.h"
#include "HDFArray.h"
#include "HDFGrid.h"
#include "HDFSequence.h"
#include "HDFStructure.h"
#include "hdfutil.h"
#include "dhdferr.h"
#include "hdf-maps.h"
Include dependency graph for hc2dap.cc:

Go to the source code of this file.

Macros

#define SIGNED_BYTE_TO_INT32   1
 

Functions

string DAPTypeName (int32 hdf_type)
 
void LoadArrayFromGR (HDFArray *ar, const hdf_gri &gr)
 
void LoadArrayFromSDS (HDFArray *ar, const hdf_sds &sds)
 
void LoadGridFromSDS (HDFGrid *gr, const hdf_sds &sds)
 
void LoadSequenceFromVdata (HDFSequence *seq, hdf_vdata &vd, int row)
 
void LoadStructureFromField (HDFStructure *stru, hdf_field &f, int row)
 
void LoadStructureFromVgroup (HDFStructure *str, const hdf_vgroup &vg, const string &hdf_file)
 
HDFArrayNewArrayFromGR (const hdf_gri &gr, const string &dataset)
 
HDFArrayNewArrayFromSDS (const hdf_sds &sds, const string &dataset)
 
BaseType * NewDAPVar (const string &varname, const string &dataset, int32 hdf_type)
 
HDFGridNewGridFromSDS (const hdf_sds &sds, const string &dataset)
 
HDFSequenceNewSequenceFromVdata (const hdf_vdata &vd, const string &dataset)
 
HDFStructureNewStructureFromVgroup (const hdf_vgroup &vg, vg_map &vgmap, sds_map &sdmap, vd_map &vdmap, gr_map &grmap, const string &dataset)
 

Detailed Description

Generate DAP Grids from HDF-EOS2 Grid files.

This file contains the functions that generate DAP Grid out of HDF-EOS2 grid files when –enable-cf configuration option is enabled.

Definition in file hc2dap.cc.