R.modis GSoC 2011

From GRASS-Wiki
Revision as of 09:59, 3 June 2011 by Lucadelu (talk | contribs) (final version of second report week 1)
Jump to navigation Jump to search
Student Name: Luca Delucchi, University of Genova
Organization: OSGeo - Open Source Geospatial Foundation
Mentor Name: Markus Neteler
Title: r.in.modis for GRASS GIS
SVN: r.modis

Abstract

MODIS data are free geodata and they are crucial to derive ecological indicators. The two NASA satellite systems, Terra and Aqua, significantly improve the current data availability for scientific purposes. I am facing the challenge to develop a module which will be able to:

  • import data from a downloaded file
  • directly download MODIS data from a FTP server and then load the file(s) in a GRASS GIS location.

Application

Idea

The idea was little changed from the initial idea that I wrote in the GSOC propose. I spoke with my mentor and we think that the best solution is create three modules:

  • r.modis.download: to download the MODIS products using pyModis library. It will be able to download more tiles and different range of times
  • r.modis.import: to import Level 3 MODIS products, it will use pyModis library to parse the XML files and MODIS Reprojection Tool. It will be able to import single tile or creates a mosaic for more tiles of the same day
  • r.modis.process: to process and import MODIS raw data using MODIS Reprojection Tool Swath

Project Plan

May 23 - 29 Wiki documentation, implement new functions in pyModis library, start r.modis.download
May 30 - June 5 finish and testing r.modis.download, start r.modis.import
June 6 - July 3 finish and testing r.modis.import, I hope also to start r.modis.process
July 4 - July 31 r.modis.process
August 1 - 16 documentation, testing and bug fixing
August 17 - 22 final reviews

Weekly reports

#0 2011-05-27

1) What do I have completed this week?

I spent nine wonderful days in Prague, I attended before the meeting Geoinformatics FCE CTU 2011 and after the first Community spring. Nine days with a lot of main developers and power users of GRASS community I worked on pyModis, the library that I'll use in r.modis.download to download MODIS file:

  • fix a bug with Stefano Cavallari [1]
  • implement a new class to parse XML files of MODIS products [2]
  • fix bug about name of downloaded file, now us os.path.join [3]
  • fix bug in dayDownload function [4]

I also start to implement r.modis.download


2) What am I going to achieve for next week?

Finish r.modis.download, if I'll have time I'd like to develop a class in pyModis to write a XML file for the mosaik file, that I'll use in r.modis.import


3) Is there any blocking issue?

No, everything is under control

#1 2011-06-03

1) What do I have completed this week?

During this week I could work well, without problems. I finished r.modis.download, now I'm looking for more info about Makefile, after I'll solve this little blocking issue I'll commit in the svn repository the first version of r.modis.download. I started to write documentation files for GRASS modules as HTML file like the other modules. I also work on pyModis, I added some functions and a new class to launch Modis Reprojection Tool (MRT) software to convert HDF file into TIF file. This class it will use in r.modis.import that I started to do. Here some changes

  • an option to force the last day, this is useful with sixteen days data because delta could download more data that the user want [5]
  • fix bug when pyModis write the list of downloaded files [6]
  • add new functions for read every variables from xml file of MODIS data [7] and one for create a configuration file for MRT Tool software [8]
  • start new class to convert HDF to TIF file [9]


2) What am I going to achieve for next week?

Release the first version of r.modis.download on the grass-addons svn repository. Working on r.modis.import


3) Is there any blocking issue?

I have to study Makefile system in GRASS GIS to compile pyModis like a library.

#2 2011-06-10

#3 2011-06-17

#4 2011-06-24

#5 2011-07-01

#6 2011-07-08

#7 2011-07-15 Mid-term evaluations

#8 2011-07-22

#9 2011-07-29

#10 2011-08-05

#11 2011-08-12

#12 2011-08-19

#13 2011-08-26 Final evaluation