-
Notifications
You must be signed in to change notification settings - Fork 31
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
64-bit offset NetCDF and unlimited dimensions #231
Comments
Hmm @meggart recently added a check to avoid broken chunks (zero or negative size) This is explicitly erroring now instead of allowing an object with broken chunks, it is good to have that guarantee in most cases except yours, where you are trying to break the chunks! I have warned that the chunks would break if you used But I don't know what to do besides removing the safety check and let you have broken chunks. I do have a simple solution that will take a few hours to implement, but you know all about that... |
I think the problem of this issue here is not that difficult. See: https://github.com/Alexander-Barth/NCDatasets.jl/pull/232/files |
Well seems slightly hacky, but if it works! |
Yes, it seems quite hacky. I am wondering if the netcdf library is actually corrected to report variables with unlimited dimensions as continuous while they are saved in a non-contiguous manner on disk. |
Is it possible to check for unlimited variables manually when you load a file, and effectively ignore what netcdf reports? |
yes, this is certainly possible but it could cause some confusion. Maybe |
Yes that makes sense, the effective chunk pattern is different to the official chunk pattern. |
NetCDF3 files (64-bit offset NetCDF,...) and unlimited dimensions (issue #231)
Resolved in a0ca027 . |
This code with 64-bit offset NetCDF files and unlimited dimensions are failing with current master:
This is the stack-trace:
I am using DiskArray 0.3.22. Note 64-bit offset NetCDF are always unchunked. The error does not appear with NetCDF4 files or with NCDatasets 0.12.
@tcarion or @rafaqz , do you have any ideas ?
My tentative reproduce with NetCDF.jl fails with a different error:
which produces
Not a valid data type or _FillValue type mismatch
.The text was updated successfully, but these errors were encountered: