taxmanyana / cft

Climate Forecasting Toolbox
1 stars 0 forks source link

Forecasting desktop tool gets stuck when processing NetCDF predictand #18

Closed taxmanyana closed 2 years ago

taxmanyana commented 2 years ago

Error trail below:

multiprocessing.pool.RemoteTraceback: """ Traceback (most recent call last): File "/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, **kwds)) File "/Users/thembani/Documents/Projects/cft/cft-devel/functions.py", line 868, in nc_unit_split return forecast_pixel_unit(config, predictor, predictand_data, fcstPeriod, algorithm, point) File "/Users/thembani/Documents/Projects/cft/cft-devel/functions.py", line 1122, in forecast_pixel_unit a_series = pd.DataFrame({'Predictor': predictorName, 'Algorithm': algorithm, 'ID': station, NameError: name 'station' is not defined """

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 980, in _bootstrap_inner self.run() File "/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 917, in run self._target(*self._args, **self._kwargs) File "/Users/thembani/Documents/Projects/cft/cft-devel/cft.py", line 508, in forecast outs = list(rs) File "/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 870, in next raise value NameError: name 'station' is not defined