Class STCoordinateSystemConverter


  • public class STCoordinateSystemConverter
    extends Object
    Used for conversion between the various coordinate systems used in solar physics datasets based on the SDO mission with its 4096 X 4096 pixel images and a pixel based coordinate system used in displaying images in computer science. implemented by the Data Mining Lab at Georgia State University Some code was taken from SunPy a python library and can be found at http://sunpy.org/
    Author:
    Dustin Kempton, Data Mining Lab, Georgia State University
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.locationtech.jts.geom.Coordinate convertHGSToPixXY​(org.locationtech.jts.geom.Coordinate pointIn)
      convertToPixXY :converts a Point2D in HGS coordinates to Pixel XY coordinates
      static org.locationtech.jts.geom.Coordinate convertHPCToPixXY​(org.locationtech.jts.geom.Coordinate pointIn)
      convertToPixXY :converts a Point2D in HPC coordinates to Pixel XY coordinates
      static org.locationtech.jts.geom.Coordinate convertHPCToPixXY​(org.locationtech.jts.geom.Coordinate pointIn, double X0, double Y0)
      convertToPixXY :converts a Point2D in HPC coordinates to Pixel XY coordinates
      static org.locationtech.jts.geom.Coordinate convertPixXYToHGS​(org.locationtech.jts.geom.Coordinate pointIn)
      convertToHGS :converts a Point2D in Pixel XY coordinates to HGS coordinates
      static org.locationtech.jts.geom.Coordinate convertPixXYToHPC​(org.locationtech.jts.geom.Coordinate pointIn)
      convertToHGS :converts a Point2D in Pixel XY coordinates to HPC coordinates
    • Constructor Detail

      • STCoordinateSystemConverter

        public STCoordinateSystemConverter()
    • Method Detail

      • convertHPCToPixXY

        public static org.locationtech.jts.geom.Coordinate convertHPCToPixXY​(org.locationtech.jts.geom.Coordinate pointIn)
        convertToPixXY :converts a Point2D in HPC coordinates to Pixel XY coordinates
        Parameters:
        pointIn - :Point2D to convert
        Returns:
        :a new Point2D in Pixel XY coordinates
      • convertHPCToPixXY

        public static org.locationtech.jts.geom.Coordinate convertHPCToPixXY​(org.locationtech.jts.geom.Coordinate pointIn,
                                                                             double X0,
                                                                             double Y0)
        convertToPixXY :converts a Point2D in HPC coordinates to Pixel XY coordinates
        Parameters:
        pointIn - :Point2D to convert
        Returns:
        :a new Point2D in Pixel XY coordinates
      • convertHGSToPixXY

        public static org.locationtech.jts.geom.Coordinate convertHGSToPixXY​(org.locationtech.jts.geom.Coordinate pointIn)
        convertToPixXY :converts a Point2D in HGS coordinates to Pixel XY coordinates
        Parameters:
        pointIn - :Point2D to convert
        Returns:
        :a new Point2D in Pixel XY coordinates
      • convertPixXYToHGS

        public static org.locationtech.jts.geom.Coordinate convertPixXYToHGS​(org.locationtech.jts.geom.Coordinate pointIn)
        convertToHGS :converts a Point2D in Pixel XY coordinates to HGS coordinates
        Parameters:
        pointIn - :the Point2D to convert
        Returns:
        :a new Point2D in HGS
      • convertPixXYToHPC

        public static org.locationtech.jts.geom.Coordinate convertPixXYToHPC​(org.locationtech.jts.geom.Coordinate pointIn)
        convertToHGS :converts a Point2D in Pixel XY coordinates to HPC coordinates
        Parameters:
        pointIn - :the Point2D to convert
        Returns:
        :a new Point2D in HPC