Problems encountered when processing MDOIS

dingky
Posts: 37
Joined: Tue Jun 30, 2020 3:56 am
company / institution: China University of Geosciences
Location: China

Problems encountered when processing MDOIS

Post 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
User avatar
fsteinmetz
Site Admin
Posts: 306
Joined: Fri Sep 07, 2018 1:34 pm
company / institution: Hygeos
Location: Lille, France
Contact:

Re: Problems encountered when processing MDOIS

Post 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
dingky
Posts: 37
Joined: Tue Jun 30, 2020 3:56 am
company / institution: China University of Geosciences
Location: China

Re: Problems encountered when processing MDOIS

Post 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
You do not have the required permissions to view the files attached to this post.
dingky
Posts: 37
Joined: Tue Jun 30, 2020 3:56 am
company / institution: China University of Geosciences
Location: China

Re: Problems encountered when processing MDOIS

Post 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
User avatar
fsteinmetz
Site Admin
Posts: 306
Joined: Fri Sep 07, 2018 1:34 pm
company / institution: Hygeos
Location: Lille, France
Contact:

Re: Problems encountered when processing MDOIS

Post 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
dingky
Posts: 37
Joined: Tue Jun 30, 2020 3:56 am
company / institution: China University of Geosciences
Location: China

Re: Problems encountered when processing MDOIS

Post 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
User avatar
fsteinmetz
Site Admin
Posts: 306
Joined: Fri Sep 07, 2018 1:34 pm
company / institution: Hygeos
Location: Lille, France
Contact:

Re: Problems encountered when processing MDOIS

Post 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.
dingky
Posts: 37
Joined: Tue Jun 30, 2020 3:56 am
company / institution: China University of Geosciences
Location: China

Re: Problems encountered when processing MDOIS

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
fsteinmetz
Site Admin
Posts: 306
Joined: Fri Sep 07, 2018 1:34 pm
company / institution: Hygeos
Location: Lille, France
Contact:

Re: Problems encountered when processing MDOIS

Post by fsteinmetz »

Hello,
Can you make sure that you are able to call the command "l2gen" ?
dingky
Posts: 37
Joined: Tue Jun 30, 2020 3:56 am
company / institution: China University of Geosciences
Location: China

Re: Problems encountered when processing MDOIS

Post by dingky »

Thank you very much,

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