I've had some issues using the multilevel processor (MLP) to do l2gen and am unsure how to fix this particular issue. I am trying to process Level 1 GOCI data. When running the MLP in the GUI, it will successfully take in a list of ifiles, but only lists some of the bands I want to be processing. Below is what is showing in the window before I instruct the program to run:
And here is what is in the my_rayleigh_par file that I am loading in as a parameter says:
l2prod=Lt Lt_nnn Lr Lr_nnn rhos rhos_nnn solz
As you can see, the program is not reading in all of the L2 products that I want. Furthermore, when I try to run it, even when manually selecting what bands I want to be produced, no bands are available and instead SeaDAS will only show L2 flags, lat and lon, and none of the specified inputs.
It says it is running successfully, and takes about an hour to go through all the images but the L2 products it makes does not work.
When trying to run it through my terminal, it says that the multilevel_processor (or multilevel_processor.py depending on what forum instructions I have tried) file or directory does not exist, even when it is listed in my working directory at that time.
If anyone has any idea where I am going wrong please let me know.
Can you post (as an attachment) the output of ncdump -h <l2file> (where <l2file> is the name of the L2 file you generated)?
BTW, since you are not asking for products that require atmospheric correction, you can speed up l2gen by setting atmocor=0
Attached is the output for the L2 file. I've got it in pdf but can change the format if you'd like it in something else.
And as for the wavelength clarification: does that mean if I just specify what wavelengths out of Lt, rhos, etc I want rather than the x_nnn specification, it would work?
- (43.71 KiB) Downloaded 39 times
You could try using File->Import->NetCDF to load the file or regenerate it without the 3D datasets.
For some reason, while specifying variables manually, there are no options to select wavelengths for Lt, Lr or rhos. You can see this in the L2.png I've attached. I think this may be why it's automatically creating a 3D product. When I try to mitigate that by writing in the variables I want like "Lt_nnn Lr_nnn rhos_nnn solz" in a parameter file, only a "Lt" (Even if I've put in "Lt_nnn") is specified when the parameter file is loaded.
As a result, the product that's created cannot be loaded as any kind of cdf in the import option you outlined. Generic, BEAM and CF options don't recognize the .L2_LAC_OC filetype.
- Import_netCDF.png (400.35 KiB) Not viewed yet
- L2.png (229.63 KiB) Not viewed yet
- Subject Matter Expert
- Posts: 195
- Joined: Tue Feb 09, 2021 5:42 pm America/New_York
viewtopic.php?f=7&t=2348&sid=6ef5b057b4 ... 06d29a244c
The work around for you is to run multilevel_processor (not multilevel_processor.py in your case) on command line, making sure
"l2prod=Lt_nnn, Lr_nnn, rhos_nnn, solz" in your parfile