The forum is locked.
The Ocean Color Forum has transitioned over to the Earthdata Forum (https://forum.earthdata.nasa.gov/). The information existing below will be retained for historical reference. Please sign into the Earthdata Forum for active user support.
Hello,
I am converting Aqua MODIS data from L1 to L2. For the atmospheric correction I get ancillary data using getanc.py.
Everything worked fine for years 2012 to 2020. But for 2011 I get the following errors:
File "/usr/local/cb/ocssw/scripts/getanc.py", line 196, in <module>
sys.exit(main())
File "/usr/local/cb/ocssw/scripts/getanc.py", line 189, in main
g.findweb()
File "/usr/local/cb/ocssw/scripts/modules/anc_utils.py", line 491, in findweb
ancdatabase.openDB()
File "/usr/local/cb/ocssw/scripts/modules/ancDB.py", 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.
Best,
Amita
I am converting Aqua MODIS data from L1 to L2. For the atmospheric correction I get ancillary data using getanc.py.
Everything worked fine for years 2012 to 2020. But for 2011 I get the following errors:
File "/usr/local/cb/ocssw/scripts/getanc.py", line 196, in <module>
sys.exit(main())
File "/usr/local/cb/ocssw/scripts/getanc.py", line 189, in main
g.findweb()
File "/usr/local/cb/ocssw/scripts/modules/anc_utils.py", line 491, in findweb
ancdatabase.openDB()
File "/usr/local/cb/ocssw/scripts/modules/ancDB.py", 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.
Best,
Amita
Amita,
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
For some reason, yours is not able to be opened. You need to figure out why...
Sean
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...
Sean
can you provide the full command line you used?