MODIS l2gen issue with xcal files

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
lindseysfei
Posts: 1
Joined: Mon Apr 20, 2026 4:04 pm America/New_York
Answers: 0

MODIS l2gen issue with xcal files

by lindseysfei » Mon Apr 20, 2026 4:21 pm America/New_York

I'm working with MODIS imagery to get L1C imagery via l2gen. It worked previously, but after a break, I tried it again with a different date/imagery, and it is failing.

Previously I had OCSSW version T2025.16 based off this post (viewtopic.php?t=7294), so I tried reinstalling with the latest test version T2026.4 and it still fails.

These are the last few lines before it fails:

Loading XCAL rvs and polarization sensitivities from /home/lindseys/ocssw/var/modist/xcal/OPER/xcal_modist_txc_oc_v4.13b_412.nc
ERROR: FAILURE TO READ NETCDF xcal file
No such file or directory
file: /home/dshea/linux_64/ocssw/opt/src/netcdf/netcdf-cxx4/cxx4/ncFile.cpp line:88

In the directory /home/lindseys/ocssw/var/modist/xcal/OPER, the file xcal_modist_txc_oc_v4.13b_412.hdf exists but not xcal_modist_txc_oc_v4.13b_412.nc. I think I see the issue here, but not sure how to resolve it (maybe reinstalling a specific version, but outside of trial and error not sure how to decide which one).

If it makes a difference, the old input MODIS data that worked were in HDF, the newer ones are NetCDF. I believe they all came off the LAADS DAAC, but now I feel like I'm unsure about the .hdf data I used that worked (searching for exact same params shows order page with only .nc files now).

Thanks!

Filters:

Post Reply