How to calculate Wind direction from uwind and vwind?












2














How to calculate wind direction from uwind and vwind?

if uwind and vwind are -1.82 , -3.18 respectively










share|improve this question







New contributor




ThehalfarisedPheonix is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • colaweb.gmu.edu/dev/clim301/lectures/wind/wind-uv if you want more detail for the formula provided in the answer
    – gansub
    19 hours ago


















2














How to calculate wind direction from uwind and vwind?

if uwind and vwind are -1.82 , -3.18 respectively










share|improve this question







New contributor




ThehalfarisedPheonix is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • colaweb.gmu.edu/dev/clim301/lectures/wind/wind-uv if you want more detail for the formula provided in the answer
    – gansub
    19 hours ago
















2












2








2







How to calculate wind direction from uwind and vwind?

if uwind and vwind are -1.82 , -3.18 respectively










share|improve this question







New contributor




ThehalfarisedPheonix is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











How to calculate wind direction from uwind and vwind?

if uwind and vwind are -1.82 , -3.18 respectively







meteorology oceanography






share|improve this question







New contributor




ThehalfarisedPheonix is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




ThehalfarisedPheonix is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




ThehalfarisedPheonix is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









ThehalfarisedPheonixThehalfarisedPheonix

111




111




New contributor




ThehalfarisedPheonix is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





ThehalfarisedPheonix is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






ThehalfarisedPheonix is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • colaweb.gmu.edu/dev/clim301/lectures/wind/wind-uv if you want more detail for the formula provided in the answer
    – gansub
    19 hours ago




















  • colaweb.gmu.edu/dev/clim301/lectures/wind/wind-uv if you want more detail for the formula provided in the answer
    – gansub
    19 hours ago


















colaweb.gmu.edu/dev/clim301/lectures/wind/wind-uv if you want more detail for the formula provided in the answer
– gansub
19 hours ago






colaweb.gmu.edu/dev/clim301/lectures/wind/wind-uv if you want more detail for the formula provided in the answer
– gansub
19 hours ago












1 Answer
1






active

oldest

votes


















4














The base formula for the direction $theta$ is



$theta=atan2left(frac{text{uwind}}{text{vwind}}right)$



Where $atan2$ is the four quadrant inverse tangent. Note that if you used the normal inverse tangent your results will be all collapsed to the first quadrant (0° to 90°). Also note that depending on the platform the result can be in radians or degrees (most often in radians, some platforms have a function atan2d that return values in degrees).



If you get a negative value (which is the same direction but measured counterclockwise), you have to add 360° (or $2pi$ radians).



This will give you the direction the wind is coming from. For the direction is going to, you have to add/substract 180° (or $pi$ radians).



For the values you provide, the answer would be 210°.






share|improve this answer























  • Query: maths & hence trigonometry uses a horizontal, x-direction, east-west line as it's reference & angles are measured anti-clockwise. Surveying and navigation uses the y-direction, north-south line as its reference & angles are measured clockwise. By simply using the atan2 function, would this give the answer using the mathematical reference line & if so would it then need to be adjusted for surveying/navigation reference?
    – Fred
    15 hours ago










  • @Fred You are right about the differences in the reference frame, but this formula does not know where does point the reference line the angle is measured from. In the math world uwind would be X, and vwind would be Y and you would consider the resulting angle as measured clockwise from the direction the positive X axis points to. But in the geographical world you can just use the same output angle and simply consider it as measured clockwise from the north arrow.
    – Camilo Rada
    7 hours ago













Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "553"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






ThehalfarisedPheonix is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fearthscience.stackexchange.com%2fquestions%2f15883%2fhow-to-calculate-wind-direction-from-uwind-and-vwind%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









4














The base formula for the direction $theta$ is



$theta=atan2left(frac{text{uwind}}{text{vwind}}right)$



Where $atan2$ is the four quadrant inverse tangent. Note that if you used the normal inverse tangent your results will be all collapsed to the first quadrant (0° to 90°). Also note that depending on the platform the result can be in radians or degrees (most often in radians, some platforms have a function atan2d that return values in degrees).



If you get a negative value (which is the same direction but measured counterclockwise), you have to add 360° (or $2pi$ radians).



This will give you the direction the wind is coming from. For the direction is going to, you have to add/substract 180° (or $pi$ radians).



For the values you provide, the answer would be 210°.






share|improve this answer























  • Query: maths & hence trigonometry uses a horizontal, x-direction, east-west line as it's reference & angles are measured anti-clockwise. Surveying and navigation uses the y-direction, north-south line as its reference & angles are measured clockwise. By simply using the atan2 function, would this give the answer using the mathematical reference line & if so would it then need to be adjusted for surveying/navigation reference?
    – Fred
    15 hours ago










  • @Fred You are right about the differences in the reference frame, but this formula does not know where does point the reference line the angle is measured from. In the math world uwind would be X, and vwind would be Y and you would consider the resulting angle as measured clockwise from the direction the positive X axis points to. But in the geographical world you can just use the same output angle and simply consider it as measured clockwise from the north arrow.
    – Camilo Rada
    7 hours ago


















4














The base formula for the direction $theta$ is



$theta=atan2left(frac{text{uwind}}{text{vwind}}right)$



Where $atan2$ is the four quadrant inverse tangent. Note that if you used the normal inverse tangent your results will be all collapsed to the first quadrant (0° to 90°). Also note that depending on the platform the result can be in radians or degrees (most often in radians, some platforms have a function atan2d that return values in degrees).



If you get a negative value (which is the same direction but measured counterclockwise), you have to add 360° (or $2pi$ radians).



This will give you the direction the wind is coming from. For the direction is going to, you have to add/substract 180° (or $pi$ radians).



