/** * Look for a SPATIAL_REF global attribute and parsing it (as WKT) to setup a {@link * CoordinateReferenceSystem} * * @param dataset * @return */ public static CoordinateReferenceSystem parseProjection(NetcdfDataset dataset) { Attribute attribute = dataset.findAttribute(NetCDFUtilities.SPATIAL_REF); return CRSParser.parseWKT(attribute); }
/** * Look for a SPATIAL_REF global attribute and parsing it (as WKT) to setup a {@link * CoordinateReferenceSystem} * * @param dataset * @return */ public static CoordinateReferenceSystem parseProjection(NetcdfDataset dataset) { Attribute attribute = dataset.findAttribute(NetCDFUtilities.SPATIAL_REF); return CRSParser.parseWKT(attribute); }
public void augmentDataset(NetcdfDataset ds, CancelTask cancelTask) throws IOException { Attribute levelAtt = ds.findAttribute("/HDFEOS/ADDITIONAL/FILE_ATTRIBUTES/@ProcessLevel"); if (levelAtt == null) return; int level = levelAtt.getStringValue().startsWith("2") ? 2 : 3; Attribute time = ds.findAttribute("/HDFEOS/ADDITIONAL/FILE_ATTRIBUTES/@TAI93At0zOfGranule"); if (level == 3) augmentDataset3(ds); }
public void augmentDataset(NetcdfDataset ds, CancelTask cancelTask) throws IOException { Attribute levelAtt = ds.findAttribute("/HDFEOS/ADDITIONAL/FILE_ATTRIBUTES/@ProcessLevel"); if (levelAtt == null) return; int level = levelAtt.getStringValue().startsWith("2") ? 2 : 3; //Attribute time = ds.findAttribute("/HDFEOS/ADDITIONAL/FILE_ATTRIBUTES/@TAI93At0zOfGranule"); if (level == 3) augmentDataset3(ds); }
public void augmentDataset(NetcdfDataset ds, CancelTask cancelTask) throws IOException { final Attribute levelAtt = ds.findAttribute("/HDFEOS/ADDITIONAL/FILE_ATTRIBUTES/@ProcessLevel"); if (levelAtt == null) { return; } final int level = levelAtt.getStringValue().startsWith("2") ? 2 : 3; //Attribute time = ds.findAttribute("/HDFEOS/ADDITIONAL/FILE_ATTRIBUTES/@TAI93At0zOfGranule"); if (level == 3) { augmentDataset3(ds); } }