NCAR / NCAR/wrf-python

Issue with Pivot Point and Angle

Open
#60 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug support
Dominant language
Python
Stars
498
Forks
178
PR merge metrics
No merged PRs in 30d

Description

From wrfpython-talk:

I'm suspecting that there is a bug in the angle conversion of the wrf.vertcross routine. When used with pivot point and angle instead of start- and end- points, the routine converts only angles between -45 and 135 right. Angles outside this range are converted to something wrong. I can see that one can use the whole domain with these 180 degrees but it is tiresome and unnecessarily complicated.

Need to investigate, since the code was ported from NCL with no known issues.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the wrf.vertcross routine and its pivot-point and angle conversion path. Reproduce the reported behavior for angles outside -45 to 135 degrees, compare it with start- and end-point usage, and consider the issue done when those angle conversions produce the corresponding cross sections correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.