Page 1 of 1

OCSSW modis_GEO Ancillary Data Issues

Posted: Wed Jan 03, 2024 3:29 pm America/New_York
by bigelowtek

I am using the ocssw source code to batch process Aqua and Terra L1a files to L2. A percentage of both Aqua and Terra files successfully processed, before processing failed for the entirety of the remaining files due to an sqlite3.DatabaseError with "database disk image is malformed." This traced back to and to I am attaching a screenshot of the error file, and of the processing script.

I am running ocssw version 8.0 with installed tag V2023.3. I have updated the luts, but this has not helped to resolve the issue. Please let me know if you have any suggestions. Thank you.

Re: OCSSW modis_GEO Ancillary Data Issues

Posted: Fri Jan 05, 2024 12:31 pm America/New_York
by OB.DAAC - SeanBailey
Well, something buggered the sqlite DB used by the ancDB code. Perhaps something on the SQLite documentation page about possible sources for corruption will help you diagnose the issue:


Re: OCSSW modis_GEO Ancillary Data Issues

Posted: Mon Jan 08, 2024 11:10 am America/New_York
by bigelowtek
Hi Sean,

I had two jobs reading and writing to the ancillary_data.db file simultaneously, which corrupted the file.

Thank you,