[GRASS-SVN] r47820 - in grass-addons/grass7/raster/r.modis:
libmodis r.modis.download
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Aug 22 10:00:06 EDT 2011
Author: lucadelu
Date: 2011-08-22 07:00:06 -0700 (Mon, 22 Aug 2011)
New Revision: 47820
Modified:
grass-addons/grass7/raster/r.modis/libmodis/rmodislib.py
grass-addons/grass7/raster/r.modis/r.modis.download/r.modis.download.py
Log:
fix typo, add LAEA projection
Modified: grass-addons/grass7/raster/r.modis/libmodis/rmodislib.py
===================================================================
--- grass-addons/grass7/raster/r.modis/libmodis/rmodislib.py 2011-08-22 13:43:18 UTC (rev 47819)
+++ grass-addons/grass7/raster/r.modis/libmodis/rmodislib.py 2011-08-22 14:00:06 UTC (rev 47820)
@@ -233,8 +233,9 @@
self.proj = get_proj()
self.val = self.proj['proj']
self.dat = self.proj['datum']
- self.projections = {'ll':'GEO', 'lcc':'LAMBERT CONFORMAL CONIC',
- 'merc':'MERCATOR', 'polar':'POLAR STEREOGRAPHIC', 'utm':'UTM',
+ self.projections = {'laea' : 'LAMBERT AZIMUTHAL EQUAL AREA','ll':'GEO',
+ 'lcc':'LAMBERT CONFORMAL CONIC', 'merc':'MERCATOR',
+ 'polar':'POLAR STEREOGRAPHIC', 'utm':'UTM',
'tmerc':'TRANSVERSE MERCATOR'}
self.datumlist = {'none':'NONE', 'nad27':'NAD27', 'nad83':'NAD83',
'wgs66':'WGS66', 'wgs72':'WGS72', 'wgs84':'WGS84'}
Modified: grass-addons/grass7/raster/r.modis/r.modis.download/r.modis.download.py
===================================================================
--- grass-addons/grass7/raster/r.modis/r.modis.download/r.modis.download.py 2011-08-22 13:43:18 UTC (rev 47819)
+++ grass-addons/grass7/raster/r.modis/r.modis.download/r.modis.download.py 2011-08-22 14:00:06 UTC (rev 47820)
@@ -216,7 +216,7 @@
grass.message(modisOgg.filelist.name)
else:
grass.message(_("All data are downloaded, continue with "\
- + "r.in.modis.import or with the option 'files=%s'" % modisOgg.filelist.name))
+ + "r.modis.import with the option 'files=%s' and mrtpath=/path/to/mrt/" % modisOgg.filelist.name))
if __name__ == "__main__":
options, flags = grass.parser()
More information about the grass-commit
mailing list