public String toString() { StringBuilder retVal = new StringBuilder(); retVal.append("Variable(").append(this.getName()).append(",") .append(this.getLongName()).append(",") .append(this.getUnits()).append(",") .append(this.getDataType()).append(",") .append(this.getByteOffsetInRecord()).append(",") .append(this.getNumElementsInRecord()).append(")"); return (retVal.toString()); } }
public String toString() { StringBuilder retVal = new StringBuilder(); retVal.append("Variable(").append(this.getName()).append(",") .append(this.getLongName()).append(",") .append(this.getUnits()).append(",") .append(this.getDataType()).append(",") .append(this.getByteOffsetInRecord()).append(",") .append(this.getNumElementsInRecord()).append(")"); return (retVal.toString()); } }
public String toString() { StringBuilder retVal = new StringBuilder(); retVal.append("Variable(").append(this.getName()).append(",") .append(this.getLongName()).append(",") .append(this.getUnits()).append(",") .append(this.getDataType()).append(",") .append(this.getByteOffsetInRecord()).append(",") .append(this.getNumElementsInRecord()).append(")"); return (retVal.toString()); } }
this.cachedYear = (int[]) this.readIntArray1D(VariableInfo.YEAR.getByteOffsetInRecord()); } else if (v2.getShortName().equals(VariableInfo.DAY_OF_YEAR.getName())) { if (this.cachedDayOfYear == null) { this.cachedDayOfYear = (int[]) this.readIntArray1D(VariableInfo.DAY_OF_YEAR.getByteOffsetInRecord()); } else if (v2.getShortName().equals(VariableInfo.SECONDS_OF_DAY.getName())) { if (this.cachedSecondsOfDay == null) { this.cachedSecondsOfDay = (double[]) this.readDoubleArray1D(VariableInfo.SECONDS_OF_DAY.getByteOffsetInRecord()); this.cachedSatEphemLatitude = (float[]) this.readFloatArray1D(VariableInfo.SAT_EPHEM_LATITUDE.getByteOffsetInRecord()); } else if (v2.getShortName().equals(VariableInfo.SAT_EPHEM_LONGITUDE.getName())) { if (this.cachedSatEphemLongitude == null) { this.cachedSatEphemLongitude = (float[]) this.readFloatArray1D(VariableInfo.SAT_EPHEM_LONGITUDE.getByteOffsetInRecord()); } else if (v2.getShortName().equals(VariableInfo.SAT_EPHEM_ALTITUDE.getName())) { if (this.cachedSatEphemAltitude == null) { this.cachedSatEphemAltitude = (float[]) this.readFloatArray1D(VariableInfo.SAT_EPHEM_ALTITUDE.getByteOffsetInRecord()); } else if (v2.getShortName().equals(VariableInfo.SAT_EPHEM_HEADING.getName())) { if (this.cachedSatEphemHeading == null) { this.cachedSatEphemHeading = (float[]) this.readFloatArray1D(VariableInfo.SAT_EPHEM_HEADING.getByteOffsetInRecord()); this.cachedScannerOffset = (float[]) this.readFloatArray1D(VariableInfo.SCANNER_OFFSET.getByteOffsetInRecord()); } else if (v2.getShortName().equals(VariableInfo.SCAN_DIRECTION.getName())) { if (this.cachedScanDirection == null) { this.cachedScanDirection = (byte[]) this.readUCharArray1D(VariableInfo.SCAN_DIRECTION.getByteOffsetInRecord());
this.cachedYear = (int[]) this.readIntArray1D(VariableInfo.YEAR.getByteOffsetInRecord()); } else if (v2.getShortName().equals(VariableInfo.DAY_OF_YEAR.getName())) { if (this.cachedDayOfYear == null) { this.cachedDayOfYear = (int[]) this.readIntArray1D(VariableInfo.DAY_OF_YEAR.getByteOffsetInRecord()); } else if (v2.getShortName().equals(VariableInfo.SECONDS_OF_DAY.getName())) { if (this.cachedSecondsOfDay == null) { this.cachedSecondsOfDay = (double[]) this.readDoubleArray1D(VariableInfo.SECONDS_OF_DAY.getByteOffsetInRecord()); this.cachedSatEphemLatitude = (float[]) this.readFloatArray1D(VariableInfo.SAT_EPHEM_LATITUDE.getByteOffsetInRecord()); } else if (v2.getShortName().equals(VariableInfo.SAT_EPHEM_LONGITUDE.getName())) { if (this.cachedSatEphemLongitude == null) { this.cachedSatEphemLongitude = (float[]) this.readFloatArray1D(VariableInfo.SAT_EPHEM_LONGITUDE.getByteOffsetInRecord()); } else if (v2.getShortName().equals(VariableInfo.SAT_EPHEM_ALTITUDE.getName())) { if (this.cachedSatEphemAltitude == null) { this.cachedSatEphemAltitude = (float[]) this.readFloatArray1D(VariableInfo.SAT_EPHEM_ALTITUDE.getByteOffsetInRecord()); } else if (v2.getShortName().equals(VariableInfo.SAT_EPHEM_HEADING.getName())) { if (this.cachedSatEphemHeading == null) { this.cachedSatEphemHeading = (float[]) this.readFloatArray1D(VariableInfo.SAT_EPHEM_HEADING.getByteOffsetInRecord()); this.cachedScannerOffset = (float[]) this.readFloatArray1D(VariableInfo.SCANNER_OFFSET.getByteOffsetInRecord()); } else if (v2.getShortName().equals(VariableInfo.SCAN_DIRECTION.getName())) { if (this.cachedScanDirection == null) { this.cachedScanDirection = (byte[]) this.readUCharArray1D(VariableInfo.SCAN_DIRECTION.getByteOffsetInRecord());
this.cachedYear = (int[]) this.readIntArray1D(VariableInfo.YEAR.getByteOffsetInRecord()); } else if (v2.getShortName().equals(VariableInfo.DAY_OF_YEAR.getName())) { if (this.cachedDayOfYear == null) { this.cachedDayOfYear = (int[]) this.readIntArray1D(VariableInfo.DAY_OF_YEAR.getByteOffsetInRecord()); } else if (v2.getShortName().equals(VariableInfo.SECONDS_OF_DAY.getName())) { if (this.cachedSecondsOfDay == null) { this.cachedSecondsOfDay = (double[]) this.readDoubleArray1D(VariableInfo.SECONDS_OF_DAY.getByteOffsetInRecord()); this.cachedSatEphemLatitude = (float[]) this.readFloatArray1D(VariableInfo.SAT_EPHEM_LATITUDE.getByteOffsetInRecord()); } else if (v2.getShortName().equals(VariableInfo.SAT_EPHEM_LONGITUDE.getName())) { if (this.cachedSatEphemLongitude == null) { this.cachedSatEphemLongitude = (float[]) this.readFloatArray1D(VariableInfo.SAT_EPHEM_LONGITUDE.getByteOffsetInRecord()); } else if (v2.getShortName().equals(VariableInfo.SAT_EPHEM_ALTITUDE.getName())) { if (this.cachedSatEphemAltitude == null) { this.cachedSatEphemAltitude = (float[]) this.readFloatArray1D(VariableInfo.SAT_EPHEM_ALTITUDE.getByteOffsetInRecord()); } else if (v2.getShortName().equals(VariableInfo.SAT_EPHEM_HEADING.getName())) { if (this.cachedSatEphemHeading == null) { this.cachedSatEphemHeading = (float[]) this.readFloatArray1D(VariableInfo.SAT_EPHEM_HEADING.getByteOffsetInRecord()); this.cachedScannerOffset = (float[]) this.readFloatArray1D(VariableInfo.SCANNER_OFFSET.getByteOffsetInRecord()); } else if (v2.getShortName().equals(VariableInfo.SCAN_DIRECTION.getName())) { if (this.cachedScanDirection == null) { this.cachedScanDirection = (byte[]) this.readUCharArray1D(VariableInfo.SCAN_DIRECTION.getByteOffsetInRecord());