NOAA-EMC / WW3-tools

20 stars 14 forks source link

Adding basemap to the modules loaded for ww3tools #57

Open Ghazal-Mohammadpour opened 6 months ago

Ghazal-Mohammadpour commented 6 months ago

BASEMAP, should be added to the modules that are loaded for using ww3tools. The error for this issue is: ModuleNotFoundError: No module named 'mpl_toolkits.basemap'. In the WW3tools, pvalstats.py and PrepGridMask.py and organizeDistanceToCoast.py are codes that uses the BASEMAP for plotting. One of the possible solutions would be to substitute the BASEMAP with CARTOPY, because adding the BASEMAP may have conflicts with other modules that need to use ww3tools.

JessicaMeixner-NOAA commented 6 months ago

@Ghazal-Mohammadpour can you please provide more details, such as what routine you ran and how we can reproduce the issue?

Please note the solution might be to use something besides mpl_toolkits.basemap in the routine instead of adding the module.