Class CoordSysBuilder.VarProcess

  • Enclosing class:
    CoordSysBuilder

    public class CoordSysBuilder.VarProcess
    extends Object
    Wrap each variable in the dataset with a VarProcess object.
    • Field Detail

      • isCoordinateVariable

        public boolean isCoordinateVariable
      • isCoordinateAxis

        public boolean isCoordinateAxis
      • coordAxes

        public String coordAxes
      • coordSys

        public String coordSys
      • coordSysFor

        public String coordSysFor
      • coordVarAlias

        public String coordVarAlias
      • positive

        public String positive
      • coordAxisTypes

        public String coordAxisTypes
      • coordinates

        public String coordinates
      • isCoordinateSystem

        public boolean isCoordinateSystem
      • coordTransforms

        public String coordTransforms
      • isCoordinateTransform

        public boolean isCoordinateTransform
      • coordTransformType

        public String coordTransformType
    • Method Detail

      • isData

        public boolean isData()
      • maybeData

        public boolean maybeData()
      • hasCoordinateSystem

        public boolean hasCoordinateSystem()
      • makeIntoCoordinateAxis

        public CoordinateAxis makeIntoCoordinateAxis()
        Turn the variable into a coordinate axis, if not already. Add to the dataset, replacing variable if needed.
        Returns:
        variable as a coordinate axis
      • makeCoordinateSystem

        public void makeCoordinateSystem()
        Create a Coordinate System object, using the list of coordinate axis names in the (required) axes field.
      • findCoordinateAxes

        public List<CoordinateAxis> findCoordinateAxes​(boolean addCoordVariables)
        Create a list of coordinate axes for this data variable. Use the list of names in axes or coordinates field.
        Parameters:
        addCoordVariables - if true, add any coordinate variables that are missing.
        Returns:
        list of coordinate axes for this data variable.