ClimateGlobalChange / tempestextremes

Extreme weather detection and characterization
84 stars 30 forks source link

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

Open kwilliams-mo opened 3 months ago

kwilliams-mo commented 3 months ago

Feature request

It would be really useful to

Thanks :)

paullric commented 3 months ago

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.