26 #ifndef _array_geo_constraint_h 27 #define _array_geo_constraint_h 1 33 #ifndef _geo_constraint_h 45 const string & var_units,
46 const string & var_name);
68 Extent(
double t,
double l,
double b,
double r)
69 : d_left(l), d_top(t), d_right(r), d_bottom(b)
80 Projection(
const string &n,
const string &d)
81 : d_name(n), d_datum(d)
84 if (d_name !=
"plat-carre")
86 "geoarray(): Only the Plat-Carre projection is supported by this version of\n\ 89 if (d_datum !=
"wgs84")
91 "geoarray(): Only the wgs84 datum is supported by this version of geoarray().");
98 Projection d_projection;
100 bool build_lat_lon_maps();
101 bool lat_lon_dimensions_ok();
116 "Bummer. The five-argument version of geoarray() is not currently implemented.");
120 double left,
double top,
double right,
double bottom);
123 double left,
double top,
double right,
double bottom,
124 const string &projection,
const string &datum);
140 #endif // _array_geo_constraint_h
ArrayGeoConstraint(Array *)
bool unit_or_name_match(set< string > units, set< string > names, const string &var_units, const string &var_name)
virtual void apply_constraint_to_data()
friend class ArrayGeoConstraintTest
A class for error processing.
virtual ~ArrayGeoConstraint()
virtual Array * get_constrained_array() const
A multidimensional array of identical data types.