Index: trunk/FACT++/scripts/Observation_class.js
===================================================================
--- trunk/FACT++/scripts/Observation_class.js	(revision 18171)
+++ trunk/FACT++/scripts/Observation_class.js	(revision 18172)
@@ -43,5 +43,8 @@
         ret[i].zd     = parseFloat(obs.zd);
         ret[i].az     = parseFloat(obs.az);
+        ret[i].time   = parseInt(obs.time);
+        ret[i].threshold = parseInt(obs.threshold);
         ret[i].lidclosed = obs.lidclosed;
+        ret[i].biason = obs.biason;
         ret[i].rstype = obs.rstype ? obs.rstype : "default";
         ret[i].sub    = i;
@@ -57,5 +60,5 @@
             return rc;
         }
-    
+
         switch (ret[i].task)
         {
@@ -99,4 +102,11 @@
             break;
 
+        case 'CUSTOM':
+
+            if (isNaN(ret[i].az) || isNaN(ret[i].az) || isNaN(ret[i].time) || isNaN(ret[i].threshold))
+                throw new Error("Observation must have 'zd' & 'az', 'time' and 'threshold' " +
+                                "if 'task' == 'custom' ");
+            break;
+
         case 'SINGLEPE':
         case 'OVTEST':
