Conversation
|
I'll take a look at this, but probably not before next week. |
|
I get this error when trying to compile: ModuleNotFoundError Traceback (most recent call last) ~/anaconda3/envs/condasucks/lib/python3.7/site-packages/awot-0.2.13-py3.7.egg/awot/init.py in ~/anaconda3/envs/condasucks/lib/python3.7/site-packages/awot-0.2.13-py3.7.egg/awot/io/init.py in ~/anaconda3/envs/condasucks/lib/python3.7/site-packages/awot-0.2.13-py3.7.egg/awot/io/flight.py in ModuleNotFoundError: No module named 'awot.io.io' |
|
OK, I looked into the import errors a bit more. There are some functions/submodules that are no longer available to be imported. Some cleanup in the import statements is thus needed. In addition, Basemap is no longer supported in Python 3 so that dependency needs to be removed. |
|
Looks like the 2to3 converter changes the import structure in some cases. Working through those now. May reformat as I go a bit as well. That basemap is pervasive throughout this package, forgot about that. That's going to take some wrangling. |
|
Yeah, at first it looked like some Basemap dependencies were easily removed (some scripts imported Basemap and then did little to nothing with it). However, the graphing portions did use Basemap quite a bit. The obvious thing to do is just swap over to cartopy, but that's easier said than done. Another option is just eliminate Basemap entirely and then add in cartopy/mapping later. That might be the quickest fix. It technically reduces functionality in the abstract, but as a practical matter in Python 3, it really doesn't. |
Lot's of updates for python 3 compatibility and reformatting print statements.
Various bug fixes also implemented.