visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASAreaProjection.java
public float[][] projToLatLon(float[][] from, float[][] to) {
    float[] fromXA = from[INDEX_X];
    float[] fromYA = from[INDEX_Y];
    float[][] latlon = anav.toLatLon(new float[][]{fromXA, fromYA});
    to[INDEX_LAT] = latlon[0];
    to[INDEX_LON] = latlon[1];
    return to;
  }
public float[][] projToLatLon(float[][] from, float[][] to) {
    float[] fromXA = from[INDEX_X];
    float[] fromYA = from[INDEX_Y];
    float[][] latlon = anav.toLatLon(new float[][]{fromXA, fromYA});
    to[INDEX_LAT] = latlon[0];
    to[INDEX_LON] = latlon[1];
    return to;
  }
public float [ ] [ ] projToLatLon ( float [ ] [ ] from , float [ ] [ ] to ) { float [ ] fromXA = from [ INDEX_X ] ; float [ ] fromYA = from [ INDEX_Y ] ; float [ ] [ ] latlon = anav . toLatLon ( new float [ ] [ ] { fromXA , fromYA } ) ; to [ INDEX_LAT ] = latlon [ 0 ] ; to [ INDEX_LON ] = latlon [ 1 ] ; return to ; }
Convert lat/lon coordinates to projection coordinates.

@param from array of lat/lon coordinates: from[2][n], where
(from[0][i], from[1][i]) is the (lat,lon) coordinate
of the ith point
@param to   resulting array of projection coordinates: to[2][n]
where (to[0][i], to[1][i]) is the (x,y) coordinate
of the ith point
@return the "to" array
Convert lat / lon coordinates to projection coordinates .