AtmoData::MM5MercIndToLonlat< T > Class Template Reference

#include <CoordTransform.hxx>

List of all members.

Public Member Functions

 MM5MercIndToLonlat (int jmx, int imx, double jx, double ix, double phic, double lambdac, double phi1, double ds, int ratio) throw ()
 Default constructor.
void operator() (const T j, const T i, T &lon, T &lat)
 Convertion operator.

Protected Attributes

const int jmx_
 Coarse domain grid dimension in East-West direction.
const int imx_
 Coarse domain grid dimension in North-South direction.
const double jx_
 East-West location in the coarse domain of the South-West corner.
const double ix_
 North-South location in the coarse domain of the South-West corner.
const double phic_
 Coarse domain center latitude (degree).
const double lambdac_
 Coarse domain center longitude (degree).
const double phi1_
 True latitude #1 (degree).
const double ds_
 Grid distance (meters) of the current domain.
const int ratio_
 Domain grid size ratio with respect to coarse domain.
const double Earth_radius_
 Earth radius.
const double pi_
 pi.


Detailed Description

template<class T>
class AtmoData::MM5MercIndToLonlat< T >

Coordinate transformation from indices of the MM5 grid in Mercator coordinates to longitude/latitude.


Member Function Documentation

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

Convertion operator.

Parameters:
j index of the MM5 grid along the East-West direction.
i index of the MM5 grid along the North-South direction.
lon longitude (output).
lat latitude (output).
Warning:
Indices order (in MM5) is confusing: j has to be provided first.


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