AtmoData::MM5LccIndToLonlat< T > Class Template Reference

#include <CoordTransform.hxx>

List of all members.

Public Member Functions

 MM5LccIndToLonlat (int jmx, int imx, double jx, double ix, double phic, double lambdac, double phi1, double phi2, 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 phi2_
 True latitude #2 (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::MM5LccIndToLonlat< T >

Coordinate transformation from indices of the MM5 grid in Lambert conic conformal to longitude/latitude.


Member Function Documentation

template<class T>
void AtmoData::MM5LccIndToLonlat< 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