I am trying to export a series of KML products for a bunch of netCDF files. I can manually achieve my goal by opening each file, selecting the band of interest, applying my custom colour map settings, and exporting as KML. However, I would like to perform this operation in batch using the GPT command line interface. I cannot find any graph options available for applying a colour map to specific bands or for exporting the result as a KML file. Is this possible?
Thanks. That works great since I can export geoTIFFs which can be converted to kml!
Also, I was wondering if there is an option to export the images using pconvert with a generic satellite ground overlay (since I am working with ocean color data) such as the world map in SNAP?
Finally, can pconvert export a colour bar associated with a colour map or is there a simple way to export the colour bar only so that I can patch of the images?
Thanks Marco, I have found the following work around:
Batch convert all DIMAP bands to GeoTIFFs using pconvert.
Batch convert all GeoTIFFs to KMLSUPEROVERLAY using GDAL.
Capture screenshots of colour bars from slider window.
Batch crop and export png with alpha layer using irfanview.
Batch add png to KMZ using GDAL.
The only part of the process which is not batch at this point is capturing screenshots for the individual colour bars. Not a big deal though since I reuse the same colour bar across multiple bands.
You can export them from the desktop application.
Open the image view and right click on it. Choose from the context menu. Export Colour Legend as Image…