Ancillary Data for MODIS

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
Posts: 184
Joined: Mon Feb 03, 2020 10:27 am America/New_York
Answers: 0
Been thanked: 1 time

Ancillary Data for MODIS

by avmehta » Sun Dec 13, 2020 11:04 am America/New_York

  I am converting Aqua MODIS data from L1 to L2. For the atmospheric correction I get ancillary data using
  Everything worked fine for years 2012 to 2020. But for 2011 I get the following errors:

File "/usr/local/cb/ocssw/scripts/", line 196, in <module>
  File "/usr/local/cb/ocssw/scripts/", line 189, in main
  File "/usr/local/cb/ocssw/scripts/modules/", line 491, in findweb
  File "/usr/local/cb/ocssw/scripts/modules/", line 18, in openDB
    conn = sqlite3.connect(self.dbfile, timeout=30)
sqlite3.OperationalError: unable to open database file

I'd appreciate your help with this.
Thank you.


OB.DAAC - SeanBailey
User Services
User Services
Posts: 1485
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 5 times

Ancillary Data for MODIS

by OB.DAAC - SeanBailey » Mon Dec 14, 2020 9:07 am America/New_York


The getanc script needs to be able to read and write to the sqlite database file "$OCVARROOT/ancillary_data.db" (unless you give it another name with the --ancdb option)
For some reason, yours is not able to be opened.  You need to figure out why...


Posts: 85
Joined: Thu Mar 17, 2005 4:36 pm America/New_York
Answers: 0

Ancillary Data for MODIS

by bruce » Mon Dec 14, 2020 1:40 pm America/New_York

can you provide the full command line you used?

Post Reply