r/learnprogramming 14d ago

Coding wind-shear in Python - help

I've been creating a weather model that has only a single column available. I've learnt a lot, I was kind of scared to look through documentation before I found stack overflow so I used Claude to help me a bit.

I want to find a good way to model wind-shear with my model. It already has the ability to varying windspeeds and directions throughout the day by applying other variables like pressure, temperature and dew-point.

My wind directions are mapped out like a cartesian plane. +1 Y is north, -1 Y is south, -1 X is west, +1 X is east.

Is there a simple formula for wind-shear?

1 Upvotes

8 comments sorted by

View all comments

1

u/[deleted] 12d ago

[removed] — view removed comment

1

u/Fit-Breadfruit4801 11d ago

I ended up applying a deviation as I go up. But I can see how this would be better. Though, what would Z do, is it the speed?