[Swift-commit] r6758 - SwiftTutorials/ATPESC_2013-08-06
yadunandb at ci.uchicago.edu
yadunandb at ci.uchicago.edu
Mon Aug 5 13:15:01 CDT 2013
Author: yadunandb
Date: 2013-08-05 13:15:00 -0500 (Mon, 05 Aug 2013)
New Revision: 6758
Modified:
SwiftTutorials/ATPESC_2013-08-06/README
Log:
README- added Modis intro and Modis01
Modified: SwiftTutorials/ATPESC_2013-08-06/README
===================================================================
--- SwiftTutorials/ATPESC_2013-08-06/README 2013-08-05 18:10:01 UTC (rev 6757)
+++ SwiftTutorials/ATPESC_2013-08-06/README 2013-08-05 18:15:00 UTC (rev 6758)
@@ -530,3 +530,34 @@
Running MPI apps under Swift
----------------------------
+
+Modis - Satellite image data processing
+---------------------------------------
+
+In the section we will process data from a large dataset of files that
+categorize the Earth's surface, derived from the MODIS sensor instruments
+that orbit the Earth on two NASA satellites of the Earth Observing System.
+
+The dataset we use (for 2002, named mcd12q1) files that categorize every
+250-meter square of non-ocean surface of the Earth into one of 17 "land
+cover" categories (for example, water, ice, forest, barren, urban). Each
+pixel of these data files has a value of 0 to 16, describing one square
+of the Earth's surface at a specific point in time. Each tile file has
+approximately 5 million 1-byte pixels (5.7 MB), covering 2400x2400
+250-meter squares, based on a specific map projection.
+
+
+modis01.swift
+~~~~~~~~~~~~~
+
+The first modis example defines one app function called getLandUse.
+This app takes a satellite image (data/modis/2002/h00v09.pgm.gz) as
+input. getLandUse creates a text file called landuse/h00v08.landuse.byfreq
+that counts the frequency of each land type defined in the input image.
+
+To run modis01.swift:
+-----
+$ cd modis/modis01/
+$ swift modis01.swift
+-----
+
More information about the Swift-commit
mailing list