fix handling of missing values

it was trying to handle missing values with the insertion of mean
values. it does not work when HD skips a record (e.g., 1996, 1997,
1999).
perhaps it needs a better handling, splitting the detection and filling
of missing data (in f fill_station).