Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export groupnames(ds.... #270

Open
haavardhvarnes opened this issue Dec 9, 2024 · 1 comment
Open

Export groupnames(ds.... #270

haavardhvarnes opened this issue Dec 9, 2024 · 1 comment

Comments

@haavardhvarnes
Copy link

Possibly a pull request but it seems logical to have the possibility to iterate all groups

@Alexander-Barth
Copy link
Member

Did you try this to iterate over all subgroups?

for (groupname,group) in ds.groups
    # all groups
    @show (groupname,group)
end

https://alexander-barth.github.io/NCDatasets.jl/stable/dataset/#Common-methods
Or do you need the group names without iterating?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants