Atmospheric correction and resampling of bands

Maybe you need to divide the values by 10000 (scaling factor). But this should actually be considered in the envi file.
There should be an attribute in the *.hdr file like

data gain values = {1.0E-4}

That’s what I got when I tried it.