I upgraded from OCSSW 2025.V0 to 2025.V1, after which I started getting a new error message.
I'm calling a command of the form:
Code: Select all
l2gen maskland=0 proc_cloud=0 maskcloud=on cloud_thresh=0.1 maskhilt=0 maskstlight=0 resolution=1000 gas_opt=8 l2prod=rhos_NNNN,rhos_MMMM,rhos_PPPP ifile=S20250420170000-L1A-NPP-OBPG.nc geofile=S20250420170000-GEO-NPP-OBPG.nc ofile=/data/NC/L2/FAI/2025-04-20/S20250420170000-L2-NPP-OBPG.nc.tmp
Code: Select all
VcstCmnGeo::NOVAS-C function local_planet returned error code.
VcstCmnGeo::Lunar vectorAtSat() failure at scan 201
VcstCalNetcdfInputItem::readNetcdfDynamic() Failure opening LUT file: /marine-services/ocssw/var/viirsn/cal/OPER/
VIIRS_NPP_CAL_RSB_DYNAMIC_LUT_20111122_20240107_v3.1.0.25_20230901_obpg.nc
VcstCalNetcdfInputItem::getData(iet) Failure reading netCDF dynamic file for LUT F_PREDICTED_LUT
VcstObc:: LUT initialization failure
VcstViirsCal::Granule initialization failure
Error in initialization.

I then looked in /marine-services/ocssw/var/viirsn/cal/OPER/ and there was a file
"VIIRS_NPP_CAL_RSB_DYNAMIC_LUT_20111122_20250428_v3.1.0.39_20241218_obpg.nc"
but no
"VIIRS_NPP_CAL_RSB_DYNAMIC_LUT_20111122_20240107_v3.1.0.25_20230901_obpg.nc"
So based on the datecodes in the filename it is failing because I have a newer RSB LUT file than expected???
As an experiment I created a symbolic link from the older filename to the newer one and that granule (and many others) processed normally - so it works with a "hacky solution" but I would really like to know the "correct" fix.
How is this RSB LUT filename determined? Is there some environment variable and/or configuration parameter that I can use to adjust it
Thank you!
-Andrew L.