28 #ifndef I_HDF4RequestHandler_H
29 #define I_HDF4RequestHandler_H 1
33 #include "BESRequestHandler.h"
38 static std::string _cachedir;
51 static bool _pass_fileid;
52 static bool _disable_structmeta;
53 static bool _enable_special_eos;
54 static bool _disable_scaleoffset_comp;
55 static bool _disable_ecsmetadata_min;
56 static bool _disable_ecsmetadata_all;
59 static bool _enable_eosgeo_cachefile;
60 static bool _enable_data_cachefile;
61 static bool _enable_metadata_cachefile;
64 static bool _enable_hybrid_vdata;
65 static bool _enable_ceres_vdata;
66 static bool _enable_vdata_attr;
67 static bool _enable_vdata_desc_attr;
68 static bool _disable_vdata_nameclashing_check;
69 static bool _enable_vgroup_attr;
72 static bool _enable_check_modis_geo_file;
73 static bool _enable_swath_grid_attr;
74 static bool _enable_ceres_merra_short_name;
75 static bool _enable_check_scale_offset_type;
77 static bool _cache_latlon_path_exist;
78 static std::string _cache_latlon_path;
79 static bool _cache_latlon_prefix_exist;
80 static std::string _cache_latlon_prefix;
81 static bool _cache_latlon_size_exist;
82 static long _cache_latlon_size;
84 static bool _cache_metadata_path_exist;
85 static std::string _cache_metadata_path;
99 static bool get_usecf() {
return _usecf; }
102 static bool get_pass_fileid() {
return _pass_fileid; }
103 static bool get_disable_structmeta() {
return _disable_structmeta; }
104 static bool get_enable_special_eos() {
return _enable_special_eos; }
105 static bool get_disable_scaleoffset_comp() {
return _disable_scaleoffset_comp; }
106 static bool get_disable_ecsmetadata_min() {
return _disable_ecsmetadata_min; }
107 static bool get_disable_ecsmetadata_all() {
return _disable_ecsmetadata_all; }
110 static bool get_enable_eosgeo_cachefile() {
return _enable_eosgeo_cachefile;}
111 static bool get_enable_data_cachefile() {
return _enable_data_cachefile;}
112 static bool get_enable_metadata_cachefile() {
return _enable_metadata_cachefile;}
115 static bool get_enable_hybrid_vdata() {
return _enable_hybrid_vdata; }
116 static bool get_enable_ceres_vdata() {
return _enable_ceres_vdata; }
117 static bool get_enable_vdata_attr() {
return _enable_vdata_attr; }
118 static bool get_enable_vdata_desc_attr() {
return _enable_vdata_desc_attr; }
119 static bool get_disable_vdata_nameclashing_check() {
return _disable_vdata_nameclashing_check;}
120 static bool get_enable_vgroup_attr() {
return _enable_vgroup_attr;}
123 static bool get_enable_check_modis_geo_file() {
return _enable_check_modis_geo_file; }
124 static bool get_enable_swath_grid_attr() {
return _enable_swath_grid_attr;}
125 static bool get_enable_ceres_merra_short_name() {
return _enable_ceres_merra_short_name;}
126 static bool get_enable_check_scale_offset_type() {
return _enable_check_scale_offset_type;}
128 static bool get_cache_latlon_path_exist() {
return _cache_latlon_path_exist; }
129 static std::string get_cache_latlon_path() {
return _cache_latlon_path; }
131 static bool get_cache_latlon_prefix_exist() {
return _cache_latlon_prefix_exist; }
132 static std::string get_cache_latlon_prefix() {
return _cache_latlon_prefix;}
134 static bool get_cache_latlon_size_exist() {
return _cache_latlon_size_exist; }
135 static long get_cache_latlon_size() {
return _cache_latlon_size; }
137 static bool get_cache_metadata_path_exist() {
return _cache_metadata_path_exist; }
138 static std::string get_cache_metadata_path() {
return _cache_metadata_path;}
144 void close_fileid(
const int sdfd,
const int fileid,
const int gridfd,
const int swathfd);
145 void close_hdf4_fileid(
const int sdfd,
const int fileid);