Problems encountered when processing MDOIS

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 »

Yes you can probably do so. Then you have to provide the options corresponding to:

Code: Select all

l2gen ifile=<level1a> ofile=<level1c> gain="1 1 1 1 1 1 1 1" oformat="netcdf4" l2prod="rhot_nnn polcor_nnn sena senz sola solz latitude longitude"
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 very much,

I executed the command:

Code: Select all

/home/ding/seadas-7.5.3/ocssw/bin/l2gen ifile=/hone/ding/data/nodis/2015017/A2015017174500.L1A_LAC ofile=/hone/ding/data/nodis/2015017/123/ gain="1 1 11 1 1 1 1" oformat="netcdf4" l2prod="rhot_nnn polcor_nnn sena senz sola solzlatitude longitude"

However, I get the error message:

Code: Select all

-E. /hone/ding/seadas-7.5.3/ocssw/bin/12gen: Error parsing input parameters.

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 »

Hi Ding,
During the installation of SeaDAS OCSSW, some environment variables are set (OCDATAROOT), which does not seem to be the case for you. This variable should be set by sourcing ocssw/OCSSW_bash.env. Please see https://seadas.gsfc.nasa.gov/downloads/ and NASA oceancolor forum for more help.
Kind regards,
François
Mengmeng
Posts: 38
Joined: Fri Mar 19, 2021 12:10 am
company / institution: Taishan University
Location: Taian, Shandong, China

Re: Problems encountered when processing MDOIS

Post by Mengmeng »

Hello dinky,

I have also installed modis_GEO and l2gen by installing OCSSW in SeaDAS7.5.3 on Ubuntu. But when I ran "./make_L1C.py A2004102000000.L1A_LAC", it said "modis_GEO.py: not found".

How did you fix this problem?

Thank you in advance!
Kind regards,
Mengmeng.
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 »

Hi Mengmeng,

I also encountered the same problem. I have not successfully processed the modis data yet. I am trying to solve this problem.

Kind regards,
ding.
Mengmeng
Posts: 38
Joined: Fri Mar 19, 2021 12:10 am
company / institution: Taishan University
Location: Taian, Shandong, China

Re: Problems encountered when processing MDOIS

Post by Mengmeng »

Hi Dingky,

I have solved that problem. What I did was to install SeaDAS and OCSSW first following this website:https://seadas.gsfc.nasa.gov/tutorials/ ... _tutorial/
Then, did this Command Line Configuration:
export OCSSWROOT=[SeaDAS_install_dir]/ocssw
source $OCSSWROOT/OCSSW_bash.env
following this website: https://seadas.gsfc.nasa.gov/downloads/

Good luck,
Mengmeng.
Post Reply