[Swift-commit] r6193 - SwiftApps/modis

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Wed Jan 30 15:51:41 CST 2013


Author: davidk
Date: 2013-01-30 15:51:41 -0600 (Wed, 30 Jan 2013)
New Revision: 6193

Modified:
   SwiftApps/modis/modis.swift
Log:
Put the landuse files into their own directory


Modified: SwiftApps/modis/modis.swift
===================================================================
--- SwiftApps/modis/modis.swift	2013-01-30 21:00:48 UTC (rev 6192)
+++ SwiftApps/modis/modis.swift	2013-01-30 21:51:41 UTC (rev 6193)
@@ -36,8 +36,8 @@
 int nFiles =      @toInt(@arg("nfiles","1000"));
 int nSelect =     @toInt(@arg("nselect","12"));
 string landType = @arg("landtype","urban");
-string MODISdir=  @arg("modisdir","/home/wilde/bigdata/data/modis/2002");
-string webDir =   @arg("webdir","/home/wilde/public_html/geo/");
+string MODISdir=  @arg("modisdir");
+string webDir =   @arg("webdir");
 
 string suffix=".tif";
 
@@ -50,7 +50,7 @@
 # Compute the land use summary of each MODIS tile
 
 landuse land[] <structured_regexp_mapper; source=geos, match="(h..v..)",
-  transform=@strcat("\\1.landuse.byfreq")>;
+  transform=@strcat("landuse\\1.landuse.byfreq")>;
 
 foreach g,i in geos {
     land[i] = getLandUse(g,1);




More information about the Swift-commit mailing list