Check spectral band units and convert from nanometer to micrometer or from micrometer to nanometer

spectral_band_unit(HDR, Spectral_Bands)

Arguments

HDR

list. header file for a raster

Spectral_Bands

numeric. spectral band of interest.

Value

Image numeric. full size in 3 dimensions