NCAR / NCAR/wrf-python

Units for getvar(cldfra) not match documentation.

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

Nobody has claimed this yet.

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

Description

According to the getvar routine table (https://wrf-python.readthedocs.io/en/latest/user_api/generated/wrf.getvar.html#wrf.getvar) the returned unit for cloud fraction is percent. The routine actually returns a decimal [0,1].

WRF-Python version number is 1.2.0

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 with the getvar documentation entry for cldfra and trace the corresponding implementation or tests in wrf-python. Compare the documented percent units with the routine's actual [0,1] result and determine whether the intended fix is in the documentation or returned value. Done means the documentation and behavior agree, with relevant checks passing.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.