identify_geotiff_cmapο
- eomaps.reader.identify_geotiff_cmap(path, band=1)ο
Identify GeoTIFF colormap.
Check if a GeoTiff file contains a color specification and return appropriate colormap and classify-specs to plot the data
- Parameters:
path (str) β The path to the GeoTIFF file.
band (int) β The band to use for identifying the colormap.
- Returns:
cmap (matplotlib colormap) β The identified colormap
classify_specs (dict) β A dict that can be used as classify-specs.