Documentation of 'edu.wisc.ssec.mcidas.RADRnav' Java class
RADRnav
edu.wisc.ssec.mcidas

Class RADRnav

  • All Implemented Interfaces:
    java.io.Serializable


    public final class RADRnav
    extends AREAnav
    Navigation class for Radar (RADR) type nav. This code was modified from the original FORTRAN code (nvxradr.dlm) on the McIDAS system. It only supports latitude/longitude to line/element transformations (LL) and vice/versa. Transform to 'XYZ' not implemented.
    See Also:
    McIDAS Programmer's Manual, Serialized Form
    • Constructor Detail

      • RADRnav

        public RADRnav(int[] iparms)
                throws java.lang.IllegalArgumentException
        Set up for the real math work. Must pass in the int array of the RADR nav 'codicil'.
        Parameters:
        iparms - the nav block from the image file
        Throws:
        java.lang.IllegalArgumentException - if the nav block is not a RADR type.
    • Method Detail

      • toLatLon

        public double[][] toLatLon(double[][] linele)
        converts from satellite coordinates to latitude/longitude
        Specified by:
        toLatLon in class AREAnav
        Parameters:
        linele - array of line/element pairs. Where linele[indexLine][] is a 'line' and linele[indexEle][] is an element. These are in 'file' coordinates (not "image" coordinates.)
        Returns:
        latlon[][] array of lat/long pairs. Output array is latlon[indexLat][] of latitudes and latlon[indexLon][] of longitudes.
      • toLinEle

        public double[][] toLinEle(double[][] latlon)
        toLinEle converts lat/long to satellite line/element
        Specified by:
        toLinEle in class AREAnav
        Parameters:
        latlon - array of lat/long pairs. Where latlon[indexLat][] are latitudes and latlon[indexLon][] are longitudes.
        Returns:
        linele[][] array of line/element pairs. Where linele[indexLine][] is a line and linele[indexEle][] is an element. These are in 'file' coordinates (not "image" coordinates);
      • toLatLon

        public float[][] toLatLon(float[][] linele)
        converts from satellite coordinates to latitude/longitude
        Overrides:
        toLatLon in class AREAnav
        Parameters:
        linele - array of line/element pairs. Where linele[indexLine][] is a 'line' and linele[indexEle][] is an element. These are in 'file' coordinates (not "image" coordinates.)
        Returns:
        latlon[][] array of lat/long pairs. Output array is latlon[indexLat][] of latitudes and latlon[indexLon][] of longitudes.
      • toLinEle

        public float[][] toLinEle(float[][] latlon)
        toLinEle converts lat/long to satellite line/element
        Overrides:
        toLinEle in class AREAnav
        Parameters:
        latlon - array of lat/long pairs. Where latlon[indexLat][] are latitudes and latlon[indexLon][] are longitudes.
        Returns:
        linele[][] array of line/element pairs. Where linele[indexLine][] is a line and linele[indexEle][] is an element. These are in 'file' coordinates (not "image" coordinates);
      • equals

        public boolean equals(java.lang.Object o)
        Description copied from class: AREAnav
        Determines whether or not the Object in question is the same as this AREAnav. Right now, this returns false until we can figure out when two navigations are equal. Subclasses could override if desired.
        Overrides:
        equals in class AREAnav
        Parameters:
        o - the AREAnav in question

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.