|
OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
#include <sstream>#include <algorithm>#include <functional>#include <vector>#include <map>#include <set>#include <libgen.h>#include "HDFCFUtil.h"#include "HDFSP.h"#include "dodsutil.h"
Go to the source code of this file.
Macros | |
| #define | assert_range_throw0(e, ge, l) assert_throw0((ge) <= (e) && (e) < (l)) |
| #define | assert_throw0(e) do { if (!(e)) throw1("assertion failure"); } while (false) |
| #define | throw1(a1) _throw5(__FILE__, __LINE__, 1, a1, 0, 0, 0, 0) |
| The followings are convenient functions to throw exceptions with different. More... | |
| #define | throw2(a1, a2) _throw5(__FILE__, __LINE__, 2, a1, a2, 0, 0, 0) |
| #define | throw3(a1, a2, a3) _throw5(__FILE__, __LINE__, 3, a1, a2, a3, 0, 0) |
| #define | throw4(a1, a2, a3, a4) _throw5(__FILE__, __LINE__, 4, a1, a2, a3, a4, 0) |
| #define | throw5(a1, a2, a3, a4, a5) _throw5(__FILE__, __LINE__, 5, a1, a2, a3, a4, a5) |
Variables | |
| const char * | _BACK_SLASH = "/" |
| HDFSP.h and HDFSP.cc include the core part of retrieving HDF-SP Grid and Swath metadata info and translate them into DAP DDS and DAS. More... | |
| #define assert_range_throw0 | ( | e, | |
| ge, | |||
| l | |||
| ) | assert_throw0((ge) <= (e) && (e) < (l)) |
| #define throw1 | ( | a1 | ) | _throw5(__FILE__, __LINE__, 1, a1, 0, 0, 0, 0) |
The followings are convenient functions to throw exceptions with different.
We assume that the maximum number of arguments is 5.
Definition at line 80 of file HDFSP.cc.
Referenced by HDF5CF::GMFile::Add_Dim_Name(), HDF5CF::GMFile::Add_Dim_Name_Dimscale_General_Product(), HDF5CF::GMFile::Add_Dim_Name_Mea_Ozonel3z(), HDF5CF::GMFile::Add_Dim_Name_Mea_SeaWiFS(), HDF5CF::GMFile::Add_Dim_Name_SMAP(), HDF5CF::EOS5File::Adjust_Per_Var_Dim_NewName_Before_Flattening(), HDF5CF::EOS5File::Check_Augmented_Var_Candidate(), HDF5CF::EOS5File::Create_Added_Var_NewName_FullPath(), HDF5CF::EOS5File::Create_Unique_FakeDimName(), HDF5CF::EOS5File::EOS5Handle_nonlatlon_dimcvars(), HDF5CF::EOS5File::EOS5SwathGrid_Set_LatLon_Flags(), HDF5CF::GMFile::Handle_CVar_Dimscale_General_Product(), HDF5CF::GMFile::Handle_CVar_Mea_Ozone(), HDF5CF::EOS5File::Handle_EOS5CVar_Unit_Attr(), HDF5CF::EOS5File::Handle_Single_Augment_CVar(), HDFSP::File::InsertOrigFieldPath_ReadVgVdata(), HDFSP::SD::obtain_noneos2_sds_path(), HDFSP::File::obtain_path(), HDF5CF::EOS5File::Obtain_Var_NewName(), HDFSP::File::obtain_vdata_path(), HDFSP::File::Prepare(), HDFSP::File::PrepareOBPGL2(), HDFSP::File::PrepareTRMML3C_V6(), HDFSP::SD::Read_Hybrid(), HDFSP::File::ReadHybridNonLoneVdatas(), HDFSP::File::ReadLoneVdatas(), HDFSP::File::ReadVgattrs(), HDF5CF::File::Retrieve_H5_Attr_Info(), HDF5CF::File::Retrieve_H5_Info(), and HDF5CF::EOS5File::Set_Var_Dims().
| #define throw2 | ( | a1, | |
| a2 | |||
| ) | _throw5(__FILE__, __LINE__, 2, a1, a2, 0, 0, 0) |
Definition at line 81 of file HDFSP.cc.
Referenced by HDF5CF::GMFile::Add_Dim_Name_GPM(), HDF5CF::File::Add_One_FakeDim_Name(), HDF5CF::EOS5File::Add_Supplement_Attrs(), HDF5CF::GMFile::Add_UseDimscale_Var_Dim_Names_General_Product(), HDF5CF::GMFile::Add_UseDimscale_Var_Dim_Names_Mea_SeaWiFS_Ozone(), HDF5CF::File::Adjust_Duplicate_FakeDim_Name(), HDF5CF::EOS5File::Adjust_EOS5GridDimNames(), HDF5CF::EOS5File::Adjust_EOS5VarDim_Info(), HDF5CF::EOS5File::Adjust_SharedLatLon_Grid_Var_Dim_Name(), HDF5CF::File::Change_Attr_One_Str_to_Others(), HDF5CF::EOS5File::Create_Missing_CV(), HDF5CF::GMFile::Handle_GPM_l1_Coor_Attr(), HDF5CF::EOS5File::Handle_Special_NonLatLon_Swath_CVar(), HDF5CF::GMFile::Handle_UseDimscale_Var_Dim_Names_General_Product(), HDF5CF::GMFile::Handle_UseDimscale_Var_Dim_Names_Mea_SeaWiFS_Ozone(), HDF5CF::EOS5File::Obtain_Var_EOS5Type_GroupName(), HDFSP::File::PrepareOTHERHDF(), HDFSP::SD::Read(), HDFSP::File::Read(), HDFSP::SD::Read_Hybrid(), HDFSP::File::Read_Hybrid(), HDFSP::File::ReadHybridNonLoneVdatas(), HDFSP::File::ReadLoneVdatas(), HDF5CF::File::Retrieve_H5_Attr_Info(), HDF5CF::File::Retrieve_H5_Attr_Value(), HDF5CF::File::Retrieve_H5_Obj(), HDF5CF::File::Retrieve_H5_VarDim(), HDF5CF::File::Retrieve_H5_VarType(), and HDF5CF::EOS5File::Set_Var_Dims().
| #define throw3 | ( | a1, | |
| a2, | |||
| a3 | |||
| ) | _throw5(__FILE__, __LINE__, 3, a1, a2, a3, 0, 0) |
Definition at line 82 of file HDFSP.cc.
Referenced by HDF5CF::GMFile::Add_Dim_Name_Mea_Ozonel3z(), HDF5CF::GMFile::Adjust_Dim_Name(), HDF5CF::EOS5File::Adjust_Dim_Name(), HDF5CF::EOS5File::Create_Unique_DimName(), HDF5CF::GMFile::Handle_CVar_Dimscale_General_Product(), HDF5CF::GMFile::Handle_CVar_Mea_Ozone(), HDF5CF::GMFile::Handle_CVar_Mea_SeaWiFS(), HDFSP::File::handle_sds_coords(), HDFSP::File::handle_sds_names(), HDFSP::File::InsertOrigFieldPath_ReadVgVdata(), HDFSP::SD::obtain_noneos2_sds_path(), HDFSP::File::obtain_path(), HDFSP::File::obtain_vdata_path(), HDFSP::File::Prepare(), HDFSP::File::PrepareCERAVGSYN(), HDFSP::File::PrepareOBPGL2(), HDFSP::File::PrepareOBPGL3(), HDFSP::SD::Read(), HDFSP::VDATA::Read(), HDFSP::SD::Read_Hybrid(), HDFSP::VDATA::ReadAttributes(), HDFSP::File::ReadHybridNonLoneVdatas(), HDFSP::File::ReadLoneVdatas(), and HDFSP::File::ReadVgattrs().
| #define throw4 | ( | a1, | |
| a2, | |||
| a3, | |||
| a4 | |||
| ) | _throw5(__FILE__, __LINE__, 4, a1, a2, a3, a4, 0) |
Definition at line 83 of file HDFSP.cc.
Referenced by HDF5CF::GMFile::Add_Dim_Name_GPM(), HDF5CF::File::Add_One_FakeDim_Name(), HDF5CF::GMFile::Add_UseDimscale_Var_Dim_Names_General_Product(), HDF5CF::GMFile::Add_UseDimscale_Var_Dim_Names_Mea_SeaWiFS_Ozone(), HDF5CF::File::Change_Attr_One_Str_to_Others(), HDF5CF::GMFile::Handle_DimNameClashing(), HDF5CF::EOS5File::Handle_DimNameClashing(), HDF5CF::GMFile::Handle_GPM_l1_Coor_Attr(), HDF5CF::File::Insert_One_NameSizeMap_Element(), HDF5CF::File::Insert_One_NameSizeMap_Element2(), and HDF5CF::File::Retrieve_H5_Attr_Value().
| #define throw5 | ( | a1, | |
| a2, | |||
| a3, | |||
| a4, | |||
| a5 | |||
| ) | _throw5(__FILE__, __LINE__, 5, a1, a2, a3, a4, a5) |
Definition at line 84 of file HDFSP.cc.
Referenced by HDF5CF::GMFile::Add_Dim_Name_GPM(), HDF5CF::EOS5File::Add_EOS5File_Info(), HDF5CF::EOS5File::Adjust_Per_Var_Dim_NewName_Before_Flattening(), HDF5CF::File::Change_Attr_One_Str_to_Others(), HDF5CF::GMFile::Handle_CVar_SMAP(), HDFSP::File::handle_sds_fakedim_names(), HDFSP::File::handle_sds_final_dim_names(), HDFSP::File::InsertOrigFieldPath_ReadVgVdata(), HDFSP::File::PrepareTRMML3A_V6(), HDFSP::File::PrepareTRMML3B_V6(), HDFSP::File::PrepareTRMML3C_V6(), HDFSP::SD::Read(), HDFSP::VDATA::Read(), HDFSP::SD::Read_Hybrid(), HDFSP::VDField::ReadAttributes(), HDFSP::VDATA::ReadAttributes(), HDFSP::File::ReadHybridNonLoneVdatas(), HDFSP::File::ReadLoneVdatas(), and HDF5CF::EOS5File::Set_NonParse_Var_Dims().
| const char* _BACK_SLASH = "/" |
HDFSP.h and HDFSP.cc include the core part of retrieving HDF-SP Grid and Swath metadata info and translate them into DAP DDS and DAS.
It currently provides the CF-compliant support for the following NASA HDF4 products. Other HDF4 products can still be mapped to DAP but they are not CF-compliant. TRMM version 6 Level2 1B21,2A12,2B31,2A25 TRMM version 6 Level3 3B42,3B43,3A46,CSH CERES CER_AVG_Aqua-FM3-MODIS,CER_AVG_Terra-FM1-MODIS CERES CER_ES4_Aqua-FM3_Edition1-CV CERES CER_ISCCP-D2like-Day_Aqua-FM3-MODIS CERES CER_ISCCP-D2like-GEO_ CERES CER_SRBAVG3_Aqua- CERES CER_SYN_Aqua- CERES CER_ZAVG_ OBPG SeaWIFS,OCTS,CZCS,MODISA,MODIST Level2 OBPG SeaWIFS,OCTS,CZCS,MODISA,MODIST Level3 m KY 2010-8-12
Copyright (C) 2010-2012 The HDF Group
All rights reserved.
Definition at line 41 of file HDFSP.cc.
Referenced by HDFSP::File::InsertOrigFieldPath_ReadVgVdata(), HDFSP::SD::obtain_noneos2_sds_path(), HDFSP::File::obtain_path(), HDFSP::File::obtain_vdata_path(), HDFSP::SD::Read_Hybrid(), and HDFSP::File::ReadHybridNonLoneVdatas().