Page 1 of 2

Missing attitude files!

Posted: Tue Aug 02, 2022 9:43 pm America/New_York
by cliffordoo
Hi Everyone,

I am working with L1A files from the ocean color web. They are from 2008. There seems to some trouble accessing ancillary files for modis_GEO.py. Is this a problem on my end or are the files acutally missing

"Missing attitude files!
Failed to identify/retrieve attitude/ephemeris required to geolocate"

Thanks for you help.

Andy

Re: Missing attitude files!

Posted: Wed Aug 03, 2022 5:20 am America/New_York
by alakes
I am also facing the same issue. I am using SeaDAS 7.5.3. I have also tried updating Ocssw Processor from GUI using Clean Install option. But the issue still persists.

-------------------------------------------------------------------------------------------------------
o-mc@ChloroGIN:modis_GEO.py $L1AFile -o $GEOFile --refreshDB --verbose --enable-dem --threshold=95
Determining required attitude and ephemeris files...
Searching database: /home/o-mc/SeaDAS7.5/ocssw/var/ancillary_data.db
()
Input file: A2022214094500.L1A_LAC
Sensor : modisa
Start time: 2022214094500
End time : 2022214095000
()
OBPG session started
Missing attitude files!
Cannot create geolocation from A2022214094500.L1A_LAC; exiting.
o-mc@ChloroGIN:

Re: Missing attitude files!

Posted: Wed Aug 03, 2022 7:57 am America/New_York
by yuyuanxie
Same here. modis_atteph command returns neither attitude nor ephemeris

/////////
$ modis_atteph --disable-download -m aqua -s 2022210120001 -r --ancdb=/tmp/junk.db
/tmp/junk.db

$
///////

-Yuyuan

Re: Missing attitude files!

Posted: Wed Aug 03, 2022 10:48 am America/New_York
by OB SeaDAS - xuanyang02
modis_atteph should work now --

