   "Returns a new `fire-value` object generated by summing up the fields
   of each of the supplied `fire-value` objects.
 
-   Example:
     (schema/add-fires
-      {:temp-330 1, :conf-50 0, :both-preds 3, :count 4}
-      {:temp-330 1, :conf-50 0, :both-preds 3, :count 4})
-
-    {:count 8, :conf-50 0, :temp-330 2, :both-preds 6}" 
+     {:temp-330 1, :conf-50 0, :both-preds 3, :count 4}
+     {:temp-330 1, :conf-50 0, :both-preds 3, :count 4})
+    ;=> {:count 8, :conf-50 0, :temp-330 2, :both-preds 6}" 
   [& f-tuples]
   (apply merge-with + f-tuples))
 

(defn textify
  "Converts the supplied coordinates, forma value and forma neighbor
  value into a line of text suitable for use in STATA."
  [forma-val neighbor-val]
  (let [[fire-val s-drop l-drop t-drop] (unpack-forma-val forma-val)
        [fire-sum ct short-mean short-min

                            :location {:spatial-res \"1000\", :mod-h 8, :mod-v 6, :index 0, :size 24000}     :dataset \"ndvi\"
                            :value [0 1 2 3 4 5 6 7 8 9]})   

  ;=> [\"ndvi\" \"32\" \"2006-01-01\" {:mod-h 8, :size 24000, :mod-v 6, :spatial-res \"1000\", :index 0} [0 1 2 3 4 5 6 7 8 9]"
  [chunk]
  (map chunk [:dataset :temporal-res :date :location :value]))

