47 cerr <<
"Parse error:" << err_msg << endl;
49 cout <<
"ZA Size=" << za_list.size() << endl;
50 for(i=0; i < za_list.size(); i++) {
51 HE5Za z = za_list.at(i);
52 cout <<
"ZA Name=" << z.
name << endl;
53 cout <<
"ZA Dim Size=" << z.
dim_list.size() << endl;
55 for(j=0; j < z.
dim_list.size(); j++) {
57 cout <<
"ZA Dim Name=" << d.
name;
58 cout <<
" Size=" << d.
size << endl;
65 cout <<
"ZA Var Name=" << v.
name << endl;
66 cout <<
"ZA Var Dim Size=" << v.
dim_list.size() << endl;
68 for(k=0; k < v.
dim_list.size(); k++) {
70 cout <<
"ZA Var Dim Name=" << d.
name << endl;
75 cout <<
"Swath Size=" << swath_list.size() << endl;
76 for(i=0; i < swath_list.size(); i++) {
78 cout <<
"Swath Name=" << s.
name << endl;
79 cout <<
"Swath Dim Size=" << s.
dim_list.size() << endl;
81 for(j=0; j < s.
dim_list.size(); j++) {
83 cout <<
"Swath Dim Name=" << d.
name;
84 cout <<
" Size=" << d.
size << endl;
91 cout <<
"Swath Geo Var Name=" << v.
name << endl;
92 cout <<
"Swath Geo Var Dim Size=" << v.
dim_list.size() << endl;
94 for(k=0; k < v.
dim_list.size(); k++) {
96 cout <<
"Swath Geo Var Dim Name=" << d.
name;
97 cout <<
" Size=" << d.
size << endl;
105 cout <<
"Swath Data Var Name=" << v.
name << endl;
106 cout <<
"Swath Data Var Number Dim =" << v.
dim_list.size() << endl;
108 for(k=0; k < v.
dim_list.size(); k++) {
110 cout <<
"Swath Data Var Dim Name=" << d.
name << endl;
111 cout <<
"Swath Data Var Dim Size= "<< d.
size<<endl;
116 cout <<
"Grid Size=" << grid_list.size() << endl;
117 for(i=0; i < grid_list.size(); i++) {
119 cout <<
"Grid Name=" << g.
name << endl;
121 cout <<
"Grid point_lower=" << g.
point_lower << endl;
122 cout <<
"Grid point_upper=" << g.
point_upper << endl;
123 cout <<
"Grid point_left=" << g.
point_left << endl;
124 cout <<
"Grid point_right=" << g.
point_right << endl;
126 cout <<
"Grid Dim Size=" << g.
dim_list.size() << endl;
128 for(j=0; j < g.
dim_list.size(); j++) {
130 cout <<
"Grid Dim Name=" << d.
name;
131 cout <<
" Size=" << d.
size << endl;
138 cout <<
"Grid Var Name=" << v.
name << endl;
139 cout <<
"Grid Var Dim Size=" << v.
dim_list.size() << endl;
141 for(k=0; k < v.
dim_list.size(); k++) {
143 cout <<
"Grid Var Dim Name=" << d.
name << endl;
146 cout <<
"Grid pixelregistration=" <<
149 cout <<
"Grid origin=" <<
152 cout <<
"Grid projection=" <<
vector< HE5Dim > dim_list
vector< HE5Dim > dim_list
float point_right
The rightmost coordinate value of a Grid.
vector< HE5Dim > dim_list
vector< HE5Var > data_var_list
void print()
Print the information about the members of the Vector list.
EOS5GridPRType pixelregistration
float point_left
The leftmost coordinate value of a Grid.
EOS5GridPCType projection
float point_lower
The bottom coordinate value of a Grid.
float point_upper
The top coordinate value of a Grid.
EOS5GridOriginType gridorigin
A class for parsing NASA HDF-EOS5 StructMetadata.
vector< HE5Var > data_var_list
vector< HE5Var > data_var_list
vector< HE5Var > geo_var_list
vector< HE5Dim > dim_list