Class CoordSystemBuilder.VarProcess

  • Enclosing class:
    CoordSystemBuilder

    protected class CoordSystemBuilder.VarProcess
    extends Object
    Classifications of Variables into axis, systems and transforms
    • Method Detail

      • isData

        protected boolean isData()
      • maybeData

        protected boolean maybeData()
      • hasCoordinateSystem

        protected boolean hasCoordinateSystem()
      • makeIntoCoordinateAxis

        protected CoordinateAxis.Builder makeIntoCoordinateAxis()
        Turn the variable into a coordinate axis. Add to the dataset, replacing variable if needed.
        Returns:
        coordinate axis
      • makeCoordinatesFromCoordinateSystem

        protected void makeCoordinatesFromCoordinateSystem()
        For any variable listed in a coordinateAxes attribute, make into a coordinate.
      • makeCoordinateSystem

        protected void makeCoordinateSystem()
        For explicit coordinate system variables, make a CoordinateSystem.
      • findCoordinateAxes

        protected List<CoordinateAxis.Builder> 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.