l2gen for MODIST -- mismatch in ntime
Posted: Wed Nov 19, 2025 2:29 pm America/New_York
Dear Support,
Example files
https://oceandata.sci.gsfc.nasa.gov/getfile/T2025320041500.L1A_LAC.bz2
https://oceandata.sci.gsfc.nasa.gov/getfile/TERRA_MODIS.20251116T041501.GEO.NRT.hdf
My OCSSW is V2025.5, and I was running the following commands:
$ bunzip2 -d T2025320041500.L1A_LAC.bz2
$ modis_L1B T2025320041500.L1A_LAC TERRA_MODIS.20251116T041501.GEO.NRT.hdf -o=test.L1B_LAC.nc
$ l2gen ifile=test.L1B_LAC.nc geofile=TERRA_MODIS.20251116T041501.GEO.NRT.hdf ofile=test.L2_LAC.nc
The error was:
...
Loading XCAL rvs and polarization sensitivities from /V2025.5/var/modist/xcal/OPER/xcal_modist_txc_oc_v4.11b_412.hdf
-E- /V2025.5/ocssw_src/oel_hdf4/libl1/xcal.c Line 148: mismatch in ntime
My workaround is to use the old v4.7b xcal files, but what happened to those newer versions?
Thanks,
-Yuyuan
Example files
https://oceandata.sci.gsfc.nasa.gov/getfile/T2025320041500.L1A_LAC.bz2
https://oceandata.sci.gsfc.nasa.gov/getfile/TERRA_MODIS.20251116T041501.GEO.NRT.hdf
My OCSSW is V2025.5, and I was running the following commands:
$ bunzip2 -d T2025320041500.L1A_LAC.bz2
$ modis_L1B T2025320041500.L1A_LAC TERRA_MODIS.20251116T041501.GEO.NRT.hdf -o=test.L1B_LAC.nc
$ l2gen ifile=test.L1B_LAC.nc geofile=TERRA_MODIS.20251116T041501.GEO.NRT.hdf ofile=test.L2_LAC.nc
The error was:
...
Loading XCAL rvs and polarization sensitivities from /V2025.5/var/modist/xcal/OPER/xcal_modist_txc_oc_v4.11b_412.hdf
-E- /V2025.5/ocssw_src/oel_hdf4/libl1/xcal.c Line 148: mismatch in ntime
My workaround is to use the old v4.7b xcal files, but what happened to those newer versions?
Thanks,
-Yuyuan