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

plot_gps_points() never called #6

Open
SUPScientist opened this issue Sep 24, 2024 · 0 comments
Open

plot_gps_points() never called #6

SUPScientist opened this issue Sep 24, 2024 · 0 comments
Assignees

Comments

@SUPScientist
Copy link
Contributor

Problem:

In https://github.com/COAST-Lab/Biogeochemical-Drifter/blob/main/Data_Analysis/Data_Analysis.ipynb and https://github.com/COAST-Lab/Biogeochemical-Drifter/blob/main/Data_Analysis/GPS_only_20240514.ipynb, there is a function, plot_gps_points, that is never called. That function appears to have the basemap plotting routine. By not calling the function, you're not executing the code inside it and therefore it's logical that the basemap isn't plotting.

image

Recommended Approach:

Examine the code in https://github.com/SUPScientist/smart-coasts-bathy-mapping/blob/main/Data%20Analysis/20230712_Bathy_Mapping.ipynb, especially that next to the In[44]: block. None of that code is in a function, so it all executes. Some might be superfluous, and you will need other bits from chunks higher in the script, but it has much of what you need.

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