JuliaDataCubes / JuliaDataCubes/YAXArrays.jl

`analyse_axjoin_categorical` not defined

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

Nobody has claimed this yet.

Dominant language
Julia
Stars
132
Forks
25
PR merge metrics
No merged PRs in 30d

Description

using YAXArrays, NetCDF

test = YAXArrays.Datasets.open_mfdataset("/Net/Groups/BGI/people/dpabon/*.nc")

Produce:

ERROR: UndefVarError: `analyse_axjoin_categorical` not defined
Stacktrace:

create_mergedict(dimvallist::Dict{Symbol, Vector}) at [/Net/Groups/BGI/people/dpabon/bin/julia_packages/packages/YAXArrays/FFQe6/src/DatasetAPI/Datasets.jl](vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-sandbox/workbench/workbench.html)

merge_datasets(dslist::Vector{Dataset}) at [/Net/Groups/BGI/people/dpabon/bin/julia_packages/packages/YAXArrays/FFQe6/src/DatasetAPI/Datasets.jl](vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-sandbox/workbench/workbench.html)

#open_mfdataset#51 at [/Net/Groups/BGI/people/dpabon/bin/julia_packages/packages/YAXArrays/FFQe6/src/DatasetAPI/Datasets.jl](vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-sandbox/workbench/workbench.html)

open_mfdataset at [/Net/Groups/BGI/people/dpabon/bin/julia_packages/packages/YAXArrays/FFQe6/src/DatasetAPI/Datasets.jl](vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-sandbox/workbench/workbench.html)

#open_mfdataset#50 at [/Net/Groups/BGI/people/dpabon/bin/julia_packages/packages/YAXArrays/FFQe6/src/DatasetAPI/Datasets.jl](vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-sandbox/workbench/workbench.html)

open_mfdataset(g::String) at [/Net/Groups/BGI/people/dpabon/bin/julia_packages/packages/YAXArrays/FFQe6/src/DatasetAPI/Datasets.jl](vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-sandbox/workbench/workbench.html)

top-level scope at [/Net/Groups/BGI/work_3/OEMC/oemc_towers/bin/bug_openmf.jl](vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-sandbox/workbench/workbench.html)

I went through the code and really analyse_axjoin_categorical is not defined.

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 failure with the Julia snippet using YAXArrays.Datasets.open_mfdataset. Start in DatasetAPI/Datasets.jl at create_mergedict and follow its call from merge_datasets to determine why analyse_axjoin_categorical is unavailable. Done means the example no longer raises UndefVarError and the relevant behavior is covered by a regression test.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.