I have an image from a NetCDF file and it has a type of:
holoviews.element.raster.RGB
and has a shape as:
(512000, 5)
This shape might be a little confusing but the max numbers for the shape of the image is:
(999, 511)
representing the x and y axes of the image.
The question is:
This image is a NIR image and I need to converted it to a heatmap image.
I have looked up ways but none is working and most methods give this error of:
NotImplementedError: Iteration on Elements is not supported.
Is there a way of plotting this image with a heatmap option ?
Thank you
CodePudding user response:
You could try plotting this using my ncplot package. This will automatically generate a plot using hvplot from a netCDF file. The code would be as follows:
from ncplot import view
view("infile.nc", vars= "image")