pytroll/pyspectral

NOAA-6 spectral responses are wrong for channel 1 & 2

adybbroe opened this issue · 2 comments

Code Sample, a minimal, complete, and verifiable piece of code

When trying to plot the SW RSR data for NOAA-6 I saw that channel 1 and 2 were off, by what looks like a factor of 10:

rsr_band_0040_1000

# Your code here
python bin/composite_rsr_plot.py --platform_name NOAA-6 --sensor avhrr -r 0.4 10.0

Problem description

I found the possible cause for this when digging out the original files from NOAA that were used to generate the internal Pyspectral RSR files. The unit change from Ångström for ch1 and 2 to nm for the other channels. nm is used for all other platforms and channels for AVHRR/1, so in the conversion script we are using a constant scaling applied to all channels and platforms to go from nm to microns!

In the plot above one can see how channel 1 and 2 are positioned to the right of channel 3!

Expected Output

Actual Result, Traceback if applicable

Versions of Python, package at hand and relevant dependencies

This is with the latest version of the RSR data from Zenodo. Version v1.1.0

Thank you for reporting an issue !

This is closed with #157, right?

This is closed with #157, right?

Yes, right, fixed that now.