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

Improve printing of YAXArrays.Dataset #352

Closed
felixcremer opened this issue Nov 13, 2023 · 1 comment
Closed

Improve printing of YAXArrays.Dataset #352

felixcremer opened this issue Nov 13, 2023 · 1 comment

Comments

@felixcremer
Copy link
Member

We could improve the printing of the Dataset by trying to sort the cubes by shared axes. Currently, if there is one cube without any axes all other cubes will have their axes printed seperately.
This is an example of such a cube:

url = "http://esgf1.dkrz.de/thredds/fileServer/cosmo-rea/reanalysis/EUR-6km/DWD/ECMWF-ERAINT/REA6/r1i1p1f1/COSMO/v1/mon/atmos/tas/v20230314/tas_EUR-6km_ECMWF-ERAINT_REA6_r1i1p1f1_COSMO_v1_mon_200401-200412.nc"
filename = split(url, "/")[end]
mkpath("data/")
path = download(url, "data/$filename")
ds = open_dataset(path)

Here the height cube is a zero dimensional cube and throws off all other printing.

@lazarusA
Copy link
Collaborator

this should be fix by #435

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