Page 1 of 2

Problems encountered when processing MDOIS

Posted: Thu Dec 31, 2020 3:27 am
by dingky
Hello!

I encountered an error message when using polymer v4.13 to process MODIS T20171210000.L1A_LAC: the sensor could not be recognized.
How do I convert L1a to L1c?
Thank you very much if you can give some examples of code

Thank you very much for your answers!

Regards,

ding

Re: Problems encountered when processing MDOIS

Posted: Fri Jan 01, 2021 5:39 pm
by fsteinmetz
Dear Ding,

You can use the script tools/make_L1C.py to generate L1C files from L1A. This script uses l2gen. See also section 2.4 of the readme file.
Cheers,
François

Re: Problems encountered when processing MDOIS

Posted: Sat Mar 13, 2021 5:04 am
by dingky
thank you so much for your suggestion,
The modis_L1C.py I downloaded did not execute successfully. Could you please tell me how to run modis_L1C.py and how to get the data in .L1A format.I did not find the l2gen script.I did not find the l2gen script.
I don’t know if the format of l2gen's input and output data is correct. I run this script l2gen in the terminal without any results or feedback.
Please see the picture below is my process


regards,
ding

Re: Problems encountered when processing MDOIS

Posted: Thu Mar 18, 2021 3:57 am
by dingky
Hello everyone,
How do I run Modis in polymer-v4.13. Py. I didn't find Modis in the help file. How to use. Py (including input/output file format).

Code: Select all

~/polyner-v4.13$ ./modis_L1c.py /hone/ding/data/nodisoo3/T2015137O005o0.L1A_LAC
And I got the wrong message:

Code: Select all

bash: ./ modis_L1C.py: No such file or directory
What am I supposed to do?

Thanks

Re: Problems encountered when processing MDOIS

Posted: Mon Mar 22, 2021 4:48 pm
by fsteinmetz
Hello,

The script is not modis_L1c.py, but tools/make_L1C.py. Could you please try with this script ?
Furthermore, this script requires the installation of l2gen, which is included in the SeaDAS software, and more precisely in the OCSSW suite. Please see https://seadas.gsfc.nasa.gov/ and https://oceancolor.gsfc.nasa.gov/docs/ocssw/
Kind regards,
François

Re: Problems encountered when processing MDOIS

Posted: Tue Mar 23, 2021 9:27 am
by dingky
Thank you for your suggestion,

An error message appeared when running the code:

Code: Select all

ding@ding-virtual-nachine:~/polyner-v4.13$ /hone/ding/polyner-v4.13/tools/nake_L1C.py /hone/ding/data/modis/0323/A2020030091000.L1A_LAC
Unfortunately, i received an error message:

Code: Select all

->processing /home/ding/data/modis/0323/A2020030091000.L1A_LAC
/home/ding/polymer-v4.13/tools/tmpfiles.py:576: Userwarning: The Tmpoutput class will be deprecated. Please use TmpManager instead.
warnings.warn( 'The Tmpoutput class will be deprecated. Please use TmpManager instead. ' )
modis_GEO.py --output=/tmp/tmpfiles_fefxnuwp/A2020030091000.GEO /hone/ding/data/modis/0323/A2020030091000.L1A_LAC
sh: 1:modis_GEO. py: not found
Error in modis__GEO

May I ask me to enter A2020030091000.GEO, where do I get this A2020030091000.GEO file?


kind regards,
ding

Re: Problems encountered when processing MDOIS

Posted: Tue Mar 23, 2021 10:44 am
by fsteinmetz
The GEO file will be generated by modis_GEO.py, which is included in the SeaDAS installation (OCSSW).
Please make sure that OCSSW is properly installed. If so, you will be able to call the commande l2gen and modis_GEO.py.

Re: Problems encountered when processing MDOIS

Posted: Wed Mar 24, 2021 10:24 am
by dingky
Thank you very much.
I run modis_GEO , l2gen processed on seadas.
and then received an error message when running ./tools/modis_L1C.py *.L1A_LAC

Re: Problems encountered when processing MDOIS

Posted: Fri Apr 02, 2021 7:59 am
by fsteinmetz
Hello,
Can you make sure that you are able to call the command "l2gen" ?

Re: Problems encountered when processing MDOIS

Posted: Wed Apr 07, 2021 3:12 am
by dingky
Thank you very much,

I am not sure. I can successfully run l2gen in seadas. May I use seadas to generate .L1C