Hi All,
doing a couple of experiments to speed up image generation I also tried different resamplers. Slow resampler 'bilinear' shows huge performance increase once the
caching look up table has been made. But when I want to use it on full disk images it
fails. More exactly: It works a first time and produces the lin_lut_... as usual but
the second time, when it wants to apply the lin_lut_... it stops in error saying:
...
File "/home/eumetcast/miniconda3/envs/pytroll/lib/python3.8/site-packages/pyresample/bilinear/xarr.py", line 131, in _finalize_output_data
res = self._reshape_to_target_area(res, data.ndim)
File "/home/eumetcast/miniconda3/envs/pytroll/lib/python3.8/site-packages/pyresample/bilinear/xarr.py", line 117, in _reshape_to_target_area
tmp[self._valid_output_indices] = res[i, :]
AttributeError: 'XArrayBilinearResampler' object has no attribute '_valid_output_indices'
I have no problems with resampler='nearest' that produces look up tables nn_lut...
Is this a bug or a feature of resampler='bilinear' that cannot cache free space?
Best regards,
Ernst