Page 1 of 1

ERROR: geogen_modis failed to produce a geolocation file

Posted: Tue Mar 13, 2018 11:30 am America/New_York
by ionutserban
Hello.

I have installed Seadas 7.4 and ocssw procesor on Ubuntu 16.04.3.

I try to create the GEO file running the following command "modis_GEO.py -v A2016249110000.L1A_LAC" and I received the following error:
######
Searching database: /home/ionut/seadas-7.4/ocssw/var/ancillary_data.db

Input file: A2016249110000.L1A_LAC
Start time: 2016249110000
End time: 2016249110459

Downloading 'PM1EPHND.P2016248.1200.003' to /home/ionut/seadas-7.4/ocssw/var/anc/2016/248
Downloading 'PM1ATTNR.P2016249.1000.003' to /home/ionut/seadas-7.4/ocssw/var/anc/2016/249

Creating MODIS geolocation file...
MODIS GEO version 6.1.0, built Feb 26 2018 11:38:10
geogen_modis returned with exit status: 1
*** ERROR: geogen_modis failed to produce a geolocation file.
*** Validation test failed for geolocation file: A2016249110000.GEO
Validation test returned with error code:  1
ERROR: MODIS geolocation processing failed.

###

Does anyone has any idea on how can I solve this problem?

Thank you!
Ionut
attachment 1

attachment 2

attachment 3

ERROR: geogen_modis failed to produce a geolocation file

Posted: Wed Mar 14, 2018 11:12 am America/New_York
by gnwiii
I have no problem processing the same file.  You have:

Searching database: /home/ionut/seadas-7.4/ocssw/var/ancillary_data.db, while I get

Searching database: /home/seadas/ocssw/run/var/ancillary_data.db.  Note the extra run directory in the ancillary data path.
I suspect you got the wrong OCSSW_bash.env file from NASA's server, see SeaDAS 7.4 OCSSW install on linux -- pyverchk.py not found.  Maybe a there is a glitch in NASA's time machine.

ERROR: geogen_modis failed to produce a geolocation file

Posted: Wed Mar 14, 2018 11:42 am America/New_York
by gfireman
The LogStatus file indicates:
No entry for file with LID 600020
This should point to the geolocation LUT.
I'd say to try "Update OC Processors" - but even I get the error described in the link gnwii gave.

ERROR: geogen_modis failed to produce a geolocation file

Posted: Wed Mar 14, 2018 2:06 pm America/New_York
by OB SeaDAS - dshea
Just fixed this.  Please update you OCSSW and all should be well.

ERROR: geogen_modis failed to produce a geolocation file

Posted: Thu May 10, 2018 7:54 am America/New_York
by zhigang
Dear Don,

I am getting this error again. And according to your suggestions, I updated the ocssw via install_ocssw.py, but it still failed. Then, I remove the all files in the directory of ocssw, and re-installed the ocssw via:
./install_ocssw.py --install-dir=./ocssw --git-branch=v7.4 --aqua --terra --verbose

However, the problem was still thrown, I don't know why, my system is Centos 7.0, could you give me some instructions?

---------------------------------------------Details of Error--------------------------------------------------------------------

modis_GEO.py /mnt/da81fa5a-016e-4718-a7ed-b89f4cd59da5/L1A/saltonsea/A2017243214000.L1A_LAC.x.hdf --output=/home/optics/tmp/A2017243214000.GEO --verbose

Determining required attitude and ephemeris files...
Searching database: /home/optics/seadas-7.4/ocssw/run/var/ancillary_data.db

Input file: /mnt/da81fa5a-016e-4718-a7ed-b89f4cd59da5/L1A/saltonsea/A2017243214000.L1A_LAC.x.hdf
Start time: 2017243214000
End time: 2017243214459

  Found: /home/optics/seadas-7.4/ocssw/run/var/anc/2017/243/PM1EPHND.P2017243.1200.003
  Found: /home/optics/seadas-7.4/ocssw/run/var/anc/2017/243/PM1ATTNR.P2017243.2000.003

Creating MODIS geolocation file...
GEO version: 6.0.11 built on Apr 26 2016 (15:06:00)
geogen_modis returned with exit status: 1
*** ERROR: geogen_modis failed to produce a geolocation file.
*** Validation test failed for geolocation file: A2017243214000.GEO
Validation test returned with error code:  1
ERROR: MODIS geolocation processing failed.

MODIS GEO failed.Will process next grandule.
Failed to process.

Best,

Zhigang

ERROR: geogen_modis failed to produce a geolocation file

Posted: Thu May 10, 2018 10:16 am America/New_York
by gfireman
Please rerun modis_GEO.py with the "-log" flag, then attach the resulting LogStatus file.

ERROR: geogen_modis failed to produce a geolocation file

Posted: Thu May 10, 2018 10:21 am America/New_York
by OB SeaDAS - knowles
How did you create the input file: A2017243214000.L1A_LAC.x.hdf ?  I'm assuming it is an extract of A2017243214000.L1A_LAC.  Perhaps try the full file and make sure it works. 

Also note that SeaDAS 7.5 has just been released.  https://oceancolor.gsfc.nasa.gov/forum/oceancolor/topic_show.pl?tid=8598

Danny

ERROR: geogen_modis failed to produce a geolocation file

Posted: Fri May 11, 2018 12:06 am America/New_York
by zhigang
Thanks a lot Danny.

Yes, the L1A_LAC.x.hdf is extracted from the full file in ocean color browser. That's exciting for the SeaDAS 7.5 release, I will updated the lastest version and then try again.

Best,
Zhigang