WXP C++ Library Version 6.74.9
|
This struct defines basic domain parameters. More...
#include "../include/DomainVal.h"
Public Member Functions | |
DomainVal () | |
int | init () |
int | setParam (int i, float val) |
float | getAspect () |
int | print () |
Static Public Member Functions | |
static bool | compare (DomainVal &dom1, DomainVal &dom2) |
static bool | compareProj (DomainVal dom1, DomainVal dom2) |
Public Attributes | |
int | proj |
float | plat |
float | plon |
float | param [5] |
float | clat |
float | clon |
float | dx |
float | dy |
int | nx |
int | ny |
bool | ellipse |
Static Public Attributes | |
static const int | PSTEREO = 1 |
static const int | LATLON = 2 |
static const int | MERC = 3 |
static const int | LAMB = 4 |
static const int | ORTHO = 5 |
static const int | GNOM = 6 |
static const int | MOLL = 7 |
static const int | LAMBAZ = 8 |
static const int | ALBERS = 9 |
static const int | SAT = 10 |
static const int | RADIAL = 11 |
static const int | PIXEL = 20 |
static const int | XY = 21 |
static const int | XZ = 22 |
static const int | XP = 23 |
static const int | XLOGP = 24 |
static const int | POLAR = 25 |
static const int | CAT = 26 |
static const int | SKEWT = 40 |
static const int | STUVE = 41 |
static const int | EMA = 42 |
static const int | TEPH = 43 |
static const int | RTEPH = 44 |
static const int | ZOOM = 50 |
static const int | SIZE = 51 |
This struct defines basic domain parameters.
DomainVal::DomainVal | ( | ) |
Constructor. Initializes data values.
References init().
Compares two domain specifications for full domain match.
dom1 | First domain |
dom2 | Second domain |
References clat, clon, dx, dy, ellipse, nx, ny, param, plat, plon, and proj.
Referenced by WXP::Domain::compare(), WXP::GridMath::isDomainEqual(), and WXP::GridMath::isDomainEqual().
Compares two domain specifications for projection match.
dom1 | First domain |
dom2 | Second domain |
References ellipse, param, plat, plon, and proj.
Referenced by WXP::Domain::compareProj(), WXP::Lev2Plot::draw(), WXP::GridMath::isProjEqual(), and WXP::GridMath::isProjEqual().
float DomainVal::getAspect | ( | ) |
int DomainVal::init | ( | ) |
Initializes the domain parameters
References clat, clon, dx, dy, ellipse, WXP::Const::MISS, nx, ny, param, plat, plon, and proj.
Referenced by DomainVal(), WXP::Domain::init(), WXP::GribFile::readGDB(), WXP::GribFile::readGDS(), and WXP::GribFile::setDomain().
int DomainVal::print | ( | ) |
Prints domain parameters to standard output.
References ALBERS, CAT, clat, clon, dx, dy, ellipse, EMA, GNOM, LAMB, LAMBAZ, LATLON, MERC, WXP::Const::MISS, MOLL, nx, ny, ORTHO, param, PIXEL, plat, plon, POLAR, proj, PSTEREO, RADIAL, SAT, SKEWT, STUVE, XLOGP, XY, XZ, and ZOOM.
Referenced by WXP::AreaFile::calcDomain(), and WXP::LritFile::readHeader().
|
static |
Albers equal area
Referenced by print().
|
static |
Category plot
Referenced by print().
float WXP::DomainVal::clat |
Central latitude of domain
Referenced by WXP::AreaFile::calcDomain(), WXP::ImageMath::clip(), compare(), WXP::DomainTool::decode(), WXP::NidsPlot::drawData(), WXP::Domain::get(), WXP::Domain::getCLat(), WXP::MdrPlot::getDomain(), WXP::NidsPlot::getDomain(), WXP::RcmPlot::getDomain(), WXP::XSectionPlot::getDomain(), init(), WXP::Domain::pan(), WXP::Domain::print(), print(), WXP::TiffFile::read(), WXP::GribFile::readGDB(), WXP::GribFile::readGDS(), WXP::KavradFile::readHeader(), WXP::NowradFile::readHeader(), WXP::GiniFile::readHeader(), WXP::SatCdfFile::readHeader(), WXP::SatUniFile::readHeader(), WXP::ImgWxpFile::readHeader(), WXP::LritFile::readHeader(), WXP::Domain::set(), WXP::Domain::set(), WXP::Domain::set(), WXP::ImagePiece::set(), WXP::Domain::set(), WXP::GribFile::setDomain(), WXP::Domain::setParam(), WXP::Domain::toString(), WXP::Domain::tran(), WXP::Domain::tran(), WXP::Domain::tranCenter(), and WXP::Domain::zoom().
float WXP::DomainVal::clon |
Central longitude of domain
Referenced by WXP::AreaFile::calcDomain(), WXP::ImageMath::clip(), compare(), WXP::DomainTool::decode(), WXP::NidsPlot::drawData(), WXP::Domain::get(), WXP::Domain::getCLon(), WXP::MdrPlot::getDomain(), WXP::NidsPlot::getDomain(), WXP::RcmPlot::getDomain(), WXP::XSectionPlot::getDomain(), init(), WXP::Domain::pan(), WXP::Domain::print(), print(), WXP::TiffFile::read(), WXP::GribFile::readGDB(), WXP::GribFile::readGDS(), WXP::KavradFile::readHeader(), WXP::NowradFile::readHeader(), WXP::GiniFile::readHeader(), WXP::SatCdfFile::readHeader(), WXP::SatUniFile::readHeader(), WXP::ImgWxpFile::readHeader(), WXP::LritFile::readHeader(), WXP::Domain::set(), WXP::Domain::set(), WXP::Domain::set(), WXP::ImagePiece::set(), WXP::Domain::set(), WXP::GribFile::setDomain(), WXP::Domain::setParam(), WXP::Domain::toString(), WXP::Domain::tran(), WXP::Domain::tran(), WXP::Domain::tran(), WXP::Domain::tran(), WXP::Domain::tranCenter(), and WXP::Domain::zoom().
float WXP::DomainVal::dx |
Grid spacing in X
Referenced by WXP::AreaFile::calcDomain(), compare(), WXP::ObjectAnal::compute(), WXP::DomainTool::decode(), WXP::NidsPlot::drawData(), WXP::Domain::get(), WXP::MdrPlot::getDomain(), WXP::NidsPlot::getDomain(), WXP::RcmPlot::getDomain(), WXP::XSectionPlot::getDomain(), WXP::Domain::getDx(), init(), WXP::Domain::print(), print(), WXP::TiffFile::read(), WXP::GribFile::readGDB(), WXP::GribFile::readGDS(), WXP::KavradFile::readHeader(), WXP::NowradFile::readHeader(), WXP::GiniFile::readHeader(), WXP::SatCdfFile::readHeader(), WXP::SatUniFile::readHeader(), WXP::ImgWxpFile::readHeader(), WXP::LritFile::readHeader(), WXP::ImageMath::remap(), WXP::ImageMath::scale(), WXP::Domain::scaleGrid(), WXP::Domain::scaleSize(), WXP::Domain::set(), WXP::Domain::set(), WXP::Domain::set(), WXP::Domain::set(), WXP::GribFile::setDomain(), WXP::Domain::setLimits(), WXP::Domain::toString(), WXP::Domain::tran(), WXP::Domain::tran(), WXP::Domain::tran(), WXP::Domain::tran(), WXP::Domain::withinExt(), and WXP::Domain::zoom().
float WXP::DomainVal::dy |
Grid spacing in Y
Referenced by WXP::AreaFile::calcDomain(), compare(), WXP::ObjectAnal::compute(), WXP::DomainTool::decode(), WXP::NidsPlot::drawData(), WXP::Domain::get(), WXP::MdrPlot::getDomain(), WXP::NidsPlot::getDomain(), WXP::RcmPlot::getDomain(), WXP::XSectionPlot::getDomain(), WXP::Domain::getDy(), init(), WXP::Domain::print(), print(), WXP::TiffFile::read(), WXP::GribFile::readBDB(), WXP::GribFile::readGDB(), WXP::GribFile::readGDS(), WXP::KavradFile::readHeader(), WXP::NowradFile::readHeader(), WXP::GiniFile::readHeader(), WXP::SatCdfFile::readHeader(), WXP::SatUniFile::readHeader(), WXP::ImgWxpFile::readHeader(), WXP::LritFile::readHeader(), WXP::ImageMath::remap(), WXP::ImageMath::scale(), WXP::Domain::scaleGrid(), WXP::Domain::scaleSize(), WXP::Domain::set(), WXP::Domain::set(), WXP::Domain::set(), WXP::Domain::set(), WXP::GribFile::setDomain(), WXP::Domain::setLimits(), WXP::Domain::toString(), WXP::Domain::tran(), WXP::Domain::tran(), WXP::Domain::tran(), WXP::Domain::tran(), WXP::Domain::withinExt(), and WXP::Domain::zoom().
bool WXP::DomainVal::ellipse |
Use ellipsoidal earth
Referenced by WXP::AreaFile::calcDomain(), compare(), compareProj(), WXP::Domain::get(), init(), WXP::Domain::print(), print(), WXP::TiffFile::read(), WXP::SatCdfFile::readHeader(), WXP::LritFile::readHeader(), WXP::Domain::set(), WXP::Domain::set(), WXP::Domain::setParam(), WXP::Domain::toString(), WXP::Domain::tran(), and WXP::Domain::tran().
|
static |
Emagram thermodynamic diagram
Referenced by print().
|
static |
Gnomic
Referenced by print().
|
static |
Lambert conformal
Referenced by print().
|
static |
Lambert azithumal
Referenced by print().
|
static |
Latitude longitude
Referenced by print().
|
static |
Mercator
Referenced by print().
|
static |
Molleweide
Referenced by print().
int WXP::DomainVal::nx |
Number of grid points in X direction
Referenced by WXP::ImagePiece::add(), WXP::AreaFile::calcDomain(), WXP::ImageMath::clip(), compare(), WXP::ObjectAnal::compute(), WXP::DomainTool::decode(), WXP::NidsPlot::drawData(), WXP::Domain::get(), WXP::Domain::getAspect(), getAspect(), WXP::MdrPlot::getDomain(), WXP::NidsPlot::getDomain(), WXP::RcmPlot::getDomain(), WXP::XSectionPlot::getDomain(), WXP::Domain::getNx(), init(), WXP::Domain::print(), print(), WXP::TiffFile::read(), WXP::GribFile::readBDB(), WXP::GribFile::readDS(), WXP::GribFile::readGDB(), WXP::GribFile::readGDS(), WXP::KavradFile::readHeader(), WXP::NowradFile::readHeader(), WXP::GiniFile::readHeader(), WXP::SatCdfFile::readHeader(), WXP::SatUniFile::readHeader(), WXP::ImgWxpFile::readHeader(), WXP::LritFile::readHeader(), WXP::ImageMath::remap(), WXP::ImageMath::scale(), WXP::Domain::scaleGrid(), WXP::Domain::scaleSize(), WXP::Domain::set(), WXP::Image::set(), WXP::Domain::set(), WXP::Domain::set(), WXP::ImagePiece::set(), WXP::Domain::set(), WXP::Grid::setDomain(), WXP::GribFile::setDomain(), WXP::Domain::setLimits(), WXP::Domain::toString(), WXP::Domain::tran(), and WXP::Domain::tran().
int WXP::DomainVal::ny |
Number of grid points in Y direction
Referenced by WXP::ImagePiece::add(), WXP::AreaFile::calcDomain(), WXP::ImageMath::clip(), compare(), WXP::ObjectAnal::compute(), WXP::DomainTool::decode(), WXP::NidsPlot::drawData(), WXP::Domain::get(), WXP::Domain::getAspect(), getAspect(), WXP::MdrPlot::getDomain(), WXP::NidsPlot::getDomain(), WXP::RcmPlot::getDomain(), WXP::XSectionPlot::getDomain(), WXP::Domain::getNy(), init(), WXP::Domain::print(), print(), WXP::TiffFile::read(), WXP::GribFile::readBDB(), WXP::GribFile::readDS(), WXP::GribFile::readGDB(), WXP::GribFile::readGDS(), WXP::KavradFile::readHeader(), WXP::NowradFile::readHeader(), WXP::GiniFile::readHeader(), WXP::SatCdfFile::readHeader(), WXP::SatUniFile::readHeader(), WXP::ImgWxpFile::readHeader(), WXP::LritFile::readHeader(), WXP::ImageMath::remap(), WXP::ImageMath::scale(), WXP::Domain::scaleGrid(), WXP::Domain::scaleSize(), WXP::Domain::set(), WXP::Image::set(), WXP::Domain::set(), WXP::Domain::set(), WXP::ImagePiece::set(), WXP::Domain::set(), WXP::Grid::setDomain(), WXP::GribFile::setDomain(), WXP::Domain::setLimits(), and WXP::Domain::toString().
|
static |
Orthographic
Referenced by print().
float WXP::DomainVal::param[5] |
Extra projection parameters
Referenced by WXP::AreaFile::calcDomain(), compare(), compareProj(), WXP::Domain::get(), WXP::Domain::getParam(), init(), WXP::Domain::print(), print(), WXP::GribFile::readGDB(), WXP::GribFile::readGDS(), WXP::NowradFile::readHeader(), WXP::GiniFile::readHeader(), WXP::SatCdfFile::readHeader(), WXP::SatUniFile::readHeader(), WXP::ImgWxpFile::readHeader(), WXP::LritFile::readHeader(), WXP::Domain::set(), WXP::Domain::set(), WXP::GribFile::setDomain(), WXP::Domain::setParam(), WXP::Domain::toString(), WXP::Domain::tran(), and WXP::Domain::tran().
|
static |
Pixel space
Referenced by print().
float WXP::DomainVal::plat |
Projection latitude
Referenced by WXP::Domain::adjustDir(), WXP::AreaFile::calcDomain(), compare(), compareProj(), WXP::DomainTool::decode(), WXP::Domain::direct(), WXP::Domain::get(), WXP::MdrPlot::getDomain(), WXP::NidsPlot::getDomain(), WXP::RcmPlot::getDomain(), WXP::Domain::getMapFactor(), WXP::Domain::getPLat(), init(), WXP::Domain::print(), print(), WXP::TiffFile::read(), WXP::GribFile::readGDB(), WXP::GribFile::readGDS(), WXP::NowradFile::readHeader(), WXP::GiniFile::readHeader(), WXP::SatCdfFile::readHeader(), WXP::SatUniFile::readHeader(), WXP::ImgWxpFile::readHeader(), WXP::LritFile::readHeader(), WXP::Domain::set(), WXP::Domain::set(), WXP::Domain::setParam(), WXP::Domain::toString(), WXP::Domain::tran(), WXP::Domain::tran(), and WXP::Domain::unadjustDir().
float WXP::DomainVal::plon |
Projection longitude
Referenced by WXP::Domain::adjustDir(), WXP::AreaFile::calcDomain(), compare(), compareProj(), WXP::DomainTool::decode(), WXP::Domain::get(), WXP::MdrPlot::getDomain(), WXP::NidsPlot::getDomain(), WXP::RcmPlot::getDomain(), WXP::Domain::getPLon(), init(), WXP::Domain::print(), print(), WXP::TiffFile::read(), WXP::GribFile::readGDB(), WXP::GribFile::readGDS(), WXP::NowradFile::readHeader(), WXP::GiniFile::readHeader(), WXP::SatCdfFile::readHeader(), WXP::SatUniFile::readHeader(), WXP::ImgWxpFile::readHeader(), WXP::LritFile::readHeader(), WXP::Domain::set(), WXP::Domain::set(), WXP::GribFile::setDomain(), WXP::Domain::setParam(), WXP::Domain::toString(), WXP::Domain::tran(), WXP::Domain::tran(), and WXP::Domain::unadjustDir().
|
static |
Polar coordinate
Referenced by print().
int WXP::DomainVal::proj |
Grid projection
Referenced by WXP::Domain::adjust(), WXP::Domain::adjustDir(), WXP::AreaFile::calcDomain(), compare(), compareProj(), WXP::DomainTool::decode(), WXP::Domain::direct(), WXP::NidsPlot::drawData(), WXP::Domain::get(), WXP::MdrPlot::getDomain(), WXP::NidsPlot::getDomain(), WXP::RcmPlot::getDomain(), WXP::XSectionPlot::getDomain(), WXP::Domain::getMapFactor(), WXP::Domain::getProj(), WXP::Domain::getProj(), init(), WXP::Domain::isCoord(), WXP::Domain::isMap(), WXP::Domain::isPolar(), WXP::Domain::isProj(), WXP::Domain::isSet(), WXP::Domain::isTherm(), WXP::Domain::offsetLine(), WXP::Domain::offsetLine(), WXP::Domain::print(), print(), WXP::TiffFile::read(), WXP::GribFile::readGDB(), WXP::GribFile::readGDS(), WXP::KavradFile::readHeader(), WXP::NowradFile::readHeader(), WXP::GiniFile::readHeader(), WXP::SatCdfFile::readHeader(), WXP::SatUniFile::readHeader(), WXP::ImgWxpFile::readHeader(), WXP::LritFile::readHeader(), WXP::Domain::set(), WXP::Domain::set(), WXP::Domain::set(), WXP::GribFile::setDomain(), WXP::Domain::setParam(), WXP::Domain::toString(), WXP::Domain::tran(), WXP::Domain::tran(), WXP::Domain::tran(), WXP::Domain::tran(), WXP::Domain::unadjustDir(), WXP::Domain::where(), WXP::Domain::within(), WXP::Domain::withinExt(), WXP::Domain::wrapLine(), and WXP::Domain::wrapLine().
|
static |
Polar stereographic
Referenced by print().
|
static |
Radar radial
Referenced by print().
|
static |
Rotated Tephigram thermodynamic diagram
|
static |
Satellite
Referenced by print().
|
static |
Specifies size of grid/image only
|
static |
SkewT thermodynamic diagram
Referenced by print().
|
static |
Stuve thermodynamic diagram
Referenced by print().
|
static |
Tephigram thermodynamic diagram
|
static |
X-logP Cartesian
Referenced by print().
|
static |
X-Pres Cartesian
|
static |
XY Cartesian
Referenced by print().
|
static |
XZ Cartesian
Referenced by print().
|
static |
Specifies zoom parameters
Referenced by print().