Problems encountered by modis_L1A.py in processing moids L0 data

Please enter here to ask a question about any NASA Science related topics!
OB.DAAC - SeanBailey
User Services
User Services
Posts: 1222
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1

Re: Problems encountered by modis_L1A.py in processing moids L0 data

by OB.DAAC - SeanBailey » Mon Mar 15, 2021 8:58 am America/New_York

You need to uncompress the file first. The file is compressed with bzip2 (the .bz2 extension).

Sean

Tags:

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 171
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1

Re: Problems encountered by modis_L1A.py in processing moids L0 data

by OB SeaDAS - xuanyang02 » Mon Mar 15, 2021 11:09 am America/New_York

The file corresponds to MODOOF.A2015137.1415.20151380602.001.PDS is MOD00.A2015137.1415_1.PDS. You need to download MOD00.A2015137.1415_1.PDS.bz2 and uncompress it as Sean said.

Also, please choose T instead of A for mission.
Screen Shot 2021-03-15 at 11.03.16 AM.png
Screen Shot 2021-03-15 at 11.03.16 AM.png (132.72 KiB) Not viewed yet
Bing

geoding
Posts: 16
Joined: Thu Mar 04, 2021 8:38 am America/New_York

Re: Problems encountered by modis_L1A.py in processing moids L0 data

by geoding » Tue Mar 16, 2021 4:05 am America/New_York

Thank you very much for your instructions. I have successfully run modis_L1A.
I still encounter some problems.Excuse me, is the OCSSW-l2gen tool used for atmospheric correction of modis in seadas7.5.3? And I am using OCSSW-modis_GEO to process and get the following error message.
"
java.util.concurrent.ExecutionException: java.io.IOException: modis_GEO.py failed with exit code 1.
Check log for more details.
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at javax.swing.SwingWorker.get(SwingWorker.java:602)
at gov.nasa.gsfc.seadas.processing.common.CallCloProgramAction$4.done(CallCloProgramAction.java:252)
at javax.swing.SwingWorker$5.run(SwingWorker.java:737)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)
at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)
at javax.swing.Timer.fireActionPerformed(Timer.java:313)
at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.io.IOException: modis_GEO.py failed with exit code 1.
Check log for more details.
at gov.nasa.gsfc.seadas.processing.common.CallCloProgramAction$4.doInBackground(CallCloProgramAction.java:241)
at gov.nasa.gsfc.seadas.processing.common.CallCloProgramAction$4.doInBackground(CallCloProgramAction.java:212)
at com.bc.ceres.swing.progress.ProgressMonitorSwingWorker.doInBackground(ProgressMonitorSwingWorker.java:55)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
java.util.concurrent.ExecutionException: java.io.IOException: modis_L1B.py failed with exit code 1.
Check log for more details.
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at javax.swing.SwingWorker.get(SwingWorker.java:602)
at gov.nasa.gsfc.seadas.processing.common.CallCloProgramAction$4.done(CallCloProgramAction.java:252)
at javax.swing.SwingWorker$5.run(SwingWorker.java:737)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)
at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)
at javax.swing.Timer.fireActionPerformed(Timer.java:313)
at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.io.IOException: modis_L1B.py failed with exit code 1.
Check log for more details.
at gov.nasa.gsfc.seadas.processing.common.CallCloProgramAction$4.doInBackground(CallCloProgramAction.java:241)
at gov.nasa.gsfc.seadas.processing.common.CallCloProgramAction$4.doInBackground(CallCloProgramAction.java:212)
at com.bc.ceres.swing.progress.ProgressMonitorSwingWorker.doInBackground(ProgressMonitorSwingWorker.java:55)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
java.util.concurrent.ExecutionException: java.io.IOException: modis_GEO.py failed with exit code 1.
Check log for more details.
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at javax.swing.SwingWorker.get(SwingWorker.java:602)
at gov.nasa.gsfc.seadas.processing.common.CallCloProgramAction$4.done(CallCloProgramAction.java:252)
at javax.swing.SwingWorker$5.run(SwingWorker.java:737)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)
at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)
at javax.swing.Timer.fireActionPerformed(Timer.java:313)
at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.io.IOException: modis_GEO.py failed with exit code 1.
Check log for more details.
at gov.nasa.gsfc.seadas.processing.common.CallCloProgramAction$4.doInBackground(CallCloProgramAction.java:241)
at gov.nasa.gsfc.seadas.processing.common.CallCloProgramAction$4.doInBackground(CallCloProgramAction.java:212)
at com.bc.ceres.swing.progress.ProgressMonitorSwingWorker.doInBackground(ProgressMonitorSwingWorker.java:55)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
java.util.concurrent.ExecutionException: java.io.IOException: modis_GEO.py failed with exit code 1.
Check log for more details.
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at javax.swing.SwingWorker.get(SwingWorker.java:602)
at gov.nasa.gsfc.seadas.processing.common.CallCloProgramAction$4.done(CallCloProgramAction.java:252)
at javax.swing.SwingWorker$5.run(SwingWorker.java:737)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)
at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)
at javax.swing.Timer.fireActionPerformed(Timer.java:313)
at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.io.IOException: modis_GEO.py failed with exit code 1.
Check log for more details.
at gov.nasa.gsfc.seadas.processing.common.CallCloProgramAction$4.doInBackground(CallCloProgramAction.java:241)
at gov.nasa.gsfc.seadas.processing.common.CallCloProgramAction$4.doInBackground(CallCloProgramAction.java:212)
at com.bc.ceres.swing.progress.ProgressMonitorSwingWorker.doInBackground(ProgressMonitorSwingWorker.java:55)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)


