Class AbstractTransformBuilder

    • Field Detail

      • lat0

        protected double lat0
      • lon0

        protected double lon0
      • false_easting

        protected double false_easting
      • false_northing

        protected double false_northing
      • earth_radius

        protected double earth_radius
      • earth

        protected Earth earth
    • Constructor Detail

      • AbstractTransformBuilder

        public AbstractTransformBuilder()
    • Method Detail

      • getFalseEastingScaleFactor

        public static double getFalseEastingScaleFactor​(String geoCoordinateUnits)
      • setErrorBuffer

        public void setErrorBuffer​(Formatter errBuffer)
      • getTransformName

        public abstract String getTransformName()
      • readAttributeDouble

        protected double readAttributeDouble​(AttributeContainer atts,
                                             String attname,
                                             double defValue)
        Read an attribute as a double.
        Parameters:
        atts - the attribute container
        attname - name of variable
        defValue - default value if attribute is not found
        Returns:
        attribute value as a double, else NaN if not found
      • addParameter

        protected boolean addParameter​(CoordinateTransform rs,
                                       String paramName,
                                       NetcdfFile ds,
                                       String varNameEscaped)
        Add a Parameter to a CoordinateTransform. Make sure that the variable exists.
        Parameters:
        rs - the CoordinateTransform
        paramName - the parameter name
        ds - dataset
        varNameEscaped - escaped variable name
        Returns:
        true if success, false is failed