JuliaDataCubes / EarthDataLab.jl

Julia interface for Reading from the Earth System Datacube
http://earthsystemdatacube.net
Other
33 stars 14 forks source link

Cube drops variables #292

Closed gdkrmr closed 1 year ago

gdkrmr commented 1 year ago

I have come across this issue several times now, Cube drops some variables.

julia> s3path = "http://data.rsc4earth.de:9000/earthsystemdatacube/v3.0.1/esdc-8d-0.25deg-256x128x128-3.0.1.zarr";

julia> c3 = Cube(s3path);                                                                                         

julia> z3 = Zarr.zopen(s3path, consolidated=true, fill_as_missing=false);                                         

julia> symdiff(c3.axes[4].values, string.(keys(z3.arrays)))                                                       
9-element Vector{String}:                                                                                         
 "sensible_heat"                                                                                                  
 "latent_energy"                                                                                                  
 "time"                                                                                                           
 "terrestrial_ecosystem_respiration"                                                                              
 "lon"                                                                                                            
 "net_radiation"                                                                                                  
 "lat"                                                                                                            
 "burnt_area"                                                                                                     
 "net_ecosystem_exchange"                                           
gdkrmr commented 1 year ago

This should have been in YAXArrays