v.clearCoordinateSystems(); v.setDimensions(gridset.makeDimensions(v.getDimensions())); if ((null == gridHash.get(v.getFullName()) && !coordSet.contains(v.getFullName()))) { VariableDS vds = new VariableDS(newds.getRootGroup(), v, false); // reparent LOOK fishy !!!! vds.clearCoordinateSystems(); vds.remove(vds.findAttribute("coordinates"));