Index: /trunk/BNC/src/pppModel.cpp
===================================================================
--- /trunk/BNC/src/pppModel.cpp	(revision 9278)
+++ /trunk/BNC/src/pppModel.cpp	(revision 9279)
@@ -651,4 +651,8 @@
   xyz2ell(xyz.data(), ell);
   double height = ell[2];
+  // Prevent pp from causing segmentation fault (Loukis)
+  if (height > 40000.0 ) {
+    return 0.000000001;
+  }
 
   double pp = 1013.25 * pow(1.0 - 2.26e-5 * height, 5.225);
