26 #ifndef _grid_geo_constraint_h
27 #define _grid_geo_constraint_h 1
33 #ifndef _geo_constraint_h
42 const string & var_units,
43 const string & var_name);
58 bool build_lat_lon_maps();
59 bool build_lat_lon_maps(Array *lat, Array *lon);
61 bool lat_lon_dimensions_ok();
85 #endif // _grid_geo_constraint_h
virtual ~GridGeoConstraint()
bool unit_or_name_match(set< string > units, set< string > names, const string &var_units, const string &var_name)
Look in the containers which hold the units attributes and variable name prefixes which are considere...
virtual Grid * get_constrained_grid() const
GridGeoConstraint(Grid *grid)
Initialize GeoConstraint with a Grid.
Geographical constraint applied to a grid.
Encapsulate the logic needed to handle geographical constraints when they are applied to DAP Grid (an...
friend class GridGeoConstraintTest
virtual void apply_constraint_to_data()
Once the bounding box is set use this method to apply the constraint.