Change Granule Metadata in the VI EDR Product
Posted: Wed Aug 27, 2014 11:52 am
Sorry to bother you all again on a new challenge:
I was able to add new data field TOC NDVI in the VI EDR product, and now up to the task to change the Granule Level Meta Data, such as Overall TOC NDVI Exclusion Summary, Quality Summary etc. I made the following changes, but couldn't get through the Rebuilding Process successfully.
1. Change $ADL_HOME/xml/VIIRS/VIIRS_VI_EDR.xml to add new data field
2. Change $ADL_HOME/xml/VIIRS/VIIRS_VI_FEDR.xml to add new data field
3. Update $ADL_HOME/cfg/ProCmnProductDictionary_CFG.xml
4. Update $ADL_HOME/include/ProCmnMetadata.h
5. Update $ADL_HOME/include/ProEdrViirsVIGbl.h
6. Change $ADL_HOME/include/ProCmnDqttTestId.h
7. Change $ADL_HOME/EDR/VIIRS/land/VegIndex/include/ProEdrViirsVIDelegate.h
8. Change $ADL_HOME/EDR/VIIRS/land/VegIndex/src/ProEdrViirsVI.cpp
9. Change $ADL_HOME/EDR/VIIRS/land/VegIndex/src/ProEdrViirsVIDelegate.cpp
10. Change $ADL_HOME/EDR/VIIRS/land/VegIndex/src/Calculate_VegIndex.cpp
11. Change $ADL_HOME/cfg/dqmtables/NPP/VIIRS/EDR/VI/VIIRS-VI-EDR-DQTT_npp_20020101010000Z_20020101010000Z_ee00000000000000Z_BASELINE-MON-1_devl_dev_noaa_ops.xml
12. Rebuild ADL by:
1). Execute “make src” in $ADL_HOME/xml/VIIRS
2). Execute “make clean library” in $ADL_HOME/CMN/Utilities/Dictionary/Entries/VIIRS/src/
3). Execute “make clean library program” in $ADL_HOME/EDR/VIIRS/land/VegIndex/src/
I am attaching some log information. The only thing I figured the errors are:
/data/data132/ADL4.2/ADL/lib/libProEdrViirsVI.so: undefined reference to `VI_TOCNDVI_EXCL_SUM'
/data/data132/ADL4.2/ADL/lib/libProEdrViirsVI.so: undefined reference to `VI_TOCNDVI_QUAL'
I am also attaching all the files that I made changes so that maybe someone can help me to test it out. Thank you very very much! Any timely help is sincerely and deeply appreciated!!!
I was able to add new data field TOC NDVI in the VI EDR product, and now up to the task to change the Granule Level Meta Data, such as Overall TOC NDVI Exclusion Summary, Quality Summary etc. I made the following changes, but couldn't get through the Rebuilding Process successfully.
1. Change $ADL_HOME/xml/VIIRS/VIIRS_VI_EDR.xml to add new data field
2. Change $ADL_HOME/xml/VIIRS/VIIRS_VI_FEDR.xml to add new data field
3. Update $ADL_HOME/cfg/ProCmnProductDictionary_CFG.xml
4. Update $ADL_HOME/include/ProCmnMetadata.h
5. Update $ADL_HOME/include/ProEdrViirsVIGbl.h
6. Change $ADL_HOME/include/ProCmnDqttTestId.h
7. Change $ADL_HOME/EDR/VIIRS/land/VegIndex/include/ProEdrViirsVIDelegate.h
8. Change $ADL_HOME/EDR/VIIRS/land/VegIndex/src/ProEdrViirsVI.cpp
9. Change $ADL_HOME/EDR/VIIRS/land/VegIndex/src/ProEdrViirsVIDelegate.cpp
10. Change $ADL_HOME/EDR/VIIRS/land/VegIndex/src/Calculate_VegIndex.cpp
11. Change $ADL_HOME/cfg/dqmtables/NPP/VIIRS/EDR/VI/VIIRS-VI-EDR-DQTT_npp_20020101010000Z_20020101010000Z_ee00000000000000Z_BASELINE-MON-1_devl_dev_noaa_ops.xml
12. Rebuild ADL by:
1). Execute “make src” in $ADL_HOME/xml/VIIRS
2). Execute “make clean library” in $ADL_HOME/CMN/Utilities/Dictionary/Entries/VIIRS/src/
3). Execute “make clean library program” in $ADL_HOME/EDR/VIIRS/land/VegIndex/src/
I am attaching some log information. The only thing I figured the errors are:
/data/data132/ADL4.2/ADL/lib/libProEdrViirsVI.so: undefined reference to `VI_TOCNDVI_EXCL_SUM'
/data/data132/ADL4.2/ADL/lib/libProEdrViirsVI.so: undefined reference to `VI_TOCNDVI_QUAL'
I am also attaching all the files that I made changes so that maybe someone can help me to test it out. Thank you very very much! Any timely help is sincerely and deeply appreciated!!!