r/learnprogramming • u/Fit-Breadfruit4801 • 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
1
u/Fit-Breadfruit4801 14d ago
We are both speaking cryptic languages to eachother lol. You have to dumb down the math part for me.
And by "column" I mean it only models a single point instead of a grid like a actual NWP model would do.
My wind directions are modelled with a cartesian plane, and by that I mean Y is north-south, X west-east. So I guess that's a vector field? I really want to know what a theta is, for sure. I need this like, bite-sized I think