#include <GridGeoConstraint.h>
|
enum | LatitudeSense { unknown_sense
, normal
, inverted
} |
|
enum | Notation { unknown_notation
, pos
, neg_pos
} |
|
|
virtual LatitudeSense | categorize_latitude () const |
|
Notation | categorize_notation (const double left, const double right) const |
|
void | find_latitude_indeces (double top, double bottom, LatitudeSense sense, int &latitude_index_top, int &latitude_index_bottom) const |
|
void | find_longitude_indeces (double left, double right, int &longitude_index_left, int &longitude_index_right) const |
|
virtual void | flip_latitude_within_array (libdap::Array &a, int lat_length, int lon_length) |
|
virtual bool | is_bounding_box_valid (const double left, const double top, const double right, const double bottom) const |
|
virtual void | reorder_data_longitude_axis (libdap::Array &a, libdap::Array::Dim_iter lon_dim) |
|
virtual void | reorder_longitude_map (int longitude_index_left) |
|
void | transform_constraint_to_pos_notation (double &left, double &right) const |
|
virtual void | transform_longitude_to_neg_pos_notation () |
|
virtual void | transform_longitude_to_pos_notation () |
|
virtual void | transpose_vector (double *src, const int length) |
|
Geographical constraint applied to a grid.
- Author
- James Gallagher
Definition at line 48 of file GridGeoConstraint.h.
◆ LatitudeSense
Most of the time, latitude starts at the top of an array with positive values and ends up at the bottom with negative ones. But sometimes... the world is upside down.
Definition at line 112 of file GeoConstraint.h.
◆ Notation
The longitude extents of the constraint bounding box can be expressed two ways: using a 0/359 notation and using a -180/179 notation. I call the 0/359 notation 'pos' and the -180/179 notation 'neg_pos'.
Definition at line 103 of file GeoConstraint.h.
◆ ~GridGeoConstraint()
virtual functions::GridGeoConstraint::~GridGeoConstraint |
( |
| ) |
|
|
inlinevirtual |
◆ apply_constraint_to_data()
virtual void functions::GridGeoConstraint::apply_constraint_to_data |
( |
| ) |
|
|
virtual |
◆ get_array_data()
char * functions::GeoConstraint::get_array_data |
( |
| ) |
const |
|
inlineinherited |
◆ get_array_data_size()
int functions::GeoConstraint::get_array_data_size |
( |
| ) |
const |
|
inlineinherited |
◆ get_coards_lat_units()
set< string > functions::GeoConstraint::get_coards_lat_units |
( |
| ) |
const |
|
inlineinherited |
◆ get_coards_lon_units()
set< string > functions::GeoConstraint::get_coards_lon_units |
( |
| ) |
const |
|
inlineinherited |
◆ get_constrained_grid()
virtual libdap::Grid * functions::GridGeoConstraint::get_constrained_grid |
( |
| ) |
const |
|
inlinevirtual |
◆ get_lat()
double * functions::GeoConstraint::get_lat |
( |
| ) |
const |
|
inlineinherited |
◆ get_lat_dim()
libdap::Array::Dim_iter functions::GeoConstraint::get_lat_dim |
( |
| ) |
const |
|
inlineinherited |
◆ get_lat_names()
set< string > functions::GeoConstraint::get_lat_names |
( |
| ) |
const |
|
inlineinherited |
◆ get_lat_size()
int functions::GeoConstraint::get_lat_size |
( |
| ) |
const |
|
inlineinherited |
◆ get_latitude_index_bottom()
int functions::GeoConstraint::get_latitude_index_bottom |
( |
| ) |
const |
|
inlineinherited |
◆ get_latitude_index_top()
int functions::GeoConstraint::get_latitude_index_top |
( |
| ) |
const |
|
inlineinherited |
◆ get_latitude_sense()
LatitudeSense functions::GeoConstraint::get_latitude_sense |
( |
| ) |
const |
|
inlineinherited |
◆ get_lon()
double * functions::GeoConstraint::get_lon |
( |
| ) |
const |
|
inlineinherited |
◆ get_lon_dim()
libdap::Array::Dim_iter functions::GeoConstraint::get_lon_dim |
( |
| ) |
const |
|
inlineinherited |
◆ get_lon_names()
set< string > functions::GeoConstraint::get_lon_names |
( |
| ) |
const |
|
inlineinherited |
◆ get_lon_size()
int functions::GeoConstraint::get_lon_size |
( |
| ) |
const |
|
inlineinherited |
◆ get_longitude_index_left()
int functions::GeoConstraint::get_longitude_index_left |
( |
| ) |
const |
|
inlineinherited |
◆ get_longitude_index_right()
int functions::GeoConstraint::get_longitude_index_right |
( |
| ) |
const |
|
inlineinherited |
◆ get_longitude_notation()
Notation functions::GeoConstraint::get_longitude_notation |
( |
| ) |
const |
|
inlineinherited |
◆ is_bounding_box_set()
bool functions::GeoConstraint::is_bounding_box_set |
( |
| ) |
const |
|
inlineinherited |
◆ is_longitude_rightmost()
bool functions::GeoConstraint::is_longitude_rightmost |
( |
| ) |
const |
|
inlineinherited |
◆ set_lat()
void functions::GeoConstraint::set_lat |
( |
double * | lat | ) |
|
|
inlineinherited |
◆ set_lat_dim()
void functions::GeoConstraint::set_lat_dim |
( |
libdap::Array::Dim_iter | lat | ) |
|
|
inlineinherited |
◆ set_lat_size()
void functions::GeoConstraint::set_lat_size |
( |
int | len | ) |
|
|
inlineinherited |
◆ set_latitude_index_bottom()
void functions::GeoConstraint::set_latitude_index_bottom |
( |
int | bottom | ) |
|
|
inlineinherited |
◆ set_latitude_index_top()
void functions::GeoConstraint::set_latitude_index_top |
( |
int | top | ) |
|
|
inlineinherited |
◆ set_latitude_sense()
void functions::GeoConstraint::set_latitude_sense |
( |
LatitudeSense | l | ) |
|
|
inlineinherited |
◆ set_lon()
void functions::GeoConstraint::set_lon |
( |
double * | lon | ) |
|
|
inlineinherited |
◆ set_lon_dim()
void functions::GeoConstraint::set_lon_dim |
( |
libdap::Array::Dim_iter | lon | ) |
|
|
inlineinherited |
◆ set_lon_size()
void functions::GeoConstraint::set_lon_size |
( |
int | len | ) |
|
|
inlineinherited |
◆ set_longitude_index_left()
void functions::GeoConstraint::set_longitude_index_left |
( |
int | left | ) |
|
|
inlineinherited |
◆ set_longitude_index_right()
void functions::GeoConstraint::set_longitude_index_right |
( |
int | right | ) |
|
|
inlineinherited |
◆ set_longitude_notation()
void functions::GeoConstraint::set_longitude_notation |
( |
Notation | n | ) |
|
|
inlineinherited |
◆ set_longitude_rightmost()
void functions::GeoConstraint::set_longitude_rightmost |
( |
bool | state | ) |
|
|
inlineinherited |
◆ GridGeoConstraintTest
friend class GridGeoConstraintTest |
|
friend |
The documentation for this class was generated from the following file: