Hi there,
I am currently building a model in which I would like to include surface chl-a and depth-integrated chl-a. The latter derived from surface chl-a and both as 8-day composites. I have no problems with the surface chl part, but the depth-integrated values are a different story. My aim was to calculate depth-integrated values for individual L2.oc.x.nc files and then use the common binning & mapping process (i.e., l2bin-l3bin-l3mapgen) to obtain the 8-day composites. However, I am at a loss.
I started by simply creating Math Bands for depth integrated values, but I don't see how Math Bands/BEAM-DIMAP data can be included in the binning process. Is there a way to do this in bash command? Or is it better to look into a different method, such as the mosaic tool?
Running SeaDAS 8.4.1, with OCSSW V2023.3 on a MacOS Ventura 13.6.1
Thank you and best wishes,
Renee
Including Band Math data in l2bin
-
- Posts: 2
- Joined: Wed Dec 21, 2022 3:09 am America/New_York
-
- Subject Matter Expert
- Posts: 656
- Joined: Tue Feb 09, 2021 5:42 pm America/New_York
- Been thanked: 2 times
Re: Including Band Math data in l2bin
Currently, l2bin takes an L2 file or NetCDF4 file with similar format as ifile. I was able to use gpt to write the output of bandmaths to a NetCDF4 file, but l2bin is not able to get the necessary information from the file.
-
- Posts: 2
- Joined: Wed Dec 21, 2022 3:09 am America/New_York
Re: Including Band Math data in l2bin
Apologies for the delayed response. Thank you for your reply. I figured l2bin can only use the delivered product types, such as chlor_a in my case. I figured that one could work around this by replacing the chlor_a values with new ones in an external program, saving the new .nc files, and using the new files in l2bin.
-
- Posts: 6
- Joined: Tue Jan 09, 2024 2:16 am America/New_York
Re: Including Band Math data in l2bin
My recommendation would be to start by testing the Mosaic tool option, or exploring the feasibility of an external preprocessing step. Modifying l2bin itself seems more difficult.