petebrew / fhaes

Fire History Analysis and Exploration System
GNU General Public License v3.0
4 stars 1 forks source link

Handling 'padded' files #77

Closed petebrew closed 9 years ago

petebrew commented 10 years ago

We are getting errors when editing the attached file. I think it's perhaps to do with the fact that the data is 'padded' at the start of the file i.e. there are many decades of dots before any of the samples has its starting bracket.

If the padding is not the cause of the error for this file, can you clarify the behaviour for padding files too please. Padding should be removed when FHRecorder edits a file so that the earliest year in the file is also the oldest pith/first year of a sample.

Original comment by: petebrew

petebrew commented 10 years ago

Original comment by: petebrew

petebrew commented 10 years ago

Fixed. File had sample codes without padded spaces at the end for codes that were shorter. Added handling for this.

Files with 'padding' no data load and save fine with padding left in place.

Original comment by: petebrew