JuliaClimate / JuliaClimate/ClimateBase.jl

Basic operations do not conserve `attrib` field

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

Nobody has claimed this yet.

bug
Dominant language
Julia
Stars
38
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Initialize any ClimArray with attrib being a dictionary. Then any basic operation, like indexing, does not conserve the attrib. E.g.

image

(p.s.: I also need to update the package to latest DimensionalData.jl...)

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 reproducing the loss of the dictionary-valued attrib on a ClimArray during indexing or another basic operation, then inspect how ClimArray interacts with the mentioned DimensionalData.jl version. Done means basic operations preserve the initialized attrib dictionary; no test file or source path is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.