[Swift-commit] r6173 - SwiftApps/modis

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Tue Jan 29 10:29:25 CST 2013


Author: davidk
Date: 2013-01-29 10:29:24 -0600 (Tue, 29 Jan 2013)
New Revision: 6173

Added:
   SwiftApps/modis/clean.sh
Modified:
   SwiftApps/modis/modis.swift
Log:
Script to clean logs
toint fix to avoid nag messages


Added: SwiftApps/modis/clean.sh
===================================================================
--- SwiftApps/modis/clean.sh	                        (rev 0)
+++ SwiftApps/modis/clean.sh	2013-01-29 16:29:24 UTC (rev 6173)
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+rm -rf *.log *.rlog *.d *.kml *.swiftx modis-20*


Property changes on: SwiftApps/modis/clean.sh
___________________________________________________________________
Added: svn:executable
   + *

Modified: SwiftApps/modis/modis.swift
===================================================================
--- SwiftApps/modis/modis.swift	2013-01-29 16:25:37 UTC (rev 6172)
+++ SwiftApps/modis/modis.swift	2013-01-29 16:29:24 UTC (rev 6173)
@@ -33,8 +33,8 @@
 
 # Constants and command line arguments
 
-int nFiles =      @toint(@arg("nfiles","1000"));
-int nSelect =     @toint(@arg("nselect","12"));
+int nFiles =      @toInt(@arg("nfiles","1000"));
+int nSelect =     @toInt(@arg("nselect","12"));
 string landType = @arg("landtype","urban");
 string runID =    @arg("runid","modis-run");
 string MODISdir=  @arg("modisdir","/home/wilde/bigdata/data/modis/2002");




More information about the Swift-commit mailing list