MODAPS PCR 19-001

PCR Number 19-001
Date 2019-01-02
Initiator Sudipta Sarkar
Abstract PGE132 v6.0.19 --

1) Fixed LAI wrong parameters MxD15LAIA2.txt and MxD15LAIA3.txt

2) Updated LUTs: MxD12IGBP_lut.xml and MxD44WM_lut.xml

3) Filling empty tiles and missing values with water color for MxD12IGBP and MxD44WM (MODIS_Sinusoidal_L3_2_LL.sh, sds2png_xml_c, added sds2png_xml_emptytile.c)

4) Changed background color of MxD43NBR from blue to gray (MODIS_Sinusoidal_L3_2_LL.sh)

5) Added GDAL option to fix gaps in polar projections (MODIS_CM_EASE_L3_2_polar.sh)

6) Updated LoaderModule for special Case of PGE13 and PGE13LSR

Problem Statement The PGE132 had several issues related to gaps in the GIBS polar snow and sea-ice data products, wrong colors assigned at the higher end of Lai values, fixing colors for the land cover, land water mask as well as the BRDF NBAR RGB products. In addition, there were also miscellaneous bugs in the "sds2png_xml" function that could lead to issues with memory management or color LUT.
Description of Change PGE132 V6.0.19 has been recompiled against the most updated version of "libtiff" libraries to avoid certain issues with the older version of the "libtiff" libraries whereby the polar snow and sea-ice image products were not being generated. This version also has some general bug fixes in the sds2png_xml function to address issues related to floating point comparisons, copying of strings etc. It has updates to the color LUT as well as the associated parameter file to fix the LAI color issue. It has similar changes to the color LUT to reflect the proper color for water in the land cover (MCG12 products) as well as for land in the land water mask (MOG44W products). A fix has also been put in to correct the slivers seen in the monthly snow products that was related to a bug in the GDAL command line. The issue of wrong background color for the BRDF NBAR (MCG43A4) has been tackled through slight code change as well by addition of filled GIBS empty tiles.
Products Affected MODIS C6 Land L3 imagery products
Software Affected PGE132 v6.0.19
Processing String to Receive the Change Terra and Aqua Forward Processing. Terra and Aqua Reprocessing.
Downstream Product Effects None
Data Granules to be Used for Science Testing This PGE V6.0.19 has been tested and evaluated through a GIBS test instance with data spanning 40 days.
Justification This PGE132 version (6.0.19) has been compiled against most updated "libtiff" libraries to generate all missing polar GIBS snow and sea-ice data. Made miscellaneous bug fixes to sds2png_xml function and added a fix to account for the missing color LUT in the higher ranges of LAI values. Made changes in the code as well as respective color LUT to assign proper color for the LAI (MCG15* products), land water mask (MOG44_LQD_WM), land cover (MCG12Q1_LHD_IGBP) and the BRDF NBAR RGB (MCG43A4_LHD_NBR) products. This version will also correct the gaps seen in the polar snow monthly products (M*G10CM_N4D_PSC and M*G10CM_S4D_PSC)
Effective Date for Implementation of Change Completed.
Status Major algorithm development completed. Sadashiva Devadiga approved 01/03/2019. Gang Ye approved on 01/14/2019.