public GridCoordSys getGridCoordSys(VariableEnhanced ve) { List<CoordinateSystem> csList = ve.getCoordinateSystems(); for (CoordinateSystem cs : csList) { if (GridCoordSys.isGridCoordSys(null, cs, ve)) { return new GridCoordSys(cs, null); } } return null; }
public GridCoordSys getGridCoordSys(VariableEnhanced ve) { List<CoordinateSystem> csList = ve.getCoordinateSystems(); for (CoordinateSystem cs : csList) { if (GridCoordSys.isGridCoordSys(null, cs, ve)) { return new GridCoordSys(cs, null); } } return null; }
public GridCoordSys getGridCoordSys(VariableEnhanced ve) { List<CoordinateSystem> csList = ve.getCoordinateSystems(); for (CoordinateSystem cs : csList) { if (GridCoordSys.isGridCoordSys(null, cs, ve)) { return new GridCoordSys(cs, null); } } return null; }
/** * Determine if the CoordinateSystem cs can be made into a GridCoordSys for the Variable v. * * @param sbuff put debug information into this StringBuffer; may be null. * @param cs CoordinateSystem to check. * @param v Variable to check. * @return the GridCoordSys made from cs, else null. */ public static GridCoordSys makeGridCoordSys(Formatter sbuff, CoordinateSystem cs, VariableEnhanced v) { if (sbuff != null) { sbuff.format(" "); v.getNameAndDimensions(sbuff, false, true); sbuff.format(" check CS %s: ", cs.getName()); } if (isGridCoordSys(sbuff, cs, v)) { GridCoordSys gcs = new GridCoordSys(cs, sbuff); if (sbuff != null) sbuff.format(" OK%n"); return gcs; } return null; }
/** * Determine if the CoordinateSystem cs can be made into a GridCoordSys for the Variable v. * * @param sbuff put debug information into this StringBuffer; may be null. * @param cs CoordinateSystem to check. * @param v Variable to check. * @return the GridCoordSys made from cs, else null. */ public static GridCoordSys makeGridCoordSys(Formatter sbuff, CoordinateSystem cs, VariableEnhanced v) { if (sbuff != null) { sbuff.format(" "); v.getNameAndDimensions(sbuff, false, true); sbuff.format(" check CS %s: ", cs.getName()); } if (isGridCoordSys(sbuff, cs, v)) { GridCoordSys gcs = new GridCoordSys(cs, sbuff); if (sbuff != null) sbuff.format(" OK\n"); return gcs; } return null; }
/** * Determine if the CoordinateSystem cs can be made into a GridCoordSys for the Variable v. * * @param sbuff put debug information into this StringBuffer; may be null. * @param cs CoordinateSystem to check. * @param v Variable to check. * @return the GridCoordSys made from cs, else null. */ public static GridCoordSys makeGridCoordSys(Formatter sbuff, CoordinateSystem cs, VariableEnhanced v) { if (sbuff != null) { sbuff.format(" "); v.getNameAndDimensions(sbuff, false, true); sbuff.format(" check CS %s: ", cs.getName()); } if (isGridCoordSys(sbuff, cs, v)) { GridCoordSys gcs = new GridCoordSys(cs, sbuff); if (sbuff != null) sbuff.format(" OK%n"); return gcs; } return null; }
for (CoordinateSystem cs : csList) { Element csElem; if (GridCoordSys.isGridCoordSys(null, cs, null)) { GridCoordSys gcs = new GridCoordSys(cs, null); csElem = new Element("gridCoordSystem");
for (CoordinateSystem cs : csList) { Element csElem; if (GridCoordSys.isGridCoordSys(null, cs, null)) { GridCoordSys gcs = new GridCoordSys(cs, null); csElem = new Element("gridCoordSystem");
for (CoordinateSystem cs : csList) { Element csElem; if (GridCoordSys.isGridCoordSys(null, cs, null)) { GridCoordSys gcs = new GridCoordSys(cs, null); csElem = new Element("gridCoordSystem");