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

Cmems #430

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from
Open

Cmems #430

wants to merge 8 commits into from

Conversation

jrulent
Copy link
Collaborator

@jrulent jrulent commented Apr 7, 2022

I've added two examples. the cmems_example_plot.py plot is literally just a script that reads in and plots a figure, the cmems_sril34_example_plot.py shows example of the comparison between cmems and sril34. This one does the interpolation.
(I can add a mask to make the SRIL34 land region of the plot prettier, but it's a relatively pointless extra file.)

The CMEMS files are cropped around Sril Lanka ( a bit sider than the sril34 domain), so they are very small now. The SRIL34 are cropped to 3 days.

@jpolton jpolton linked an issue Apr 8, 2022 that may be closed by this pull request
#################################################
# calculate currents
#################################################
current = abs(sci_uv.dataset.u_velocity) * abs(sci_uv.dataset.v_velocity)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

current = abs( complex(u,v) )
or
current = sqrt(u^2 + v^2)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, thanks. How does it work to upgrade comments? Do I need to change the file on the CMEMS branch and push the changes again, or can I change things directly within this pull request?

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

Successfully merging this pull request may close these issues.

Docs: Missing Greatness - CMEMS example
2 participants