We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
local_scene = global_scene.resample(opt_mapping, nprocs=num_threads, resampler=opt_resampler, cache_dir="/var/tmp")
TypeError: Unicode-objects must be encoded before hashing
local_scene = global_scene.resample(opt_mapping, nprocs=num_threads, resampler=opt_resampler, cache_dir="/var/tmp") File "lib/python3.4/site-packages/satpy/scene.py", line 596, in resample **resample_kwargs) File "lib/python3.4/site-packages/satpy/dataset.py", line 572, in resample new_data = resample(source_area, data, destination_area, **kwargs) File "lib/python3.4/site-packages/satpy/resample.py", line 521, in resample return resampler.resample(data, **kwargs) File "lib/python3.4/site-packages/satpy/resample.py", line 173, in resample cache_id = self.precompute(cache_dir=cache_dir, **kwargs) File "lib/python3.4/site-packages/satpy/resample.py", line 250, in precompute filename = self._create_cache_filename(cache_dir, kd_hash) File "lib/python3.4/site-packages/satpy/resample.py", line 186, in _create_cache_filename cache_dir, hashlib.sha1(hash_str).hexdigest() + ".npz") TypeError: Unicode-objects must be encoded before hashing
python 3.4 satpy master
The text was updated successfully, but these errors were encountered:
I think this is fixed now in master. Feel free to reopen if not.
Sorry, something went wrong.
mraspaud
No branches or pull requests
Code Sample, a minimal, complete, and verifiable piece of code
Problem description
TypeError: Unicode-objects must be encoded before hashing
Actual Result, Traceback if applicable
Versions of Python, package at hand and relevant dependencies
python 3.4
satpy master
The text was updated successfully, but these errors were encountered: