/** Create a RadialCoordSys from an existing Coordinate System. */ public RadialCoordSys( CoordinateSystem cs) { super(); aziAxis = cs.getAzimuthAxis(); radialAxis = cs.getRadialAxis(); elevAxis = cs.getElevationAxis(); timeAxis = cs.getTaxis(); coordAxes.add( aziAxis); coordAxes.add( radialAxis); coordAxes.add( elevAxis); // make name based on coordinate Collections.sort( coordAxes, new CoordinateAxis.AxisComparator()); // canonical ordering of axes this.name = CoordinateSystem.makeName( coordAxes); }
/** Create a RadialCoordSys from an existing Coordinate System. */ public RadialCoordSys( CoordinateSystem cs) { super(); aziAxis = cs.getAzimuthAxis(); radialAxis = cs.getRadialAxis(); elevAxis = cs.getElevationAxis(); timeAxis = cs.getTaxis(); coordAxes.add( aziAxis); coordAxes.add( radialAxis); coordAxes.add( elevAxis); // make name based on coordinate Collections.sort( coordAxes, new CoordinateAxis.AxisComparator()); // canonical ordering of axes this.name = CoordinateSystem.makeName( coordAxes); }
/** Create a RadialCoordSys from an existing Coordinate System. */ public RadialCoordSys( CoordinateSystem cs) { super(); aziAxis = cs.getAzimuthAxis(); radialAxis = cs.getRadialAxis(); elevAxis = cs.getElevationAxis(); timeAxis = cs.getTaxis(); coordAxes.add( aziAxis); coordAxes.add( radialAxis); coordAxes.add( elevAxis); // make name based on coordinate Collections.sort( coordAxes, new CoordinateAxis.AxisComparator()); // canonical ordering of axes this.name = CoordinateSystem.makeName( coordAxes); }
/** * Create a GeoGridCoordSys from an existing Coordinate System. * This will choose which axes are the XHoriz, YHoriz, Vertical, Time, RunTIme, Ensemble. * If theres a Projection, it will set its map area * * @param builder create from this */ public DtCoverageCS(DtCoverageCSBuilder builder) { super(); this.builder = builder; // make name based on coordinate this.name = CoordinateSystem.makeName(builder.allAxes); // WRF NMM Attribute att = getXHorizAxis().findAttribute(_Coordinate.Stagger); if (att != null) setHorizStaggerType(att.getStringValue()); if (builder.orgProj != null) { proj = builder.orgProj.constructCopy(); } }
List<CoordinateAxis> dataAxesList = getAxes(vp.coordAxes, vp.v.getFullName()); if (dataAxesList.size() > 1) { String coordSysName = CoordinateSystem.makeName(dataAxesList); CoordinateSystem cs = ncDataset.findCoordinateSystem(coordSysName); if (cs != null) {
this.ds = ds; this.coordAxes = new ArrayList<>( axes); this.name = makeName( coordAxes);
this.ds = ds; this.coordAxes = new ArrayList<>( axes); this.name = makeName( coordAxes);
List<CoordinateAxis> dataAxesList = getAxes(vp, vp.coordAxes, vp.v.getFullName()); if (dataAxesList.size() > 1) { String coordSysName = CoordinateSystem.makeName(dataAxesList); CoordinateSystem cs = ncDataset.findCoordinateSystem(coordSysName); if (cs != null) {
List<CoordinateAxis> dataAxesList = getAxes(vp, vp.coordAxes, vp.v.getFullName()); if (dataAxesList.size() > 1) { String coordSysName = CoordinateSystem.makeName(dataAxesList); CoordinateSystem cs = ncDataset.findCoordinateSystem(coordSysName); if (cs != null) {
String csName = CoordinateSystem.makeName(axisList); CoordinateSystem cs = ncDataset.findCoordinateSystem(csName); boolean okToBuild = false;
this.ds = ds; this.coordAxes = new ArrayList<CoordinateAxis>( axes); this.name = makeName( coordAxes);
String csName = CoordinateSystem.makeName(axisList); CoordinateSystem cs = ncDataset.findCoordinateSystem(csName); if (cs != null) {
String csName = CoordinateSystem.makeName(dataAxesList); CoordinateSystem cs = ncDataset.findCoordinateSystem(csName); if ((cs != null) && cs.isComplete(vp.v)) { // DANGER WILL ROGERS!
String csName = CoordinateSystem.makeName(dataAxesList); CoordinateSystem cs = ncDataset.findCoordinateSystem(csName); if ((cs != null) && cs.isComplete(vp.v)) { // DANGER WILL ROGERS!
String csName = CoordinateSystem.makeName(axisList); CoordinateSystem cs = ncDataset.findCoordinateSystem(csName); if (cs != null) {
String csName = CoordinateSystem.makeName(dataAxesList); CoordinateSystem cs = ncDataset.findCoordinateSystem(csName); if ((cs != null) && cs.isComplete(vp.v)) { // must be complete