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

getting rid of Variables names. #47

Closed
lazarusA opened this issue Apr 8, 2021 · 1 comment
Closed

getting rid of Variables names. #47

lazarusA opened this issue Apr 8, 2021 · 1 comment

Comments

@lazarusA
Copy link
Collaborator

lazarusA commented Apr 8, 2021

When loading a *.nc dataset with open_mfdataset and only one Variable is available after applying the Cube function, the information about the variable is lost, is this a name thing/bug? [Variable, Variables] ? or this happens because is just one Variable.

f = open_mfdataset("file.nc")
YAXArray Dataset
Dimensions: 
   longitude 
   latitude            
   time               
Variables: NDVI

and then something like this...

file= Cube(file)
YAXArray with the following dimensions
longitude           
latitude            
time              
units:

gets rid of the Name Variable.

@lazarusA
Copy link
Collaborator Author

there global variables names (dataset) and individual one (for cubes). Hence, if the cube doesn't contain the name, then we don't see it.

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

1 participant