WXP C++ Library Version 6.74.6
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
WXP::DomainVal Struct Reference

This struct defines basic domain parameters. More...

#include "../include/DomainVal.h"

Inheritance diagram for WXP::DomainVal:
WXP::Domain

Public Member Functions

 DomainVal ()
 
int init ()
 
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
 

Detailed Description

This struct defines basic domain parameters.

Author
Dan Vietor

Constructor & Destructor Documentation

◆ DomainVal()

DomainVal::DomainVal ( )

Constructor. Initializes data values.

References init().

Member Function Documentation

◆ compare()

bool DomainVal::compare ( DomainVal dom1,
DomainVal dom2 
)
static

Compares two domain specifications for full domain match.

Parameters
dom1First domain
dom2Second domain
Returns
Are they equivalent??

References clat, clon, dx, dy, ellipse, nx, ny, param, plat, plon, and proj.

Referenced by WXP::Domain::compare(), and WXP::GridMath::isDomainEqual().

◆ compareProj()

bool DomainVal::compareProj ( DomainVal  dom1,
DomainVal  dom2 
)
static

Compares two domain specifications for projection match.

Parameters
dom1First domain
dom2Second domain
Returns
Are the projections equivalent??

References ellipse, param, plat, plon, and proj.

Referenced by WXP::Domain::compareProj(), WXP::Lev2Plot::draw(), and WXP::GridMath::isProjEqual().

◆ getAspect()

float DomainVal::getAspect ( )

Gets the aspext ratio of the domain.

Returns
The aspect ratio

References nx, and ny.

◆ init()

int DomainVal::init ( )

◆ print()

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().

Member Data Documentation

◆ ALBERS

const int WXP::DomainVal::ALBERS = 9
static

Albers equal area

Referenced by print().

◆ CAT

const int WXP::DomainVal::CAT = 26
static

Category plot

Referenced by print().

◆ clat

float WXP::DomainVal::clat

◆ clon

float WXP::DomainVal::clon

◆ dx

float WXP::DomainVal::dx

◆ dy

float WXP::DomainVal::dy

◆ ellipse

bool WXP::DomainVal::ellipse

◆ EMA

const int WXP::DomainVal::EMA = 42
static

Emagram thermodynamic diagram

Referenced by print().

◆ GNOM

const int WXP::DomainVal::GNOM = 6
static

Gnomic

Referenced by print().

◆ LAMB

const int WXP::DomainVal::LAMB = 4
static

Lambert conformal

Referenced by print().

◆ LAMBAZ

const int WXP::DomainVal::LAMBAZ = 8
static

Lambert azithumal

Referenced by print().

◆ LATLON

const int WXP::DomainVal::LATLON = 2
static

Latitude longitude

Referenced by print().

◆ MERC

const int WXP::DomainVal::MERC = 3
static

Mercator

Referenced by print().

◆ MOLL

const int WXP::DomainVal::MOLL = 7
static

Molleweide

Referenced by print().

◆ nx

int WXP::DomainVal::nx

◆ ny

int WXP::DomainVal::ny

◆ ORTHO

const int WXP::DomainVal::ORTHO = 5
static

Orthographic

Referenced by print().

◆ param

float WXP::DomainVal::param[5]

◆ PIXEL

const int WXP::DomainVal::PIXEL = 20
static

Pixel space

Referenced by print().

◆ plat

float WXP::DomainVal::plat

◆ plon

float WXP::DomainVal::plon

◆ POLAR

const int WXP::DomainVal::POLAR = 25
static

Polar coordinate

Referenced by print().

◆ proj

int WXP::DomainVal::proj

◆ PSTEREO

const int WXP::DomainVal::PSTEREO = 1
static

Polar stereographic

Referenced by print().

◆ RADIAL

const int WXP::DomainVal::RADIAL = 11
static

Radar radial

Referenced by print().

◆ RTEPH

const int WXP::DomainVal::RTEPH = 44
static

Rotated Tephigram thermodynamic diagram

◆ SAT

const int WXP::DomainVal::SAT = 10
static

Satellite

Referenced by print().

◆ SIZE

const int WXP::DomainVal::SIZE = 51
static

Specifies size of grid/image only

◆ SKEWT

const int WXP::DomainVal::SKEWT = 40
static

SkewT thermodynamic diagram

Referenced by print().

◆ STUVE

const int WXP::DomainVal::STUVE = 41
static

Stuve thermodynamic diagram

Referenced by print().

◆ TEPH

const int WXP::DomainVal::TEPH = 43
static

Tephigram thermodynamic diagram

◆ XLOGP

const int WXP::DomainVal::XLOGP = 24
static

X-logP Cartesian

Referenced by print().

◆ XP

const int WXP::DomainVal::XP = 23
static

X-Pres Cartesian

◆ XY

const int WXP::DomainVal::XY = 21
static

XY Cartesian

Referenced by print().

◆ XZ

const int WXP::DomainVal::XZ = 22
static

XZ Cartesian

Referenced by print().

◆ ZOOM

const int WXP::DomainVal::ZOOM = 50
static

Specifies zoom parameters

Referenced by print().


The documentation for this struct was generated from the following files: