JuliaDataCubes / JuliaDataCubes/EarthDataLab.jl

Variables from cube are missing

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

Nobody has claimed this yet.

Triage
Dominant language
Julia
Stars
34
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Some variables from some of the cubes are missing:

julia> c = Cube("/home/gkraemer/data/DataCube/v2.1.0/esdc-8d-0.083deg-184x270x270-2.1.0.zarr/")
julia> setdiff(readdir("/home/gkraemer/data/DataCube/v2.1.0/esdc-8d-0.083deg-184x270x270-2.1.0.zarr/"), getAxis("Variable", c).values)
19-element Vector{String}:
 ".zattrs"
 ".zgroup"
 ".zmetadata"
 "aerosol_optical_thickness_1600"
 "aerosol_optical_thickness_550"
 "aerosol_optical_thickness_670"
 "aerosol_optical_thickness_870"
 "analysed_sst"
 "lat"
 "lat_bnds"
 "lon"
 "lon_bnds"
 "mask"
 "sea_ice_fraction"
 "sm"
 "time"
 "time_bnds"
 "xch4"
 "xco2"

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

Reproduce the example with Cube and compare readdir(...) against getAxis("Variable", c).values for the referenced Zarr cube. Trace how Cube discovers variables, then verify that the variables present in the cube are returned by the Variable axis.

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.