JuliaClimate / JuliaClimate/ClimateBase.jl
Enhancements for reading .nc: subselection and multiple variables
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 38
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
1: Allow the function to take as input a tuple of indices, e.g. (:, :, 1:5)
and only load this part, and correctly and instantly make it a ClimArray, which
can solve "large memory" or "large data" problems. This funcionality
must be sure to load the correct ranges of dimensions as well though!
2: Allow reading multiple variables at once. This has the performance benefit of not re-creating dimensions all the time.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing function for reading .nc data and inspect how it handles dimension ranges and constructs ClimArray values. Then trace the path for reading variables to understand where repeated dimension creation occurs. Done means supporting tuple-based subselection with correct dimension ranges and allowing multiple variables to be read at once.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100