Page 1 of 1

MOD00.P2021030.1005_1.PDS.bz2 fails

Posted: Tue Feb 09, 2021 11:25 am America/New_York
by oo_processing
I have been trying to process this file unsuccessfully for some time...

$ lltotal 717184-rw-rw-r-- 1 oo_processing user  34255872 Feb  9 10:58 ancillary_data.db-rw-rw-r-- 1 oo_processing user 395212632 Feb  9 11:11 MOD00.P2021030.1005_1.PDS-rw-rw-r-- 1 oo_processing user 304645870 Feb 9 11:15 MOD00.P2021030.1005_1.PDS.bz2

$ ./MOD00.P2021030.1005_1.PDS -o MOD00.P2021030.1005.PERSIAN_GULF_FULL.L1A_LAC --startnudge=0 --stopnudge=10Traceback (most recent call last): File "/shares/cms_optics/apps/seadas/seadas-7.5.3/ocssw/scripts/", line 92, in <module>    m.l0()  File "/shares/cms_optics/apps/seadas/seadas-7.5.3/ocssw/scripts/modules/", line 241, in l0 self.gransec = ProcUtils.diffsecs(self.start, self.stop, 't')  File "/shares/cms_optics/apps/seadas/seadas-7.5.3/ocssw/scripts/modules/", line 370, in diffsecs return (t1-t0).total_seconds()AttributeError: 'datetime.timedelta' object has no attribute 'total_seconds'attachment 1

MOD00.P2021030.1005_1.PDS.bz2 fails

Posted: Tue Feb 09, 2021 11:57 am America/New_York
by OB.DAAC - SeanBailey
"AttributeError: 'datetime.timedelta' object has no attribute 'total_seconds'"

...ya need a newer version of python...

MOD00.P2021030.1005_1.PDS.bz2 fails

Posted: Tue Feb 09, 2021 1:24 pm America/New_York
by oo_processing

Sorry. I have all flavours of python, and I forget to switch when I go to command line from auto version.
Having said that I looked at the PM1ATTNR files.
The "PM1ATTNR.P2021030.1000.003.old" was in my anc directories named correctly as "PM1ATTNR.P2021030.1000.003".
I downloaded it again and it is "PM1ATTNR.P2021030.1000.003".
They are both the same size, so I thought nothing of it. And ran file (both were data).
Then I diff'ed the files.... diff!!! Long story short it worked...

[bmurch@optics0 test]$ ll -ltrh
total 1.3G
-rw-rw-r-- 1 oo_processing user 377M Feb  9 11:11 MOD00.P2021030.1005_1.PDS
-rw-rw-r-- 1 oo_processing user 291M Feb  9 11:15 MOD00.P2021030.1005_1.PDS.bz2
drwxrwxr-x 3 oo_processing user 4.0K Feb  9 11:16 fail
drwxrwxr-x 2 oo_processing  user 4.0K Feb  9 11:22 supplimental
-rw-rw-r-- 1 oo_processing  user  318 Feb  9 12:50 DO.SEADAS_L1A_GEO_EXTRACT_H5.PERSIAN_GULF.MODISA.MOD00.P2021030.1005_1.wo
-rw-rw-r-- 1 oo_processing  user 453K Feb  9 13:06 PM1ATTNR.P2021030.1000.003
-rw-rw-r-- 1 oo_processing  user 453K Feb  9 13:08 PM1ATTNR.P2021030.1000.003.old

-rw-rw-r-- 1 oo_processing user  198 Feb  9 13:08 MOD00.P2021030.1005.PERSIAN_GULF_FULL.L1A_LAC.atteph
-rw-rw-r-- 1 oo_processing user  824 Feb  9 13:09 MOD00.P2021030.1005.PERSIAN_GULF_FULL.L1A_LAC.anc
-rw-rw-r-- 1 oo_processing user  33M Feb  9 13:13 ancillary_data.db
-rw-rw-r-- 1 oo_processing user  87M Feb  9 13:13 MOD00.P2021030.1005.PERSIAN_GULF_FULL.GEO
-rw-rw-r-- 1 oo_processing user 530M Feb  9 13:13 MOD00.P2021030.1005.PERSIAN_GULF_FULL.L1A_LAC

[bmurch@optics0 test]$ file PM1ATTNR.P2021030.1000.003 PM1ATTNR.P2021030.1000.003.old
PM1ATTNR.P2021030.1000.003:     data
PM1ATTNR.P2021030.1000.003.old: data

[bmurch@optics0 test]$ diff PM1ATTNR.P2021030.1000.003 PM1ATTNR.P2021030.1000.003.old
Binary files PM1ATTNR.P2021030.1000.003 and PM1ATTNR.P2021030.1000.003.old differ