-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
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
Error in computing PET f"Invalid latitude value: {latitude_degrees} (must be " + #334
Comments
I'm pretty sure this is related to this issue which prevents the usage of formatted strings within |
…d from numba issue #3250 (an unsupported formatting-related opcode); fixed the setup.py keywords entry to be a list instead of a tuple #334
Many thanks James. I am using the pypi version of the code and applied the fixes to the offending lines. Kind regards |
Hi,James I get the message below while I am trying to compute PET. Please help Traceback (most recent call last): �[1m message = (f"Invalid latitude value: {latitude_degrees}" + |
Hi James
I get the message below while I am trying to compute PET. Please help
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/mmaoyi/miniconda3/bin/process_climate_indices", line 10, in
sys.exit(main())
File "/home/mmaoyi/miniconda3/lib/python3.7/site-packages/climate_indices/main.py", line 1718, in main
kwargs
File "/home/mmaoyi/miniconda3/lib/python3.7/site-packages/climate_indices/main.py", line 1061, in _compute_write_index
args=args,
File "/home/mmaoyi/miniconda3/lib/python3.7/site-packages/climate_indices/main.py", line 1299, in _parallel_process
pool.map(_apply_along_axis_double, chunk_params)
File "/home/mmaoyi/miniconda3/lib/python3.7/multiprocessing/pool.py", line 268, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/home/mmaoyi/miniconda3/lib/python3.7/multiprocessing/pool.py", line 657, in get
raise self._value
numba.errors.UnsupportedError: Failed in object mode pipeline (step: analyzing bytecode)
Use of unknown opcode 'FORMAT_VALUE'
File "../../../../../miniconda3/lib/python3.7/site-packages/climate_indices/indices.py", line 488:
def pet(temperature_celsius: np.ndarray,
else:
message = (f"Invalid latitude value: {latitude_degrees} (must be " +
^
Unsupported functionality was found in the code Numba was trying to compile.
If this functionality is important to you please file a feature request at:
https://github.com/numba/numba/issues/new
The text was updated successfully, but these errors were encountered: