Originally Posted by did-g
Ok I was able to reproduce, if there's no displayable data in file m_bGRIBActiveFile is set to 0 and in doesn't play well later when ocpn try to display something.
The function "readAllGribRecords()" returns OK when there is at least one data type in the file even if this data type is not recognised by OpenCPN
I think this is an error and the function should not return OK when there no readable data type.
Off course this would not allow to display these data but at least would ovoid crashes.
Sorry I am not able to propose a patch by now but can do it ASAP