-
Notifications
You must be signed in to change notification settings - Fork 262
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
nc_def_var_filter() should say in docs that it will cause vars to be switched to chunking #1612
Comments
OK, what actually happens is that the var is silently converted to chunked. This should be mentioned in the documentation for nc_def_var_filter(). |
I noticed that code. Perhaps it would be better to not |
For all the built-in filters, we do the same - we silently convert the variable to chunked. This seems like it's working out, and I think it would be least confusing if the user-defined filters work the same way. So I suggest we document this and leave it alone. |
ok |
Filters only work with chunked data.
nc_def_var_filter() needs to check that a var is chunked and return NC_EINVAL when an attempt is made to set a filter on a contiguous (or compact) variable.
I have a fix and will put a PR up shortly.
The text was updated successfully, but these errors were encountered: