harphub / harpIO

IO functions for HARP
https://harphub.github.io/harpIO/
Other
6 stars 16 forks source link

Fix vfile reading when no SYNOP data #75

Closed andrew-MET closed 3 years ago

andrew-MET commented 3 years ago

Fixes #73

When 0 synop records are indicated in the main header in a v-file, the synop header is still included with another 0 to indicate the number of synop records (again). This line needs to be skipped when there are no synop data before moving on to read the rest of the file.

This is certainly the case with vobs, so it is assumed that it is also the case for vfld.