Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding basemap to the modules loaded for ww3tools #57

Open
Ghazal-Mohammadpour opened this issue Apr 16, 2024 · 1 comment
Open

Adding basemap to the modules loaded for ww3tools #57

Ghazal-Mohammadpour opened this issue Apr 16, 2024 · 1 comment

Comments

@Ghazal-Mohammadpour
Copy link
Collaborator

Ghazal-Mohammadpour commented Apr 16, 2024

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
Copy link
Collaborator

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants