 (ns cmr.umm.dif10.collection.two-d-coordinate-system
+  "Contains functions for convert two d coordinate systems to and parsing from DIF10 XML."
   (:require [clojure.data.xml :as x]
             [cmr.common.xml :as cx]
             [cmr.common.util :as util]
             [cmr.umm.collection :as c]))
 
 (defn- xml-elem->Coordinate
+  "Returns a UMM Coordinate from a parsed Coordinate XML structure"
   [coord-elem]
   (let [min-value (cx/double-at-path coord-elem [:Minimum_Value])
         max-value (cx/double-at-path coord-elem [:Maximum_Value])

      (c/map->Coordinate value-map))))

(defn- xml-elem->TwoDCoordinateSystem
  [two-d-elem]
  (let [name (cx/string-at-path two-d-elem [:TwoD_Coordinate_System_Name])
        coord-1-elem (cx/element-at-path two-d-elem [:Coordinate1])

               (when max-value (x/element :Maximum_Value {} max-value)))))

(defn generate-two-ds
  "Returns DIF10 Spatial_Info element for the given two d coordinate systems"
  [two-d-coordinate-systems]
  (when (seq two-d-coordinate-systems)
    (x/element