"
Attachments
modis_GEO.png
modis_GEO.png (83.82 KiB) Not viewed yet
Last edited by geoding on Tue Mar 16, 2021 4:10 am America/New_York, edited 1 time in total.

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 171
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1

Re: Problems encountered by modis_L1A.py in processing moids L0 data

by OB SeaDAS - xuanyang02 » Wed Mar 17, 2021 4:49 pm America/New_York

I was able to produce T2015137000500.GEO with OCSSW -> modis_GEO on T2015137000500.L1A_LAC on GUI. It's hard to tell what went wrong on your side.

Could you please try to run modis_GEO on command line?
1) cd /home/ding/data/modis/003/
2) /home/ding/seadas-7.5.3/ocssw/scripts/modis_GEO.py T2015137000500.L1A_LAC

Bing

geoding
Posts: 16
Joined: Thu Mar 04, 2021 8:38 am America/New_York

Re: Problems encountered by modis_L1A.py in processing moids L0 data

by geoding » Thu Mar 18, 2021 3:45 am America/New_York

Thank you very much for your suggestion, I tried the command line: Unfortunately, I received an error message. But I already have this MetaUtils.The system I am using is Ubuntu20 Linux.
Attachments
make_geo_error3.jpg
make_geo_error3.jpg (97.42 KiB) Not viewed yet
nerwork_error.jpg
nerwork_error.jpg (8.38 KiB) Not viewed yet
Last edited by geoding on Thu Mar 18, 2021 3:51 am America/New_York, edited 1 time in total.

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 171
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1

Re: Problems encountered by modis_L1A.py in processing moids L0 data

by OB SeaDAS - xuanyang02 » Thu Mar 18, 2021 10:43 am America/New_York

It seems to me that you have a network error. Maybe you can try modis_geo.py again when your network is more stable.

Also, if you are not familiar with seadas-7.5.3, you can try our latest version SeaDAS 8.0.0 (Beta). It has same access to OCSSW and has more tools to help users to configure their environment and help us to diagnose issues.

Please check out https://seadas.gsfc.nasa.gov/

geoding
Posts: 16
Joined: Thu Mar 04, 2021 8:38 am America/New_York

Re: Problems encountered by modis_L1A.py in processing moids L0 data

by geoding » Wed Mar 24, 2021 10:45 pm America/New_York

Thanks,
I want to know which script should run seadas for modis atmospheric correction
Last edited by geoding on Wed Mar 24, 2021 10:45 pm America/New_York, edited 1 time in total.

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 171
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1

Re: Problems encountered by modis_L1A.py in processing moids L0 data

by OB SeaDAS - xuanyang02 » Thu Mar 25, 2021 11:43 am America/New_York

"Atmospheric correction is done by `l2gen` from the OCSSW processing system" as George said in another post. Here is the help page for l2gen https://seadas.gsfc.nasa.gov/help/8.0.0 ... L2gen.html
https://seadas.gsfc.nasa.gov/help/8.0.0 ... _LINE_HELP

l2gen needs L1B file and corresponding GEO file for MODIS products. Here is what you need to do:
1) modis_GEO: L1A -> GEO
2) modis_L1B: L1A + GEO - > L1B
3) l2gen: L1B + GEO -> L2

You can find more about OCSSW by going to https://seadas.gsfc.nasa.gov/help/8.0.0/ and expand on SeaDAS Toolbox.

Bing

Post Reply