Geoprocessing with GDAL and Numpy in Python Delong Zhao 11-03-2011.

Slides:



Advertisements
Similar presentations
Web Mapping Service Development For DMSP Satellite Data Chris Elvidge, NOAA National Geophysical Data Center Ben Tuttle, Cooperative Institute for Research.
Advertisements

Spatial Resolution in Digital Images Digital Images –“Size” can change easily (zoom, subset, mosaic) –Pixel size is assumed not to change within an image.
A Land Cover Map of Eurasia’s Boreal Ecosystems S. BARTALEV, A. S. BELWARD Institute for Environment and Sustainability, EC Joint Research Centre, Italy.
Global Mapper: The Swiss Army Knife For GIS!
Landsat Downloads & MODIS Downloads Data Sources for GIS in Water Resources by Ayse Kilic, David R. Maidment, and David G. Tarboton GIS in Water Resources.
ArcView® Image Analysis
III LBA Scientific Conference, July 27-29, 2004 SEASONAL ANALYSIS OF THE MOD13A2 (NDVI / EVI) AND MOD15A2 (LAI / fAPAR) PRODUCTS FOR THE CERRADO REGION.
Incorporating regional knowledge into global data sets: Some ideas for rice in Asia Andy Nelson Thursday11 th Sep, 2014.
LP DAAC Status MODIS Science Team Meeting April , 2014 Chris Doescher, PMP LP DAAC Project Manager Dr. David Meyer.
McIDAS-Lite Dave Santek Program Manager Space Science & Engineering Center University of Wisconsin-Madison 5 December 2002.
North American Croplands Richard Massey & Dr. Teki Sankey.
UGIC 2009 Introduction to Open Source RS/GIS programming with Python Chris Garrard RS/GIS Laboratory Utah State University.
Geoscience Australia Simon Oliver Remote Sensing Science and Strategy MODIS Development Activities at ACRES Australian Government Geoscience Australia.
Raster Data in QGIS Matthew Rosencrans Tom DiLiberto.
2 nd International Conference on Water and Flood Management ICWFM-2009 Flood Inundation Map of Bangladesh using MODIS Surface Reflectance Data AKM Saiful.
1 Generalized Conversion of HDF-EOS Products to GIS Compatible Formats Larry Klein, Ray Milburn, Cid Praderas, and Abe Taaheri Emergent Information Technologies,
OPEN SOURCE GIS Comparing Quantum GIS to Open Jump.
CE 525 1/17/2013. Quiz #3 Question 1 You look in the phone book and see names associated with phone numbers. Is this geographic data?
Satellite Data Access – Giovanni, LAADS, and NEO Training Workshop in Partnership with BAAQMD Santa Clara, CA September 10 – 12, 2013 Applied Remote SEnsing.
Ramesh Gautam, Jean Woods, Simon Eching, Mohammad Mostafavi, Scott Hayes, tom Hawkins, Jeff milliken Division of Statewide Integrated Water Management.
Eric Rafn and Bill Kramber Idaho Department of Water Resources
Workshop on Census Cartography and Management, Bangkok, Thailand, 15–19 October 2007 Software Options for Operational GIS in Professional Environments.
© 2005 The MathWorks December 2 nd, 2005 MATLAB ® and HDF Accelerating Engineering Productivity and Scientific Discovery.
Raster Data Chapter 7. Introduction  Vector – discrete  Raster – continuous  Continuous –precipitation –elevation –soil erosion  Regular grid cell.
Introduction to ArcPy. Topics What is ArcPy? Accessing geoprocessing tools using ArcPy Writing scripts using ArcPy.
Successfully migrated raster and vector data to ArcSDE –Raster data displays much faster –Faster map production.
Exploring the Synergies between ‘Commercial’ and Open Source Software Gregg Petrie, Cosmic Project Lee Miller, Pacific Northwest National Laboratory.
Python – Raster Analysis Kevin M. Johnston Nawajish Noman.
GDAL/OGR. GDAL/OGR GDAL/OGR : Frank Warmerdam Tools for reading, writing, and processing GDAL - Geospatial Data Abstraction Library GDAL - Geospatial.
A.Batchimeg GDAL Geospatial Data Abstraction Library GDAL Geospatial Data Abstraction Library
Esri UC 2014 | Technical Workshop | Python – Raster Analysis Kevin M. Johnston Ryan DeBruyn.
Center Pixel Value Mean Value of All Pixels Percent of Pixels that meet QC Criteria Web and Web Services based tool that provides subsets and visualization.
MODIS Land Product Subsets Suresh K. Santhana Vannan, Robert B. Cook, Bruce E. Wilson, Lisa M. Olsen HDF and HDF-EOS Workshop XII October 15 – October.
Raster Concepts.
Presenter : Dayong Shen Center for Spatial Information Science and Systems (CSISS), George Mason University.
Sensor Placement Application and Snowpack Distribution Model from LiDAR Data Zeshi Zheng Graduate Students Systems Engineering UC Berkeley.
WSL Workshop The Long and Winding Road to MODIS Data.
ORNL DAAC MODIS Subsetting and Visualization tools Tools and services to access subsets of MODIS data Suresh K. Santhana Vannan National Aeronautics and.
Chernobyl Nuclear Power Plant Explosion
Implementing Unified Access to Scientific Data from.NET Platform Sergey B. Berezin Dmitriy V. Voitsekhovskiy Vilen M. Paskonov Moscow State University.
Python Mini-Course University of Oklahoma Department of Psychology Lesson 21 NumPy 6/11/09 Python Mini-Course: Lesson 21 1.
LDOPE QA Tools Sadashiva Devadiga (SSAI) MODIS LDOPE January 18, 2007.
Workshop on International Standards, Contemporary Technologies and Regional Cooperation, Noumea, New Caledonia, 04–08 February 2008 Software Options for.
s Donna J. Scott, Marilyn Kaminski, Jason Wolfe, Terry Haran NSIDC's MODIS Snow and Sea Ice Products NSIDC provides a suite.
ORNL DAAC: Introduction Bob Cook ORNL DAAC Environmental Sciences Division Oak Ridge National Laboratory.
Vegetation Index Visualization of individual composite period. The tool provides a color coded grid display of the subset region. The tool provides time.
MODIS-based Cropland Classification in North America Teki Sankey and Richard Massey Northern Arizona University.
Python & NetworkX Youn-Hee Han
The HDF Group January 8, ESIP Winter Meeting Data Container Study: HDF5 in a POSIX File System or HDF5 C 3 : Compression, Chunking,
Cropland mapping in South America
ORNL DAAC MODIS Land Product Subsets 1 Suresh K. Santhana Vannan, Robert B. Cook, Bruce E. Wilson, Lisa M. Olsen Environmental Sciences Division, Oak Ridge.
Introduction MODIS NDVI
Stennis Space Center Time Series Product Tool Don Prados Computer Sciences Corp. John C. Stennis Space Center USDA Forest Service, Asheville, NC September.
“The transformations of land cover due to actions of land use”
Stennis Space Center Phenological Parameters Estimation Tool Presented by Jerry Gasser Lockheed Martin Mission Services John C. Stennis Space Center USDA.
SSE SAS Project: Snow Cover Map Service SSE Workshop 2009 María José Guerrero, Gorka J Lendrino, Rosana Romero ESRIN-Italy / 10 November 2009.
US Croplands Richard Massey Dr Teki Sankey. Objectives 1.Classify annual cropland extent, Rainfed-Irrigated, and crop types for the US at 250m resolution.
Geospatial Data Abstraction Library(GDAL) Sabya Sachi.
Python Scripting for Computational Science CPS 5401 Fall 2014 Shirley Moore, Instructor October 6,
Brian Johnson and Doug Young
VEGA-GEOGLAM Web-based GIS for crop monitoring and decision support in agriculture Evgeniya Elkina, Russian Space Research Institute The GEO-XIII Plenary.
Introduction to Graphics
Automating parflow preprocessing steps for DEMs
LAND COVER CLASSIFICATION WITH THE IMPACT TOOL
Spatial Models – Raster Stacy Bogan
Extracting NDVI from MODIS 12-band Satellite Imagery
Data Analysis using Python-I
Cloud Distributed Computing Environment Hadoop
Lecture 2 Components of GIS
Satellite data that we’ve acquired
Presentation transcript:

