private void addGeoGrid(VariableDS varDS, GridCoordSys gcs, Formatter parseInfo) { Gridset gridset; if (null == (gridset = gridsetHash.get(gcs.getName()))) { gridset = new Gridset(gcs); gridsetHash.put(gcs.getName(), gridset); if (parseInfo != null) parseInfo.format(" -make new GridCoordSys= %s\n",gcs.getName()); gcs.makeVerticalTransform(this, parseInfo); // delayed until now LOOK why for each grid ?? } GeoGrid geogrid = new GeoGrid(this, varDS, gridset.gcc); grids.add(geogrid); gridset.add(geogrid); }
private void addGeoGrid(VariableDS varDS, GridCoordSys gcs, Formatter parseInfo) { Gridset gridset; if (null == (gridset = gridsetHash.get(gcs.getName()))) { gridset = new Gridset(gcs); gridsetHash.put(gcs.getName(), gridset); if (parseInfo != null) parseInfo.format(" -make new GridCoordSys= %s%n",gcs.getName()); gcs.makeVerticalTransform(this, parseInfo); // delayed until now LOOK why for each grid ?? } GeoGrid geogrid = new GeoGrid(this, varDS, gridset.gcc); grids.add(geogrid); gridset.add(geogrid); }
private void addGeoGrid(VariableDS varDS, GridCoordSys gcs, Formatter parseInfo) { Gridset gridset; if (null == (gridset = gridsetHash.get(gcs.getName()))) { gridset = new Gridset(gcs); gridsetHash.put(gcs.getName(), gridset); if (parseInfo != null) parseInfo.format(" -make new GridCoordSys= %s%n",gcs.getName()); gcs.makeVerticalTransform(this, parseInfo); // delayed until now LOOK why for each grid ?? } GeoGrid geogrid = new GeoGrid(this, varDS, gridset.gcc); grids.add(geogrid); gridset.add(geogrid); }
@Override public void show(Formatter f, boolean showCoords) { f.format("Coordinate System (%s)%n", getName());
@Override public void show(Formatter f, boolean showCoords) { f.format("Coordinate System (%s)%n%n", getName());
@Override public void show(Formatter f, boolean showCoords) { f.format("Coordinate System (%s)%n%n", getName());
gridElem.setAttribute("udunits", isUdunits(ve.getUnitsString())); gridElem.setAttribute("coordSys", gcs.getName());
gridElem.setAttribute("udunits", isUdunits(ve.getUnitsString())); gridElem.setAttribute("coordSys", gcs.getName());
gridElem.setAttribute("udunits", isUdunits(ve.getUnitsString())); gridElem.setAttribute("coordSys", gcs.getName());