Document why unable to create HistA.png
Under a variety of cases, glance will be unable to create HistA.png for a given variable. It would be useful to know why that was. For example:
$ glance report --nolatlon test.nc
WARNING:glance.plot:Unable to create plot HistA.png (saving image of histogram of the values in band_wavelength).
WARNING:glance.plot:Unable to create plot HistA.png (saving image of histogram of the values in x_image).
In this particular case, band_wavelength
is declared as having a length of band
, which is 1
. x_image
is not declared as having any length at all (simple scalar?). So I might expect output like:
$ glance report --nolatlon test.nc
WARNING:glance.plot:Unable to create plot HistA.png (saving image of histogram of the values in band_wavelength; only 1 data point found, at least XX are required).
WARNING:glance.plot:Unable to create plot HistA.png (saving image of histogram of the values in x_image; single scalar value found, an array with at least XX data points is required).