File tree 2 files changed +40
-0
lines changed
python/plugins/processing/algs/grass7
2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ i.in.spotvgt
2
+ Imports SPOT VGT NDVI data into a raster map.
3
+ Imagery (i.*)
4
+ ParameterRaster|input|Name of input SPOT VGT NDVI HDF file|False
5
+ *ParameterBoolean|-a|Also import quality map (SM status map layer) and filter NDVI map|False
6
+ OutputRaster|output|SPOT NDVI Raster
7
+
Original file line number Diff line number Diff line change
1
+ # -*- coding: utf-8 -*-
2
+
3
+ """
4
+ ***************************************************************************
5
+ i_in_spotvgt.py
6
+ ---------------
7
+ Date : April 2016
8
+ Copyright : (C) 2016 by Médéric Ribreux
9
+ Email : medspx at medspx dot fr
10
+ ***************************************************************************
11
+ * *
12
+ * This program is free software; you can redistribute it and/or modify *
13
+ * it under the terms of the GNU General Public License as published by *
14
+ * the Free Software Foundation; either version 2 of the License, or *
15
+ * (at your option) any later version. *
16
+ * *
17
+ ***************************************************************************
18
+ """
19
+
20
+ __author__ = 'Médéric Ribreux'
21
+ __date__ = 'April 2016'
22
+ __copyright__ = '(C) 2016, Médéric Ribreux'
23
+
24
+ # This will get replaced with a git SHA1 when you do a git archive
25
+
26
+ __revision__ = '$Format:%H$'
27
+
28
+
29
+ def processInputs (alg ):
30
+ # Here, we apply directly the algorithm
31
+ # So we just need to get the projection of the layer !
32
+ layer = alg .getParameterValue ('input' )
33
+ alg .setSessionProjectionFromLayer (layer , alg .commands )
You can’t perform that action at this time.
0 commit comments