/** * Returns the number of dimensions of source coordinates in the <cite>"grid to CRS"</cite> conversion. * This is the number of dimensions of the <em>grid</em>. */ @Override public int getSourceDimensions() { return netcdfCS.getRankDomain(); }
/** * Returns the number of dimensions of source coordinates in the <cite>"grid to CRS"</cite> conversion. * This is the number of dimensions of the <em>grid</em>. */ @Override public int getSourceDimensions() { return netcdfCS.getRankDomain(); }
public void setCoordMap(java.util.List<CoordinateSystem> csysList) { CoordinateSystem use = null; for (CoordinateSystem csys : csysList) { if (use == null) use = csys; else if (csys.getCoordinateAxes().size() > use.getCoordinateAxes().size()) use = csys; } coordMap = (use == null) ? "" : "f:D(" + use.getRankDomain() + ")->R(" + use.getRankRange() + ")"; }
public void setCoordMap(java.util.List<CoordinateSystem> csysList) { CoordinateSystem use = null; for (CoordinateSystem csys : csysList) { if (use == null) use = csys; else if (csys.getCoordinateAxes().size() > use.getCoordinateAxes().size()) use = csys; } coordMap = (use == null) ? "" : "f:D(" + use.getRankDomain() + ")->R(" + use.getRankRange() + ")"; }
static private boolean isGrid(java.util.List<CoordinateSystem> csysList) { CoordinateSystem use = null; for (CoordinateSystem csys : csysList) { if (use == null) use = csys; else if (csys.getCoordinateAxes().size() > use.getCoordinateAxes().size()) use = csys; } if (use == null) return false; CoordinateAxis lat = use.getLatAxis(); CoordinateAxis lon = use.getLonAxis(); if ((lat != null) && (lat.getSize() <= 1)) return false; // COARDS singletons if ((lon != null) && (lon.getSize() <= 1)) return false; // hueristics - cant say i like this, multidim point features could easily violate return (use.getRankDomain() > 2) && (use.getRankDomain() <= use.getRankRange()); }
static private boolean isGrid(java.util.List<CoordinateSystem> csysList) { CoordinateSystem use = null; for (CoordinateSystem csys : csysList) { if (use == null) use = csys; else if (csys.getCoordinateAxes().size() > use.getCoordinateAxes().size()) use = csys; } if (use == null) return false; CoordinateAxis lat = use.getLatAxis(); CoordinateAxis lon = use.getLonAxis(); if ((lat != null) && (lat.getSize() <= 1)) return false; // COARDS singletons if ((lon != null) && (lon.getSize() <= 1)) return false; // hueristics - cant say i like this, multidim point features could easily violate return (use.getRankDomain() > 2) && (use.getRankDomain() <= use.getRankRange()); }
if (cs.getRankDomain() < 2) { if (sbuff != null) { sbuff.format("%s: domain rank < 2%n", cs.getName());
if (cs.getRankDomain() < 2) { if (sbuff != null) { sbuff.format("%s: domain rank < 2%n", cs.getName());
if (cs.getRankDomain() < 2) { if (sbuff != null) { sbuff.format("%s: domain rank < 2%n", cs.getName());
CoverageCS.Type classify(NetcdfDataset ds, CoordinateSystem cs, Formatter errlog) { if (cs.getRankDomain() < 2) { if (errlog != null) errlog.format("CoordinateSystem '%s': domain rank < 2%n", cs.getName()); return null;
CoverageCS.Type classify(NetcdfDataset ds, CoordinateSystem cs, Formatter errlog) { if (cs.getRankDomain() < 2) { if (errlog != null) errlog.format("CoordinateSystem '%s': domain rank < 2%n", cs.getName()); return null;
DtCoverageCSBuilder(NetcdfDataset ds, CoordinateSystem cs, Formatter errlog) { if (cs.getRankDomain() < 2) { if (errlog != null) errlog.format("CoordinateSystem '%s': domain rank < 2%n", cs.getName()); return;