Page 1 of 1

Processing multiple images simultaneously with different parameters

Posted: Mon Mar 25, 2024 6:50 pm America/New_York
by daurin
I am processing multiple files (PACE in this case, but probably not relevant to the question) on the same machine with l2gen. Each call to l2gen is in separate terminal and each has a distinct parameter file, but they are processing the same L1B file.

Code: Select all

term1-on-computer1% l2gen par=par1.txt
---
term2-on-computer1% l2gen par=par2.txt
Where par1.txt is like

Code: Select all

ifile=XYZ.L1B.nc
ofile=XYZ.L2.version1.nc
uncertaintyfile=myuncertaintyfile1.nc
And par2.txt is like

Code: Select all

ifile=XYZ.L1B.nc
ofile=XYZ.L2.version2.nc
uncertaintyfile=myuncertaintyfile2.nc
Is there any reason this will create a conflict or erroneous/unexpected results due to, e.g., temporary files written by the first process being used by the second?

Re: Processing multiple images simultaneously with different parameters

Posted: Fri Apr 12, 2024 10:33 am America/New_York
by OB SeaDAS - xuanyang02
Dirk,

Have you tried to put the same L1B file in two different directories, and see how l2gen behaves?

Bing