                                 globbed-wholefile-tap)])
   (:require [forma.source.hdf :as h]
             [forma.source.rain :as r]
-            [forma.source.modis :as m]
             [forma.static :as s])
   (:gen-class))
 

(defn rain-main
  "TODO: Example usage."
  [input-path output-path & tiles]
  {:pre [(m/valid-modis? tiles)]}
  (rain-chunker "1000" 0.5 s/chunk-size (map read-string tiles)
                (s3-path input-path)
                (s3-path output-path)))


   hadoop jar forma-standalone.jar modisdata/MOD13A3/ reddoutput/ [8 6] [10 12]"
  [input-path output-path & tiles]
  (let [tileseq (map read-string tiles)
        tilestring (str input-path (apply tiles->globstring tileseq))]
    (modis-chunker s/forma-subsets s/chunk-size
