JuliaClimate / JuliaClimate/ClimateBase.jl

Enhancements for reading .nc: subselection and multiple variables

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

Nobody has claimed this yet.

enhancement good first issue
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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.