For the values you provide, the answer would be 210°.






share|improve this answer























  • Query: maths & hence trigonometry uses a horizontal, x-direction, east-west line as it's reference & angles are measured anti-clockwise. Surveying and navigation uses the y-direction, north-south line as its reference & angles are measured clockwise. By simply using the atan2 function, would this give the answer using the mathematical reference line & if so would it then need to be adjusted for surveying/navigation reference?
    – Fred
    15 hours ago










  • @Fred You are right about the differences in the reference frame, but this formula does not know where does point the reference line the angle is measured from. In the math world uwind would be X, and vwind would be Y and you would consider the resulting angle as measured clockwise from the direction the positive X axis points to. But in the geographical world you can just use the same output angle and simply consider it as measured clockwise from the north arrow.
    – Camilo Rada
    7 hours ago
















4












4








4






The base formula for the direction $theta$ is



$theta=atan2left(frac{text{uwind}}{text{vwind}}right)$



Where $atan2$ is the four quadrant inverse tangent. Note that if you used the normal inverse tangent your results will be all collapsed to the first quadrant (0° to 90°). Also note that depending on the platform the result can be in radians or degrees (most often in radians, some platforms have a function atan2d that return values in degrees).



If you get a negative value (which is the same direction but measured counterclockwise), you have to add 360° (or $2pi$ radians).



This will give you the direction the wind is coming from. For the direction is going to, you have to add/substract 180° (or $pi$ radians).



For the values you provide, the answer would be 210°.






share|improve this answer














The base formula for the direction $theta$ is



$theta=atan2left(frac{text{uwind}}{text{vwind}}right)$



Where $atan2$ is the four quadrant inverse tangent. Note that if you used the normal inverse tangent your results will be all collapsed to the first quadrant (0° to 90°). Also note that depending on the platform the result can be in radians or degrees (most often in radians, some platforms have a function atan2d that return values in degrees).



If you get a negative value (which is the same direction but measured counterclockwise), you have to add 360° (or $2pi$ radians).



This will give you the direction the wind is coming from. For the direction is going to, you have to add/substract 180° (or $pi$ radians).



For the values you provide, the answer would be 210°.







share|improve this answer














share|improve this answer



share|improve this answer








edited yesterday

























answered yesterday









Camilo RadaCamilo Rada

8,00812563




8,00812563












  • Query: maths & hence trigonometry uses a horizontal, x-direction, east-west line as it's reference & angles are measured anti-clockwise. Surveying and navigation uses the y-direction, north-south line as its reference & angles are measured clockwise. By simply using the atan2 function, would this give the answer using the mathematical reference line & if so would it then need to be adjusted for surveying/navigation reference?
    – Fred
    15 hours ago










  • @Fred You are right about the differences in the reference frame, but this formula does not know where does point the reference line the angle is measured from. In the math world uwind would be X, and vwind would be Y and you would consider the resulting angle as measured clockwise from the direction the positive X axis points to. But in the geographical world you can just use the same output angle and simply consider it as measured clockwise from the north arrow.
    – Camilo Rada
    7 hours ago




















  • Query: maths & hence trigonometry uses a horizontal, x-direction, east-west line as it's reference & angles are measured anti-clockwise. Surveying and navigation uses the y-direction, north-south line as its reference & angles are measured clockwise. By simply using the atan2 function, would this give the answer using the mathematical reference line & if so would it then need to be adjusted for surveying/navigation reference?
    – Fred
    15 hours ago










  • @Fred You are right about the differences in the reference frame, but this formula does not know where does point the reference line the angle is measured from. In the math world uwind would be X, and vwind would be Y and you would consider the resulting angle as measured clockwise from the direction the positive X axis points to. But in the geographical world you can just use the same output angle and simply consider it as measured clockwise from the north arrow.
    – Camilo Rada
    7 hours ago


















Query: maths & hence trigonometry uses a horizontal, x-direction, east-west line as it's reference & angles are measured anti-clockwise. Surveying and navigation uses the y-direction, north-south line as its reference & angles are measured clockwise. By simply using the atan2 function, would this give the answer using the mathematical reference line & if so would it then need to be adjusted for surveying/navigation reference?
– Fred
15 hours ago




Query: maths & hence trigonometry uses a horizontal, x-direction, east-west line as it's reference & angles are measured anti-clockwise. Surveying and navigation uses the y-direction, north-south line as its reference & angles are measured clockwise. By simply using the atan2 function, would this give the answer using the mathematical reference line & if so would it then need to be adjusted for surveying/navigation reference?
– Fred
15 hours ago












@Fred You are right about the differences in the reference frame, but this formula does not know where does point the reference line the angle is measured from. In the math world uwind would be X, and vwind would be Y and you would consider the resulting angle as measured clockwise from the direction the positive X axis points to. But in the geographical world you can just use the same output angle and simply consider it as measured clockwise from the north arrow.
– Camilo Rada
7 hours ago






@Fred You are right about the differences in the reference frame, but this formula does not know where does point the reference line the angle is measured from. In the math world uwind would be X, and vwind would be Y and you would consider the resulting angle as measured clockwise from the direction the positive X axis points to. But in the geographical world you can just use the same output angle and simply consider it as measured clockwise from the north arrow.
– Camilo Rada
7 hours ago












ThehalfarisedPheonix is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















ThehalfarisedPheonix is a new contributor. Be nice, and check out our Code of Conduct.













ThehalfarisedPheonix is a new contributor. Be nice, and check out our Code of Conduct.












ThehalfarisedPheonix is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Earth Science Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fearthscience.stackexchange.com%2fquestions%2f15883%2fhow-to-calculate-wind-direction-from-uwind-and-vwind%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

An IMO inspired problem

Management

Investment