public static RadialCoordSys makeRadialCoordSys( Formatter parseInfo, CoordinateSystem cs, VariableEnhanced v) {
    """
	Determine if the CoordinateSystem cs can be made into a GridCoordSys for the Variable v.
	@param parseInfo put debug information into this StringBuffer; may be null.
	@param cs CoordinateSystem to check.
	@param v Variable to check.
	@return the RadialCoordSys made from cs, else null.
    """
    if (parseInfo != null) {
      parseInfo.format(" ");
      v.getNameAndDimensions(parseInfo, true, false);
      parseInfo.format(" check CS " + cs.getName());
    }
    if (isRadialCoordSys( parseInfo, cs)) {
      RadialCoordSys rcs = new RadialCoordSys( cs);
      if (cs.isComplete( v)) {
        if (parseInfo != null) parseInfo.format(" OK%n");
        return rcs;
      } else {
        if (parseInfo != null) parseInfo.format(" NOT complete%n");
      }
    }

    return null;
  }
public static RadialCoordSys makeRadialCoordSys( Formatter parseInfo, CoordinateSystem cs, VariableEnhanced v) {
    if (parseInfo != null) {
      parseInfo.format(" ");
      v.getNameAndDimensions(parseInfo, true, false);
      parseInfo.format(" check CS " + cs.getName());
    }
    if (isRadialCoordSys( parseInfo, cs)) {
      RadialCoordSys rcs = new RadialCoordSys( cs);
      if (cs.isComplete( v)) {
        if (parseInfo != null) parseInfo.format(" OK%n");
        return rcs;
      } else {
        if (parseInfo != null) parseInfo.format(" NOT complete%n");
      }
    }

    return null;
  }
public static RadialCoordSys makeRadialCoordSys ( Formatter parseInfo , CoordinateSystem cs , VariableEnhanced v ) { if ( parseInfo != null ) { parseInfo . format ( " " ) ; v . getNameAndDimensions ( parseInfo , true , false ) ; parseInfo . format ( " check CS " + cs . getName ( ) ) ; } if ( isRadialCoordSys ( parseInfo , cs ) ) { RadialCoordSys rcs = new RadialCoordSys ( cs ) ; if ( cs . isComplete ( v ) ) { if ( parseInfo != null ) parseInfo . format ( " OK%n" ) ; return rcs ; } else { if ( parseInfo != null ) parseInfo . format ( " NOT complete%n" ) ; } } return null ; }
Determine if the CoordinateSystem cs can be made into a GridCoordSys for the Variable v.
@param parseInfo put debug information into this StringBuffer; may be null.
@param cs CoordinateSystem to check.
@param v Variable to check.
@return the RadialCoordSys made from cs, else null.
Determine if the CoordinateSystem cs can be made into a GridCoordSys for the Variable v .