Describe the bug
Standard name and calibration are wrong when applying the nir_reflectance modifier.
To Reproduce
from satpy import Scene, DataQuery
from glob import glob
seviri_files = glob("/media/nas/x21308/scratch/SEVIRI/202103300900/H-000*")
sc = Scene(filenames={"seviri_l1b_hrit": seviri_files})
sc.load([DataQuery(name="IR_039", modifiers=("nir_reflectance",))])
print(sc["IR_039"].attrs["standard_name"])
print(sc["IR_039"].attrs["calibration"])
Expected behaviour
toa_bidirectional_reflectance
reflectance
Actual results
toa_brightness_temperature
brightness_temperature
Environment Info:
- OS: Suse
- Satpy Version: main
Additional context
This is the only modifier (I think) that changes the quantity and thus the calibration. Therefore, standard name and calibration need to be changed when the modifier is applied.