Geoprocessing with GDAL and Numpy in Python Delong Zhao

Geoprocessing with GDAL and Numpy in Python GDAL - Geospatial Data Abstraction Library Numpy - the N-dimensional array package for scientific computing with Python. Both of them are open source software Read raster dataset using GDAL Do some calculation using Numpy Output to geospatial dataset using GDAL

GDAL Supports about 100 raster formats – ArcInfo grids, ArcSDE raster, Imagine, Idrisi, – ENVI, GRASS, GeoTIFF – HDF4, HDF5 – USGS DOQ, USGS DEM – ECW, MrSID – TIFF, JPEG, JPEG2000, PNG, GIF, BMP – See

Numpy the fundamental package needed for scientific computing with Python. a powerful N-dimensional array object sophisticated (broadcasting) functions tools for integrating C/C++ and Fortran code useful linear algebra, Fourier transform, and random number capabilities.

Installation 1. Enthought python scientific computing package, includes numpy – GDAL - Geospatial Data Abstraction Library – Or all of these has been installed on EOMF and Cybercommons servers

Tutorial / / ers ers er/python/science/idl-numpy.html er/python/science/idl-numpy.html

Sample 1 Read two tif files (red band and nir band) Calculate Output NDVI in same projection and georeference as the input file. Numpy example

Algorithm development for global cropping intensity from crop per year 2-crop per year 3-crop per year

(b) 6/11/99 rice field preparation (c) 7/3/99 2-weeks after rice transplanting (d) 9/6/99 rice plant heading Dynamics of winter wheat and paddy rice fields in Nanjing, Jiangsu, China winter wheat paddy rice

MODIS 8-day composites of surface reflectance product (MOD09A1) NDSINDVI, EVI, LSWI Snow mask Cloud mask Permanent water mask Evergreen vegetation mask Cropping intensity ( # of crops per year) Crop calendar (planting & harvesting dates) Inundation and paddy rice Temporal profile analysis of individual pixels

Cropping Intensity map in 2004 Global Mapping of Croplands

Python multiprocessing g.html g.html import multiprocessing pool = multiprocessing.Pool(processes=multiprocessing.cpu_count()) pool.map(doprocess,findfiles(root_dir))

Benchmark I did some benchmark. By using all 8 cpu and 16G memory on one eomf server can finish 1 MODIS tile NDVI, EVI, CLOUD,SNOW, LANDWATER, FLOOD, Drought products in 15 minutes. This means we can finish global 296 tiles MODIS data in 786 hours (32 days) with one server. And we have 6 computation servers, we can improve it to 6 days if all the servers can do the job.