NCAR / NCAR/wrf-python

Specify x increments for vertcross function

Open
#49 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

It seems to me that currently the vertcross function's return value includes one x point for every WRF grid cell crossed by the line.

For some applications (i.e., integrate concentrations along the x axis) it would be very useful if one could not only specify levels to prescribe the points in z direction, but also specify the number of sampling points along the cross-section which vertcross result should contain.

Would you be interested in including this functionality in wrf-python, or should I rather do this as a post-processing step on my own?

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 locating the vertcross implementation and its tests, then read how the existing levels argument determines sampling points. Define how an optional x-point count should interact with the cross-section output, and consider the issue complete when the requested count is supported and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.