NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

[netcdfgroup] Breaking nc_inq_var_filter

In order to support multiple filters per variable in netcdf-c
I propose to break nc_inq_var_filter by changing the signature from:
> int nc_inq_var_filter(int ncid, int varid, unsigned int* idp, size_t* nparams, unsigned int* params);
to:
int nc_inq_var_filter(int ncid, int varid, unsigned int id, size_t* nparams, unsigned int* params);

Thus this function would require the user to specify the filter
id of interest rather than return the presumed single filter id.
A separate function -- nc_inq_var_filters -- will be defined
to return all the filter ids that apply to a specified variable.

Is this going to be a major problem for anyone?

=Dennis Heimbigner
  Unidata


  • 2020 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: