Index: /trunk/BNC/src/bncrinex.cpp
===================================================================
--- /trunk/BNC/src/bncrinex.cpp	(revision 4478)
+++ /trunk/BNC/src/bncrinex.cpp	(revision 4479)
@@ -475,4 +475,11 @@
           _out << line.toAscii().data() << endl;
         }
+      }
+      else if (line.indexOf("END OF HEADER") != -1) {
+        if (!typesOfObservationsWritten) {
+          writeObsTypes();
+        }
+        _out << line.toAscii().data() << endl;
+        break;
       }
       else {
