ERROR: geogen_modis failed to produce a geolocation file

Please enter here to ask a question about any NASA Science related topics!
Post Reply
ionutserban
Posts: 7
Joined: Tue Mar 13, 2018 10:20 am America/New_York

ERROR: geogen_modis failed to produce a geolocation file

by ionutserban » Tue Mar 13, 2018 11:30 am America/New_York

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

Tags:

gnwiii
Posts: 642
Joined: Fri Jan 29, 2021 5:51 pm America/New_York
Answers: 2

ERROR: geogen_modis failed to produce a geolocation file

by gnwiii » Wed Mar 14, 2018 11:12 am America/New_York

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.

gfireman
Posts: 59
Joined: Thu Jan 07, 2010 2:59 pm America/New_York

ERROR: geogen_modis failed to produce a geolocation file

by gfireman » Wed Mar 14, 2018 11:42 am America/New_York

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.

OB SeaDAS - dshea
Subject Matter Expert
Subject Matter Expert
Posts: 219
Joined: Thu Mar 05, 2009 10:25 am America/New_York

ERROR: geogen_modis failed to produce a geolocation file

by OB SeaDAS - dshea » Wed Mar 14, 2018 2:06 pm America/New_York

Just fixed this.  Please update you OCSSW and all should be well.

zhigang
Posts: 69
Joined: Tue Nov 10, 2020 8:03 pm America/New_York

ERROR: geogen_modis failed to produce a geolocation file

by zhigang » Thu May 10, 2018 7:54 am America/New_York

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

gfireman
Posts: 59
Joined: Thu Jan 07, 2010 2:59 pm America/New_York

ERROR: geogen_modis failed to produce a geolocation file

by gfireman » Thu May 10, 2018 10:16 am America/New_York

Please rerun modis_GEO.py with the "-log" flag, then attach the resulting LogStatus file.

OB SeaDAS - knowles
Subject Matter Expert
Subject Matter Expert
Posts: 227
Joined: Mon Apr 07, 2008 4:40 pm America/New_York

ERROR: geogen_modis failed to produce a geolocation file

by OB SeaDAS - knowles » Thu May 10, 2018 10:21 am America/New_York

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

zhigang
Posts: 69
Joined: Tue Nov 10, 2020 8:03 pm America/New_York

ERROR: geogen_modis failed to produce a geolocation file

by zhigang » Fri May 11, 2018 12:06 am America/New_York

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

Post Reply