-
Notifications
You must be signed in to change notification settings - Fork 32
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
Type piracy on CommonDataModel #219
Comments
From you comment: Yes, indeed, it would be better to move SubVariable related view function to |
That means the That may be unnnecessary as DiskArrays already handles views pretty well. If you dont want to use that, we could instead use a Union of all the netcdf variable types rather than |
Loking at it this is a bit of a design problem that CommonDataModel depends on Do you want to instead use DiskArrays.jl We need to make a pretty high level design choice here: DiskArrays.jl or no DiskArrays.jl |
I actually encountered an issue with the |
#205 is merged and the type piracy does no longer exists as |
This line is type piracy on CommonDataModel.jl:
NCDatasets.jl/src/subvariable.jl
Line 94 in 66d1e67
Which causes test failures here: https://github.com/rafaqz/Rasters.jl/actions/runs/5475178088/job/14825206026?pr=416#step:5:802
@tcarion FYI
Should it instead dispatch on
SubVariable
?The text was updated successfully, but these errors were encountered: