pytroll/pyspectral

Throws a warning about non-existing directory - storing/reading cached radiance-tb look-up-tables

adybbroe opened this issue · 0 comments

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

from satpy import Scene, find_files_and_readers
from satpy.utils import debug_on
debug_on()

files = find_files_and_readers(base_dir='/home/a000680/data/hrit/20180102',
                               reader='seviri_l1b_hrit')

scn = Scene(filenames=files)

composite = 'day_microphysics'
scn.load([composite])
scn.show(composite)

Problem description

Reported on pyspectral channel on pytroll-slack March 28th:
"trying to use the LUT's in the training and I get this error:
Directory /path/to/radiance/tb/lut/data does not exist! Check config file

I downloaded the rsr and the aerosol LUTs"

Expected Output

An RGB image - the day_microphysics RGB

Actual Result, Traceback if applicable

Directory /path/to/radiance/tb/lut/data does not exist! Check config file

...but an image is generated as it should.

Versions of Python, package at hand and relevant dependencies

Using conda installation, pyspectral 0.8.6

Thank you for reporting an issue !