55 libdap::Array *d_lat, *d_lon;
58 std::set<std::string> d_coards_lat_units;
59 std::set<std::string> d_coards_lon_units;
61 std::set<std::string> d_lat_names;
62 std::set<std::string> d_lon_names;
64 bool m_lat_unit_or_name_match(
const string &var_units,
const string &var_name,
const string &long_name);
65 bool m_lon_unit_or_name_match(
const string &var_units,
const string &var_name,
const string &long_name);
67 friend class FONgTransform;
73 libdap::Grid *grid() {
return d_grid; }
82 virtual libdap::Type type() {
return d_type; }
83 FONgGrid(): d_name(
""), d_type(libdap::dods_null_c) {}
89 virtual string name() {
return d_name; }
90 virtual void set_name(
const string &n) { d_name = n; }
93 virtual void set_type(libdap::Type t) { d_type = t; }
103 virtual void dump(
ostream &)
const {};
top level BES object to house generic methods
string get_projection(libdap::DDS *dds)
Set the projection information For Grids, look for CF information. If it's not present,...
FONgGrid(libdap::Grid *g)
Constructor for FONgGrid that takes a DAP Grid.
virtual double * get_data()
Get the data values for the band(s). Call must delete.
virtual ~FONgGrid()
Destructor that cleans up the grid.
virtual void extract_coordinates(FONgTransform &t)
Get the GDAL/OGC WKT projection string.