* if the observation has no date or magnitude.
*/
protected void collectObservation(ValidObservation ob)
throws ObservationReadError {
if (ob.getDateInfo() == null) {
throw new ObservationReadError("Observation #"
+ ob.getRecordNumber() + " has no date.");
}
if (ob.getMagnitude() == null) {
throw new ObservationReadError("Observation #"
+ ob.getRecordNumber() + " has no magnitude.");
}
addValidObservation(ob);
categoriseValidObservation(ob);