JuliaClimate / JuliaClimate/ClimateBase.jl

[FR] Add variable to existing file

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

Nobody has claimed this yet.

easy i/o
Dominant language
Julia
Stars
38
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Would be nice to allow adding a newly created ClimArray to an existing .nc file.

We first check that the dimensions of given ClimArray exist (and with correct size) to the given file, and then we just write it by reusing the code we use for climarray_to_nc.

Easy!

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 climarray_to_nc implementation and the code that opens or validates .nc files. Check how dimensions and sizes are represented, then confirm that a newly created ClimArray can be validated against an existing file and written there; done means incompatible dimensions are rejected and compatible data is stored.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.