[GRASS-SVN] r73526 - in grass-addons/grass7/imagery/i.modis: i.modis.download libmodis
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Oct 13 08:47:10 PDT 2018
Author: veroandreo
Date: 2018-10-13 08:47:09 -0700 (Sat, 13 Oct 2018)
New Revision: 73526
Modified:
grass-addons/grass7/imagery/i.modis/i.modis.download/i.modis.download.py
grass-addons/grass7/imagery/i.modis/libmodis/rmodislib.py
Log:
i.modis addon: add monthly global VI products (MOD13C2 and MYD13C2)
Modified: grass-addons/grass7/imagery/i.modis/i.modis.download/i.modis.download.py
===================================================================
--- grass-addons/grass7/imagery/i.modis/i.modis.download/i.modis.download.py 2018-10-12 18:38:25 UTC (rev 73525)
+++ grass-addons/grass7/imagery/i.modis/i.modis.download/i.modis.download.py 2018-10-13 15:47:09 UTC (rev 73526)
@@ -50,7 +50,7 @@
#% label: Name of MODIS product(s)
#% multiple: yes
#% required: no
-#% options: lst_terra_daily_1000, lst_aqua_daily_1000, lst_terra_eight_1000, lst_aqua_eight_1000, lst_terra_daily_5600, lst_aqua_daily_5600, lst_terra_monthly_5600, lst_aqua_monthly_5600, ndvi_terra_sixteen_250, ndvi_aqua_sixteen_250, ndvi_terra_sixteen_500, ndvi_aqua_sixteen_500, ndvi_terra_sixteen_1000, ndvi_aqua_sixteen_1000, ndvi_terra_sixteen_5600, ndvi_aqua_sixteen_5600, snow_terra_daily_500, snow_aqua_daily_500, snow_terra_eight_500, snow_aqua_eight_500, surfreflec_terra_daily_500, surfreflec_aqua_daily_500, surfreflec_terra_eight_500, surfreflec_aqua_eight_500, water_terra_250
+#% options: lst_terra_daily_1000, lst_aqua_daily_1000, lst_terra_eight_1000, lst_aqua_eight_1000, lst_terra_daily_5600, lst_aqua_daily_5600, lst_terra_monthly_5600, lst_aqua_monthly_5600, ndvi_terra_sixteen_250, ndvi_aqua_sixteen_250, ndvi_terra_sixteen_500, ndvi_aqua_sixteen_500, ndvi_terra_sixteen_1000, ndvi_aqua_sixteen_1000, ndvi_terra_sixteen_5600, ndvi_aqua_sixteen_5600, ndvi_terra_monthly_5600, ndvi_aqua_monthly_5600, snow_terra_daily_500, snow_aqua_daily_500, snow_terra_eight_500, snow_aqua_eight_500, surfreflec_terra_daily_500, surfreflec_aqua_daily_500, surfreflec_terra_eight_500, surfreflec_aqua_eight_500, water_terra_250
#% answer: lst_terra_daily_1000
#%end
#%option
Modified: grass-addons/grass7/imagery/i.modis/libmodis/rmodislib.py
===================================================================
--- grass-addons/grass7/imagery/i.modis/libmodis/rmodislib.py 2018-10-12 18:38:25 UTC (rev 73525)
+++ grass-addons/grass7/imagery/i.modis/libmodis/rmodislib.py 2018-10-13 15:47:09 UTC (rev 73526)
@@ -83,7 +83,9 @@
vi1km_suff = {'.1_km_16_days_NDVI': '.1_km_16_days_VI_Quality',
'.1_km_16_days_EVI': '.1_km_16_days_VI_Quality'}
vi6km_suff = {'.5600m_16_days_NDVI': '.5600m_16_days_VI_Quality',
- '.5600m_16_days_EVI': '.5600m_16_days_VI_Quality'}
+ '.5600m_16_days_EVI': '.5600m_16_days_VI_Quality'},
+ vi6km_month_suff = {'.5600m_monthly_NDVI': '.5600m_monthly_VI_Quality',
+ '.5600m_monthly_EVI': '.5600m_monthly_VI_Quality'}
# values of snow product:
snow1_spec = ('( 1 )')
snow1_specqa = ('( 1 1 )')
@@ -190,10 +192,20 @@
'suff': vi6km_suff, 'res': 5600,
'color': vi_color, 'days': sixteen},
'ndvi_aqua_sixteen_5600': {'url': urlbase, 'folder': 'MOLA/',
- 'prod': 'MOD13C1.006',
+ 'prod': 'MYD13C1.006',
'spec': vi_spec, 'spec_qa': vi_specqa,
'suff': vi6km_suff, 'res': 5600,
- 'color': vi_color, 'days': sixteen}
+ 'color': vi_color, 'days': sixteen},
+ 'ndvi_terra_monthly_5600': {'url': urlbase, 'folder': 'MOLT/',
+ 'prod': 'MOD13C2.006',
+ 'spec': vi_spec, 'spec_qa': vi_specqa,
+ 'suff': vi6km_month_suff, 'res': 5600,
+ 'color': vi_color, 'days': monthly},
+ 'ndvi_aqua_monthly_5600': {'url': urlbase, 'folder': 'MOLA/',
+ 'prod': 'MYD13C2.006',
+ 'spec': vi_spec, 'spec_qa': vi_specqa,
+ 'suff': vi6km_month_suff, 'res': 5600,
+ 'color': vi_color, 'days': monthly}
}
surf_refl = {'surfreflec_terra_eight_500': {'url': urlbase,
'folder': 'MOLT/',
More information about the grass-commit
mailing list