Page 1 of 1

Issues with + start time

Posted: Wed Sep 25, 2019 5:50 pm America/New_York
by alaroy
Good evening folks!

I recently upgraded OCSSW on our processing machine by calling --install-dir=/marine-services/ocssw/ -b v7.5 --aqua --viirsn

on 9/16/2019 around 6 PM EDT. Since then the script has not been working for us when called with a start time, for example: --sst --ice -m aqua -s 2019268154000
Traceback (most recent call last):
  File "/marine-services/ocssw/scripts/", line 196, in <module>
  File "/marine-services/ocssw/scripts/", line 185, in main
    if (filename and g.finddb()) or (start and g.finddb()):
  File "/marine-services/ocssw/scripts/modules/", line 358, in finddb
    status = ancdatabase.check_file(filekey,anctype=anctype,starttime=self.start)
  File "/marine-services/ocssw/scripts/modules/", line 218, in check_file
    query = ' '.join(['select', id, 'from', table, 'where filename =', '"' + filename + '"', " and type = ",
TypeError: cannot concatenate 'str' and 'NoneType' objects

If this has been corrected already please just let me know and I'll upgrade again.

If not perhaps somebody who's familiar with the logic in these scripts could please take a look at it? I tried poking around a bit in the python scripts but could not figure out what was happening well enough to wade in and fix it.

Thank you!
-Andrew L.

Issues with + start time

Posted: Thu Sep 26, 2019 8:03 am America/New_York
by OB.DAAC - SeanBailey
It has already been fixed.  Update again :grin: