You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use TOBAC but I always get the same error: dxy,dt=tobac.get_spacings(Precip)
File "/usr/local/anaconda3/envs/my_env36/lib/python3.6/site-packages/tobac/utils.py", line 450, in get_spacings
return dxy,dt
UnboundLocalError: local variable 'dxy' referenced before assignment
I realized that there is a typo (missing raise before ValueError in tobac/utils.py ) both in the old and newer versions, so that the ValueError would not be raised if the coordinates are not properly defined (see #5). I will fix this in tobac/utils/general.py for v2.0-dev.
Hi,
I am trying to use TOBAC but I always get the same error:
dxy,dt=tobac.get_spacings(Precip)
File "/usr/local/anaconda3/envs/my_env36/lib/python3.6/site-packages/tobac/utils.py", line 450, in get_spacings
return dxy,dt
UnboundLocalError: local variable 'dxy' referenced before assignment
I cannot even run the following example:
https://github.com/climate-processes/tobac/blob/master/examples/Example_OLR_Tracking_model/Example_OLR_Tracking_model.ipynb
Does anybody know why is this happening?
The text was updated successfully, but these errors were encountered: