AtmoData::LonlatToWRFStereInd< T > Class Template Reference

#include <CoordTransform.hxx>

List of all members.

Public Member Functions

 LonlatToWRFStereInd (int imx, int jmx, double lambdac, double phic, double phi1, double dsi0, double dsj0) throw ()
 Default constructor.
void operator() (const T lon, const T lat, T &j, T &i)
 Convertion operator.

Protected Attributes

const int imx_
 Domain grid dimension in East-West direction.
const int jmx_
 Domain grid dimension in North-South direction.
const double lambdac_
 Domain center longitude (degree).
const double phic_
 Domain center latitude (degree).
const double phi1_
 True latitude #1 (degree).
const double dsi0_
 Grid distance (meters) of the domain in East-West direction.
const double dsj0_
 Grid distance (meters) of the domain in North-South direction.
const double Earth_radius_
 Earth radius.
const double pi_
 pi.


Detailed Description

template<class T>
class AtmoData::LonlatToWRFStereInd< T >

Coordinate transformation from longitude/latitude to indices of the WRF grid in polar stereographic coordinates.


Member Function Documentation

template<class T>
void AtmoData::LonlatToWRFStereInd< T >::operator() ( const T  lon,
const T  lat,
T &  i,
T &  j 
)

Convertion operator.

Parameters:
lon longitude.
lat latitude.
i index of the WRF grid along the East-West direction.
j index of the WRF grid along the North-South direction.
Warning:
Indices order (in WRF) is NOT confusing: j and i are NOT swapped with respect to the natural order. This is a BIG difference with MM5.


The documentation for this class was generated from the following files:
Generated on Tue Nov 17 11:51:46 2009 for AtmoData by  doxygen 1.5.1