protected CoverageCSImpl(NetcdfDataset ds, CoordinateSystem cs, CoverageCSFactory fac) { this.ds = ds; this.cs = cs; this.fac = fac; // set canonical area ProjectionImpl projOrig = cs.getProjection(); if (projOrig != null) { projection = projOrig.constructCopy(); projection.setDefaultMapArea(getBoundingBox()); // LOOK too expensive for 2D } }
protected CoverageCSImpl(NetcdfDataset ds, CoordinateSystem cs, CoverageCSFactory fac) { this.ds = ds; this.cs = cs; this.fac = fac; // set canonical area ProjectionImpl projOrig = cs.getProjection(); if (projOrig != null) { projection = projOrig.constructCopy(); projection.setDefaultMapArea(getBoundingBox()); // LOOK too expensive for 2D } }
/** * 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(); } }
proj = projOrig.constructCopy();
proj = projOrig.constructCopy();
proj = projOrig.constructCopy();
proj = projOrig.constructCopy();
proj = projOrig.constructCopy();
proj = projOrig.constructCopy();