MODAPS PCR 19-023

PCR Number 19-023
Date 2019-10-25
Initiator Sudipta Sarkar
Abstract PGE12 v6.1.2, PGE13 v6.1.7, PGE14 v6.1.2, PGE15 v6.1.2, PGE130 v6.1.2, PGE135 v6.1.3, PGE140 v6.1.2 --

1. Introduced correct initialization of input metadata structure array in the PGE13 main function. This metadata structure array is used to keep track of each input L2G file and read in all file level metadata from each input file. Incorrect initialization of this array was causing errors, when less than expected number of input files were present, giving rise to missing RANGEBEGININGDATE values.

2. The incorrect SPSOPARAMETER value, seen in some of the L2G files output from PGE12, was fixed by fixing the buffer setting of the "l2g_spso" variable in "L2G_main" function. This array buffer was not set correctly in C6 to reflect several new additional L2G files that were introduced in C6.

3. Several downstream dependent PGEs, like PGE14, PGE15, PGE130, PGE135 and PGE140 that are product specific to wrappers for PGE12, were also re-baselined to accommodate the changes made to PGE12.

Problem Statement The operational C61 PGE13, L2G lite output products are showing missing values for the RANGEBEGININGDATE parameter and hence causing failures in post-processing data ingestion. C61 operational PGE12 outputs like MxDTBGD, MxD21GD, MxDMAIAC[1|h]km files are showing invalid or missing values for the SPSOPARAMETER in the global metadata.
Description of Change 1. Introduced correct initialization of input metadata structure array in the PGE13 main function. This metadata structure array is used to keep track of each input L2G file and read in all file level metadata from each input file. Incorrect initialization of this array was causing errors, when less than expected number of input files were present, giving rise to missing RANGEBEGININGDATE values.

2. The incorrect SPSOPARAMETER value, seen in some of the L2G files output from PGE12, was fixed by fixing the buffer setting of the "l2g_spso" variable in "L2G_main" function. This array buffer was not set correctly in C6 to reflect several new additional L2G files that were introduced in C6.

3. Several downstream dependent PGEs, like PGE14, PGE15, PGE130, PGE135 and PGE140 that are product specific to wrappers for PGE12, were also re-baselined to accommodate the changes made to PGE12.

Products Affected Daily L2G (PGE12) and L2G lite process (PGE13)
Software Affected PGE12 v6.1.2, PGE13 v6.1.7, PGE14 v6.1.2, PGE15 v6.1.2, PGE130 v6.1.2, PGE135 v6.1.3, PGE140 v6.1.2
Processing String to Receive the Change Terra and Aqua Forward Processing. Terra and Aqua Reprocessing.
Downstream Product Effects All L2G and L2G lite product specific files will be impacted by these changes.
Data Granules to be Used for Science Testing No science test required.
Justification The changes made to PGE12 and PGE13 will help resolve some errors related to incorrect values of SPSOPARAMETER and RANGEBEGININGDATE that were dormant in these codes since C6.
Effective Date for Implementation of Change Completed
Status Major algorithm development completed. Sadashiva Devadiga approved on 11/01/2019. Gang Ye approved on 11/04/2019.