home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 365479970

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/1536#issuecomment-365479970 https://api.github.com/repos/pydata/xarray/issues/1536 365479970 MDEyOklzc3VlQ29tbWVudDM2NTQ3OTk3MA== 905179 2018-02-14T02:55:22Z 2018-02-14T02:55:22Z NONE

The methods that need to be implemented are (in the C API) as follows:

int nc_def_var_filter(int ncid, int varid, unsigned int id, size_t nparams, const unsigned int* parms); The only tricky part is passing a vector of unsigned integers (the parms argument).

int nc_inq_var_filter(int ncid, int varid, unsigned int idp, size_t nparams, unsigned int* params); This requires passing values out via pointers. Also, this uses the standard netcdf-c trick in which the function is called twice. First with nparams defined, but params has the value NULL. This gives the caller the number of parameters. The function is called a second time after allocating the params vector and with that vector as the final argument.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  253476466
Powered by Datasette · Queries took 0.58ms · About: xarray-datasette