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

Feature request: calculate velocity of nodal feature, and subtract from winds #74

Open
kwilliams-mo opened this issue Jun 19, 2024 · 1 comment

Comments

@kwilliams-mo
Copy link

Feature request

It would be really useful to

  • Output the velocity of the nodal feature e.g. in StitchNodes.
  • Be able to subtract velocity of nodal feature from the winds around it (to get system-relative winds) before using NodeFileCompose to make a composite.

Thanks :)

@paullric
Copy link
Collaborator

paullric commented Jul 5, 2024

This should now be available in commit 0ae6268. Please test it out and let me know if it works as expected.

The argument StitchNodes --add_velocity now adds two additional columns to the nodefile output that describe the eastward and northward velocity at the feature location.

The argument NodeFileCompose --in_fmt "lon,lat,slp,wind,phis,uvel,vvel" --var "UBOT,VBOT" --minus_nodefile_col "uvel,vvel" now subtracts those columns in the nodefile from the output of snapshots, mean, min, max and histograms.

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