I'm getting errors below when I ran the GSLC generation step.
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/home/bryanjim001/micromamba/envs/sweets-env/lib/python3.12/concurrent/futures/process.py", line 264, in _process_worker
r = call_item.fn(*call_item.args, **call_item.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bryanjim001/micromamba/envs/sweets-env/lib/python3.12/concurrent/futures/process.py", line 213, in _process_chunk
return [fn(*args) for args in chunk]
^^^^^^^^^
File "/home/bryanjim001/micromamba/envs/sweets-env/lib/python3.12/site-packages/sweets/_geocode_slcs.py", line 39, in run_geocode
return _run_config(run_config_path, log_dir, "s1_geocode_slc")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bryanjim001/micromamba/envs/sweets-env/lib/python3.12/site-packages/sweets/_geocode_slcs.py", line 90, in _run_config
module.run(cfg)
File "/home/bryanjim001/micromamba/envs/sweets-env/lib/python3.12/site-packages/compass/s1_geocode_slc.py", line 110, in run
az_carrier_poly2d = burst.get_az_carrier_poly()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bryanjim001/micromamba/envs/sweets-env/lib/python3.12/site-packages/s1reader/s1_burst_slc.py", line 498, in get_az_carrier_poly
az_carrier_poly = polyfit(
^^^^^^^^
File "/home/bryanjim001/micromamba/envs/sweets-env/lib/python3.12/site-packages/s1reader/s1_burst_slc.py", line 97, in polyfit
print("Chi squared: %f" % (np.sqrt(res / (1.0 * len(z)))))
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: only 0-dimensional arrays can be converted to Python scalars
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/bryanjim001/micromamba/envs/sweets-env/bin/sweets", line 6, in <module>
sys.exit(main())
^^^^^^
File "/home/bryanjim001/micromamba/envs/sweets-env/lib/python3.12/site-packages/sweets/cli.py", line 237, in main
func(arg_dict)
File "/home/bryanjim001/micromamba/envs/sweets-env/lib/python3.12/site-packages/sweets/cli.py", line 217, in run_workflow
workflow.run(starting_step=kwargs.get("starting_step", 1))
File "/home/bryanjim001/micromamba/envs/sweets-env/lib/python3.12/site-packages/sweets/_log.py", line 101, in wrapper
result = f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/home/bryanjim001/micromamba/envs/sweets-env/lib/python3.12/site-packages/sweets/core.py", line 566, in run
self._geocode_slcs(rslc_files, self.dem_filename, burst_db_file)
File "/home/bryanjim001/micromamba/envs/sweets-env/lib/python3.12/site-packages/sweets/_log.py", line 101, in wrapper
result = f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/home/bryanjim001/micromamba/envs/sweets-env/lib/python3.12/site-packages/sweets/core.py", line 380, in _geocode_slcs
new_files = list(new_files)
^^^^^^^^^^^^^^^
File "/home/bryanjim001/micromamba/envs/sweets-env/lib/python3.12/concurrent/futures/process.py", line 636, in _chain_from_iterable_of_lists
for element in iterable:
^^^^^^^^
File "/home/bryanjim001/micromamba/envs/sweets-env/lib/python3.12/concurrent/futures/_base.py", line 619, in result_iterator
yield _result_or_cancel(fs.pop())
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bryanjim001/micromamba/envs/sweets-env/lib/python3.12/concurrent/futures/_base.py", line 317, in _result_or_cancel
return fut.result(timeout)
^^^^^^^^^^^^^^^^^^^
File "/home/bryanjim001/micromamba/envs/sweets-env/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/bryanjim001/micromamba/envs/sweets-env/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
TypeError: only 0-dimensional arrays can be converted to Python scalars
I'm getting errors below when I ran the GSLC generation step.