-
Notifications
You must be signed in to change notification settings - Fork 36
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
Cannot open NetCDF file #558
Comments
What is I guess it needs to be skipped somehow. |
It seems as if vertices is parts of the dimensions and seems to be something similar to "bnds". YAXArrays filters them out as part of the list of dimensions and therefore doesn't have them in a possible layer list. I am going to discuss this further with @meggart. |
Ok I wasnt aware of those. Maybe link whats on your ignore list in YAX and I'll make sure to include them |
This is the code we use in YAXArrays to filter "real" variables https://github.com/JuliaDataCubes/YAXArrays.jl/blob/ee64a8608ed94c399edfebcdca9f188642c1349c/src/DatasetAPI/Datasets.jl#L294-L300: dnames = string.(keys(dimlist))
varlist = filter(get_varnames(g)) do vn
upname = uppercase(vn)
!occursin("BNDS", upname) &&
!occursin("BOUNDS", upname) &&
!any(i -> isequal(upname, uppercase(i)), dnames)
end basically everything that does not have _bnds in its name (should probably use |
Ok thanks that looks a little more thourough than the check for bounds variables here. |
Hmm this file is gone too, would be good to check this works now... |
This is still not working. I uploaded a failing dataset here. tas_EUR-6km_ECMWF-ERAINT_REA6_r1i1p1f1_COSMO_v1_mon_199501-199512.zip |
Thanks. Now we have all the CommonDataModel changes I want to fix all these little bugs. |
When I am trying to open this NetCDF file naively, I get the error below.
When I specify the key argument in the Raster call it works as expected, I would hope, that we could give a better error message and mention the possible keys for the data.
Also I would have expected a RasterStack to work on that file to give me a collection of all Rasters but that also fails.
I can open the data with NCDatasets or YAXArrays
Error for plain Raster call
Error for RasterStack
The text was updated successfully, but these errors were encountered: