Question building ocssw - missing header files
Posted: Wed Feb 07, 2018 4:48 pm America/New_York
I am building the OCSSW software on a Virtual Machine running CentOS, following these steps: http://seadas.gsfc.nasa.gov/build_ocssw.html. I ran
install_ocssw.py --oli --src
My goal is to get the OLI-specific files as well as the latest version of the source code. Looking at install_ocssw.py, that should give me version 7.5. Question: is this a stable version of the source code? Or should I specify a git-version such as 7.4? In particular, I want to be able to process OLI data products using the most up-to-date l2gen, and maybe run a few other apps to generate ocean color products for OLI data.
I was able to build the 3rd party files, particularly after switching to cmake3 for hdf5. I am currently trying to build the ocssw software, however I'm running into issues with the header files. (cd $OCSSWROOT/build; mkdir cbuild; cd cbuild; cmake ..; make -j 20; make install)
1. The header files in ocssw/build/include are, in some cases, different from the same header file in oel_hdf4/* or oel_util/*.
2. When building the l2gen code, the Calibrate_Viirs_Connector.h file (required by l1_viirs_nc.c) is missing. I am not finding it in any of the subdirectories under ocssw/build/src and I don't find it in ocssw/build/include.
[ 17%] Building C object src/l2gen/CMakeFiles/l1det2det.dir/l1_viirs_nc.c.o
~/ocssw/build/src/l2gen/l1_viirs_nc.c:11:39: fatal error: Calibrate_Viirs_Connector.h: No such file or directory
#include <Calibrate_Viirs_Connector.h>
Any feedback on what I may be doing wrong, or if I need a different version of the ocssw software, would be greatly appreciated.
install_ocssw.py --oli --src
My goal is to get the OLI-specific files as well as the latest version of the source code. Looking at install_ocssw.py, that should give me version 7.5. Question: is this a stable version of the source code? Or should I specify a git-version such as 7.4? In particular, I want to be able to process OLI data products using the most up-to-date l2gen, and maybe run a few other apps to generate ocean color products for OLI data.
I was able to build the 3rd party files, particularly after switching to cmake3 for hdf5. I am currently trying to build the ocssw software, however I'm running into issues with the header files. (cd $OCSSWROOT/build; mkdir cbuild; cd cbuild; cmake ..; make -j 20; make install)
1. The header files in ocssw/build/include are, in some cases, different from the same header file in oel_hdf4/* or oel_util/*.
2. When building the l2gen code, the Calibrate_Viirs_Connector.h file (required by l1_viirs_nc.c) is missing. I am not finding it in any of the subdirectories under ocssw/build/src and I don't find it in ocssw/build/include.
[ 17%] Building C object src/l2gen/CMakeFiles/l1det2det.dir/l1_viirs_nc.c.o
~/ocssw/build/src/l2gen/l1_viirs_nc.c:11:39: fatal error: Calibrate_Viirs_Connector.h: No such file or directory
#include <Calibrate_Viirs_Connector.h>
Any feedback on what I may be doing wrong, or if I need a different version of the ocssw software, would be greatly appreciated.