/** * Check if this Coordinate System can be used for the given variable. * A CoordinateAxis can only be part of a Variable's CoordinateSystem if the CoordinateAxis' set of Dimensions is a * subset of the Variable's set of Dimensions. * So, a CoordinateSystem' set of Dimensions must be a subset of the Variable's set of Dimensions. * @param v check for this variable * @return true if all dimensions in the domain of this coordinate system are in V (including parents). */ public boolean isCoordinateSystemFor(VariableIF v) { return isSubset(domain, v.getDimensionsAll()); }
/** * Check if this Coordinate System is complete for v, ie if all its dimensions are also used by v. * @param v check for this variable * @return true if all dimensions in V (including parents) are in the domain of this coordinate system. */ public boolean isComplete(VariableIF v) { return isSubset(v.getDimensionsAll(), domain); }
/** * Check if this Coordinate System can be used for the given variable. * A CoordinateAxis can only be part of a Variable's CoordinateSystem if the CoordinateAxis' set of Dimensions is a * subset of the Variable's set of Dimensions. * So, a CoordinateSystem' set of Dimensions must be a subset of the Variable's set of Dimensions. * @param v check for this variable * @return true if all dimensions in the domain of this coordinate system are in V (including parents). */ public boolean isCoordinateSystemFor(VariableIF v) { return isSubset(domain, v.getDimensionsAll()); }
/** * Check if this Coordinate System is complete, * ie if all its dimensions are also used by the Variable. * @param v check for this variable * @return true if all dimensions in V (including parents) are in the domain of this coordinate system. */ public boolean isComplete(VariableIF v) { return /* isCoordinateSystemFor(v) && */ isSubset(v.getDimensionsAll(), domain); }
/** * Check if this Coordinate System is complete, * ie if all its dimensions are also used by the Variable. * @param v check for this variable * @return true if all dimensions in V (including parents) are in the domain of this coordinate system. */ public boolean isComplete(VariableIF v) { return /* isCoordinateSystemFor(v) && */ isSubset(v.getDimensionsAll(), domain); }
/** * Check if this Coordinate System can be used for the given variable. * A CoordinateAxis can only be part of a Variable's CoordinateSystem if the CoordinateAxis' set of Dimensions is a * subset of the Variable's set of Dimensions. * So, a CoordinateSystem' set of Dimensions must be a subset of the Variable's set of Dimensions. * @param v check for this variable * @return true if all dimensions in the domain of this coordinate system are in V (including parents). */ public boolean isCoordinateSystemFor(VariableIF v) { return isSubset(domain, v.getDimensionsAll()); }