@Override public Double getValue() throws IllegalAccessException, InvocationTargetException { return leaf.getData().getElemDouble(); } }
final double referenceRange = attribute.getData().getElemDouble();
final double referenceRange = attribute.getData().getElemDouble();
private double getDataAsDouble(ProductData data) { if (data instanceof ProductData.UTC) { return ((ProductData.UTC) data).getAsDate().getTime(); } else { return data.getElemDouble(); } }
private double getData(MetadataElement element) { if (element.getElement("Values") != null) { return element.getElement("Values").getAttribute("data").getData().getElemDouble(); } return 0; }
/** * Get the time interval between data points (in second). * * @return The time interval. */ private double getTimeIntervalBetweenDataPoints() { // Field 20 in PRI Platform Position Data Set Record (in s) final MetadataElement facility = origMetadataRoot.getElement("Leader").getElement("Platform Position"); if (facility == null) { throw new OperatorException("Platform Position not found"); } final MetadataAttribute attr = facility.getAttribute("Time interval between data points"); if (attr == null) { throw new OperatorException("Time interval between data points not found"); } return attr.getData().getElemDouble(); }
array[0] = xAttr.getData().getElemDouble(); array[1] = yAttr.getData().getElemDouble(); array[2] = zAttr.getData().getElemDouble();
throw new OperatorException("Cross track Doppler frequency centroid constant term not found"); double a0 = attr.getData().getElemDouble(); throw new OperatorException("Cross track Doppler frequency centroid linear term not found"); double a1 = attr.getData().getElemDouble(); throw new OperatorException("Cross track Doppler frequency centroid quadratic term not found"); double a2 = attr.getData().getElemDouble();