Issue with l2bin and Meris level 2 files
Posted: Fri Nov 12, 2021 8:15 pm America/New_York
Hello,
I'm trying to convert a large number of MERIS level 2 files into binned 4km daily level 3 chlor_a files. However, when I try running l2bin, just l2bin 7.0.1 gets printed to the terminal but none of the other typical information that follows that. Everything works fine when I've tried running it with level 2 MODIS and VIIRS files, so I'm not sure what I'm doing wrong.
Here's the python code I'm using to call l2bin:
subprocess.run(["l2bin",
f"infile={filename}",
f"ofile={out_file}",
f"l3bprod={product}",
f"resolve={spatial_res}",
f"flaguse={flags}",
])
which would end up running this command line for example
l2bin infile=inputfile.nc ofile=outputfile.nc l3bprod=chlor_a resolve=4 flaguse=flags
I'm using the default flags $OCSSWROOT/share/meris/l2bin_defaults.par
Thanks,
Chris
I'm trying to convert a large number of MERIS level 2 files into binned 4km daily level 3 chlor_a files. However, when I try running l2bin, just l2bin 7.0.1 gets printed to the terminal but none of the other typical information that follows that. Everything works fine when I've tried running it with level 2 MODIS and VIIRS files, so I'm not sure what I'm doing wrong.
Here's the python code I'm using to call l2bin:
subprocess.run(["l2bin",
f"infile={filename}",
f"ofile={out_file}",
f"l3bprod={product}",
f"resolve={spatial_res}",
f"flaguse={flags}",
])
which would end up running this command line for example
l2bin infile=inputfile.nc ofile=outputfile.nc l3bprod=chlor_a resolve=4 flaguse=flags
I'm using the default flags $OCSSWROOT/share/meris/l2bin_defaults.par
Thanks,
Chris