Is there any way to change the range of valid pixel expression for the chl in seadas 7? I know how to change it on each image, but i wanted to know if i'm able to change the values that seadas uses so that i dont need to do it image by image. Im using Seadas 7.3.2 with macOS sierra.
Thanks in advance!
chlor_a:valid_min = 0.001f ;
chlor_a:valid_max = 100.f ;
These are set in the
product.xmlfile and also appear in level-3 mapped files (either carried through or set from the
product.xmlfile. If you generate your own level-2 files you can edit the
Maybe you are referring to limits for the range of values used for display:
chlor_a:display_min = 0.01f ;
chlor_a:display_max = 20.f ;
These are set in
l3mapgen, again using values from the
product.xmlfile, so if you are generating the mapped files yourself you can edit the
If you are using files created elsewhere, there are command-line tools that can edit NetCDF attributes efficiently in batch scripts. One example is
ncatNetCDF Operators package, but you can probably do it with most languages that support NetCDF files (Python, Matlab, IDL, etc.).