Page 1 of 2

Issue with Naming Conventions in Multilevel_Processor

Posted: Wed Nov 16, 2022 10:47 pm America/New_York
by wspeiser
I am attempting to use the Multilevel-processor in order to batch process MODIS images from L1A to L2gen. When I manually execute each tool individually (geo->l1b->l2gen) everything works out fine. However, when I use the Multilevel-processor, the L1B output files are named in the convention folder/*.L1B.hdf which yields the issue "does not have standard name; must include string "1KM" or "LAC" in order to find "QKM" file." during the l2gen processing... Any ideas on how to change the output naming convention for the L1B step in the processor? Thank you for your help and time!

Re: Issue with Naming Conventions in Multilevel_Processor

Posted: Thu Nov 17, 2022 10:26 am America/New_York
by OB SeaDAS - xuanyang02
Please let us know a few things so we can replicate the error:

1. what version of SeaDAS and what tag of OCSSW you are using.
2. the name of an L1A file you processed
3. command line or GUI

V2022.0 has some issues with naming conventions. Please try R2022.19

Re: Issue with Naming Conventions in Multilevel_Processor

Posted: Fri Nov 18, 2022 2:35 pm America/New_York
by OB SeaDAS - xuanyang02
Actually, you can try V2022.1

Re: Issue with Naming Conventions in Multilevel_Processor

Posted: Wed Nov 23, 2022 4:28 pm America/New_York
by wspeiser
Worked on V2022.1- thanks a bunch!

Re: Issue with Naming Conventions in Multilevel_Processor

Posted: Wed Nov 23, 2022 4:37 pm America/New_York
by wspeiser
However, while it is now working on one file, when I select multiple files in the UI (which adds their paths to a .lst file) I get the error: "ERORR!! Ifile contains UNKNOWN mission" even though all the files work individually... does this have to do with the version or am I doing something incorrectly? Having trouble finding a similar problem in the forum..

Re: Issue with Naming Conventions in Multilevel_Processor

Posted: Wed Nov 23, 2022 5:21 pm America/New_York
by OB SeaDAS - xuanyang02
Please paste the content of your .lst file here. Make sure it's edited with plain text editor.


Here is a post you might find relevant --
viewtopic.php?p=11440&hilit=multilevel+processor#p11383

Re: Issue with Naming Conventions in Multilevel_Processor

Posted: Mon Nov 28, 2022 3:52 pm America/New_York
by wspeiser
I tried replicating the steps in the suggested post but unfortunately did not work! Below is what is within the _inputFiles.lst opened in text editor:


/home/williamcoast/Desktop/Projects/NearshrTemp/Data/Raw/A2002185205500.L1A_LAC.x.hdf
/home/williamcoast/Desktop/Projects/NearshrTemp/Data/Raw/A2002206211500.L1A_LAC.x.hdf
/home/williamcoast/Desktop/Projects/NearshrTemp/Data/Raw/A2002219204500.L1A_LAC.x.hdf
/home/williamcoast/Desktop/Projects/NearshrTemp/Data/Raw/A2002233205500.L1A_LAC.x.hdf
/home/williamcoast/Desktop/Projects/NearshrTemp/Data/Raw/A2002241214500.L1A_LAC.x.hdf
/home/williamcoast/Desktop/Projects/NearshrTemp/Data/Raw/A2002255215500.L1A_LAC.x.hdf
/home/williamcoast/Desktop/Projects/NearshrTemp/Data/Raw/A2011222212000.L1A_LAC.x.hdf
/home/williamcoast/Desktop/Projects/NearshrTemp/Data/Raw/A2011223220500.L1A_LAC.x.hdf
/home/williamcoast/Desktop/Projects/NearshrTemp/Data/Raw/A2011224211000.L1A_LAC.x.hdf
/home/williamcoast/Desktop/Projects/NearshrTemp/Data/Raw/A2011227214000.L1A_LAC.x.hdf
/home/williamcoast/Desktop/Projects/NearshrTemp/Data/Raw/A2011228204500.L1A_LAC.x.hdf

Re: Issue with Naming Conventions in Multilevel_Processor

Posted: Mon Nov 28, 2022 5:20 pm America/New_York
by OB SeaDAS - xuanyang02
"ERORR!! Ifile contains UNKNOWN mission" means SeaDAS can't recognize the mission of one of your files.

Please make sure "/home/williamcoast/Desktop/Projects/NearshrTemp/Data/Raw/A2002185205500.L1A_LAC.x.hdf" exists, and multilevel_processor works with this file.

Now use a plian text editor like Vi or Emacs to edit ifilelist.txt in the directory of /home/williamcoast/Desktop/Projects/NearshrTemp/Data/Raw/ with the following line as its content:
/home/williamcoast/Desktop/Projects/NearshrTemp/Data/Raw/A2002185205500.L1A_LAC.x.hdf

Then try multilevel_processor again, choosing /home/williamcoast/Desktop/Projects/NearshrTemp/Data/Raw/ifilelist.txt as ifile and see if multilevel_processor still complains about "unknown mission"

Re: Issue with Naming Conventions in Multilevel_Processor

Posted: Tue Nov 29, 2022 2:10 pm America/New_York
by wspeiser
This method works fully with one file in the .txt file for the multilevel_processor and I no longer receive the "Unknown Mission" error. However a new error is now occurring in the processor when processing L2B files to L2 with the following error message. When I check the log file there is no text within...

execution exception: java.io.IOException: multilevel_processor failed with exit code 1.
Check log for more details.
Running geo on file /home/williamcoast/Desktop/Projects/NearshrTemp/Data/Raw/A2002185205500.L1A_LAC.x.hdf.
Running geo on file /home/williamcoast/Desktop/Projects/NearshrTemp/Data/Raw/A2002206211500.L1A_LAC.x.hdf.
Running level 1b on file /home/williamcoast/Desktop/Projects/NearshrTemp/Data/Raw/A2002185205500.L1A_LAC.x.hdf.
Running level 1b on file /home/williamcoast/Desktop/Projects/NearshrTemp/Data/Raw/A2002206211500.L1A_LAC.x.hdf.
Unrecoverable error encountered in processing.

Re: Issue with Naming Conventions in Multilevel_Processor

Posted: Tue Nov 29, 2022 7:25 pm America/New_York
by OB SeaDAS - xuanyang02
multilevel_processor has a little trouble to match an L1A file with the right geo file. The solution is to skip [geo] in parfile text area (mlp knows to create a geo file if it does not find one). So your parfile text area should look like this:

[main]
ifile=/home/williamcoast/Desktop/Projects/NearshrTemp/Data/Raw/ifilelist.txt
odir=/home/williamcoast/Desktop/Projects/NearshrTemp/Data/Raw/
overwrite=1

[level 1b]

[l2gen]