$ modis_atteph --disable-download -m aqua -s 2022210120001
Running debug binaries...
/Users/*/ocssw/bin
ancillary_data.db
att1=/Users/*/ocssw/var/anc/2022/210/PM1ATTNR.P2022210.1000.003
att2=/Users/*/ocssw/var/anc/2022/210/PM1ATTNR.P2022210.1200.003
eph1=/Users/*/ocssw/var/anc/2022/209/PM1EPHND.P2022209.1200.003
eph2=/Users/*/ocssw/var/anc/2022/210/PM1EPHND.P2022210.1200.003

Re: Missing attitude files!

Posted: Wed Aug 03, 2022 11:57 am America/New_York
by OB SeaDAS - xuanyang02
I tried modis_GEO.py (SeaDAS-7.5.3) on A2022214094500.L1A_LAC. It did get att/eph files, but failed at the last minute --
$ modis_GEO.py A2022214094500.L1A_LAC
Running debug binaries...
/Applications/seadas-7.5.3/ocssw/bin
Running debug binaries...
/Applications/seadas-7.5.3/ocssw/bin
MODIS GEO version 6.1.0, built Aug 16 2019 12:57:37
scan: 0 out of 203 Wed Aug 3 11:38:10 2022
scan: 10 out of 203 Wed Aug 3 11:38:10 2022
scan: 20 out of 203 Wed Aug 3 11:38:10 2022
scan: 30 out of 203 Wed Aug 3 11:38:10 2022
scan: 40 out of 203 Wed Aug 3 11:38:10 2022
scan: 50 out of 203 Wed Aug 3 11:38:10 2022
scan: 60 out of 203 Wed Aug 3 11:38:10 2022
scan: 70 out of 203 Wed Aug 3 11:38:10 2022
scan: 80 out of 203 Wed Aug 3 11:38:10 2022
scan: 90 out of 203 Wed Aug 3 11:38:10 2022
scan: 100 out of 203 Wed Aug 3 11:38:10 2022
scan: 110 out of 203 Wed Aug 3 11:38:10 2022
scan: 120 out of 203 Wed Aug 3 11:38:10 2022
scan: 130 out of 203 Wed Aug 3 11:38:10 2022
scan: 140 out of 203 Wed Aug 3 11:38:10 2022
scan: 150 out of 203 Wed Aug 3 11:38:10 2022
scan: 160 out of 203 Wed Aug 3 11:38:10 2022
scan: 170 out of 203 Wed Aug 3 11:38:10 2022
scan: 180 out of 203 Wed Aug 3 11:38:10 2022
scan: 190 out of 203 Wed Aug 3 11:38:10 2022
scan: 200 out of 203 Wed Aug 3 11:38:10 2022
Percent valid data (0.00) is less than threshold (95.00)
ERROR: MODIS geolocation processing failed.

However, modis_GEO (SeaDAS-8.2.0, OCSSW V2022.0) on A2022214094500.L1A_LAC succeeded. Also, now modis GEO files are available here --https://oceandata.sci.gsfc.nasa.gov/directdataaccess/Geo-Location/Aqua-MODIS/2022/214/

Re: Missing attitude files!

Posted: Thu Aug 04, 2022 12:36 am America/New_York
by alakes
Now the issue is Percent valid data (0.00) is less than threshold (whatever is set as threshold)

o-mc@ChloroGIN$ modis_GEO.py $BASE.L1A_LAC -o $BASE.GEO --refreshDB --verbose --enable-dem --threshold=95
Determining required attitude and ephemeris files...
Searching database: /home/o-mc/SeaDAS7.5/ocssw/var/ancillary_data.db
()
Input file: A2022214082500.L1A_LAC
Sensor : modisa
Start time: 2022214082500
End time : 2022214083000
()
OBPG session started
Found: /home/o-mc/SeaDAS7.5/ocssw/var/anc/2022/213/PM1EPHND.P2022213.1200.003
Found: /home/o-mc/SeaDAS7.5/ocssw/var/anc/2022/214/PM1ATTNR.P2022214.0800.003

Creating MODIS geolocation file...
MODIS GEO version 6.1.0, built Aug 16 2019 12:46:24
scan: 0 out of 203 Thu Aug 4 09:58:19 2022
scan: 10 out of 203 Thu Aug 4 09:58:19 2022
scan: 20 out of 203 Thu Aug 4 09:58:19 2022
scan: 30 out of 203 Thu Aug 4 09:58:19 2022
scan: 40 out of 203 Thu Aug 4 09:58:19 2022
scan: 50 out of 203 Thu Aug 4 09:58:19 2022
scan: 60 out of 203 Thu Aug 4 09:58:19 2022
scan: 70 out of 203 Thu Aug 4 09:58:20 2022
scan: 80 out of 203 Thu Aug 4 09:58:20 2022
scan: 90 out of 203 Thu Aug 4 09:58:20 2022
scan: 100 out of 203 Thu Aug 4 09:58:20 2022
scan: 110 out of 203 Thu Aug 4 09:58:20 2022
scan: 120 out of 203 Thu Aug 4 09:58:20 2022
scan: 130 out of 203 Thu Aug 4 09:58:20 2022
scan: 140 out of 203 Thu Aug 4 09:58:20 2022
scan: 150 out of 203 Thu Aug 4 09:58:20 2022
scan: 160 out of 203 Thu Aug 4 09:58:20 2022
scan: 170 out of 203 Thu Aug 4 09:58:20 2022
scan: 180 out of 203 Thu Aug 4 09:58:20 2022
scan: 190 out of 203 Thu Aug 4 09:58:20 2022
scan: 200 out of 203 Thu Aug 4 09:58:20 2022
geogen_modis returned with exit status: 0
Percent valid data (0.00) is less than threshold (95.00)
('Validation test returned with error code: ', SystemExit(1,))
ERROR: MODIS geolocation processing failed.


I am using SeaDAS 7.5.3. And for now, there are limitations towards shifting to SeaDAS 8.

Re: Missing attitude files!

Posted: Thu Aug 04, 2022 7:14 pm America/New_York
by cliffordoo
Up and running now. Thanks, Yuyuan

Re: Missing attitude files!

Posted: Fri Aug 05, 2022 10:36 am America/New_York
by OB SeaDAS - xuanyang02
Here is the fix for the issue of "Percent valid data (0.00) is less than threshold". Please download https://oceandata.sci.gsfc.nasa.gov/ocssw/de200.eos and replace /home/o-mc/SeaDAS7.5/ocssw/share/modis/static/de200.eos with it. You should be able to run modis_GEO.py then.

Re: Missing attitude files!

Posted: Fri Aug 05, 2022 11:33 am America/New_York
by gfireman

Re: Missing attitude files!

Posted: Tue Jul 18, 2023 1:24 am America/New_York
by gbourdin
Hi all,
I am having the same problem with missing att and eph files using modis_GEO. I have recently updated OCSSW to V2023.2.
I have tried running again

Code: Select all

install_ocssw --install_dir $HOME/ocssw --tag V2023.2 --modisa
but it didn't help.

The scene I am trying to process are more than a week old, so I don't think this post viewtopic.php?t=3278 and this one viewtopic.php?t=1818 are applicable to my case.

What I can say is that it was working fine with OCSSW V2022.3, not sure it is related, but it might.
An example of image that doesn't work: A2023164100000.L1A_LAC

I have tried to clear the ancillary files and databases but no success. It is important to note that modis_GEO works to process MODIS_TERRA data.

Thank you,
Guillaume