[GRASS-SVN] r66636 - grass/trunk/imagery/i.modis.qc
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Oct 28 03:42:09 PDT 2015
Author: ychemin
Date: 2015-10-28 03:42:08 -0700 (Wed, 28 Oct 2015)
New Revision: 66636
Modified:
grass/trunk/imagery/i.modis.qc/main.c
Log:
bug fix for qc flags differentiation for products 11A1 and 11A2
Modified: grass/trunk/imagery/i.modis.qc/main.c
===================================================================
--- grass/trunk/imagery/i.modis.qc/main.c 2015-10-28 10:36:18 UTC (rev 66635)
+++ grass/trunk/imagery/i.modis.qc/main.c 2015-10-28 10:42:08 UTC (rev 66636)
@@ -492,31 +492,31 @@
}
else if (!strcmp(product, "mod11A1"))
{
- if (!strcmp(qcflag, "mandatory_qa"))
+ if (!strcmp(qcflag, "mandatory_qa_11A1"))
/*calculate mod11A1 mandatory qa flags */
c = mod11A1a(c);
- if (!strcmp(qcflag, "data_quality_flag"))
+ if (!strcmp(qcflag, "data_quality_flag_11A1"))
/*calculate mod11A1 data quality flag */
c = mod11A1b(c);
- if (!strcmp(qcflag, "emis_error"))
+ if (!strcmp(qcflag, "emis_error_11A1"))
/*calculate mod11A1 emissivity error flag */
c = mod11A1c(c);
- if (!strcmp(qcflag, "lst_error"))
+ if (!strcmp(qcflag, "lst_error_11A1"))
/*calculate mod11A1 lst error flag */
c = mod11A1d(c);
}
else if (!strcmp(product, "mod11A2"))
{
- if (!strcmp(qcflag, "mandatory_qa"))
+ if (!strcmp(qcflag, "mandatory_qa_11A2"))
/*calculate mod11A2 mandatory qa flags */
c = mod11A2a(c);
- if (!strcmp(qcflag, "data_quality_flag"))
+ if (!strcmp(qcflag, "data_quality_flag_11A2"))
/*calculate mod11A2 data quality flag */
c = mod11A2b(c);
- if (!strcmp(qcflag, "emis_error"))
+ if (!strcmp(qcflag, "emis_error_11A2"))
/*calculate mod11A2 emissivity error flag */
c = mod11A2c(c);
- if (!strcmp(qcflag, "lst_error"))
+ if (!strcmp(qcflag, "lst_error_11A2"))
/*calculate mod11A2 lst error flag */
c = mod11A2d(c);
}
More information about the grass-commit
mailing list