issue_comments
9 rows where issue = 261403591 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- Need better user control of _FillValue attribute in NetCDF files · 9 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
333224978 | https://github.com/pydata/xarray/issues/1598#issuecomment-333224978 | https://api.github.com/repos/pydata/xarray/issues/1598 | MDEyOklzc3VlQ29tbWVudDMzMzIyNDk3OA== | shoyer 1217238 | 2017-09-29T20:01:43Z | 2017-09-29T20:01:43Z | MEMBER | It sounds like we should control this in xarray to ensure consistent behavior. |
{ "total_count": 3, "+1": 3, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Need better user control of _FillValue attribute in NetCDF files 261403591 | |
333175863 | https://github.com/pydata/xarray/issues/1598#issuecomment-333175863 | https://api.github.com/repos/pydata/xarray/issues/1598 | MDEyOklzc3VlQ29tbWVudDMzMzE3NTg2Mw== | dnowacki-usgs 13837821 | 2017-09-29T16:37:07Z | 2017-09-29T16:37:20Z | CONTRIBUTOR | @jhamman In brief, it's weird. Engine | encoding['_FillValue'] = False | Do nothing ----- | ----- | ----- netCDF4 | Filling off | Filling on scipy | Filling off | Filling off h5netcdf | Filling on | Filling off So, this is some peculiar behavior. Setting Code below: ``` import xarray as xr import numpy as np import pandas as pd ds = xr.Dataset({'foo': (('x', 'y'), np.random.rand(4, 5))}, coords={'x': [10, 20, 30, 40], 'y': pd.date_range('2000-01-01', periods=5), 'z': ('x', list('abcd'))}) ds.to_netcdf('notset_scipy.nc', engine='scipy') ds.to_netcdf('notset_netcdf4.nc', engine='netcdf4') ds.to_netcdf('notset_h5netcdf.nc', engine='h5netcdf') ds.y.encoding['_FillValue'] = False ds.to_netcdf('False_scipy.nc', engine='scipy') ds.to_netcdf('False_netcdf4.nc', engine='netcdf4') ds.to_netcdf('False_h5netcdf.nc', engine='h5netcdf') ``` netCDF4
scipy
h5netcdf
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Need better user control of _FillValue attribute in NetCDF files 261403591 | |
333171129 | https://github.com/pydata/xarray/issues/1598#issuecomment-333171129 | https://api.github.com/repos/pydata/xarray/issues/1598 | MDEyOklzc3VlQ29tbWVudDMzMzE3MTEyOQ== | jhamman 2443309 | 2017-09-29T16:17:32Z | 2017-09-29T16:17:32Z | MEMBER | @dnowacki-usgs - you've made a good point. At least for the netCDF4 backend, this seems to work out of the box with None/False. Can someone check that this works for the scipy/h5netcdf backends? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Need better user control of _FillValue attribute in NetCDF files 261403591 | |
333165596 | https://github.com/pydata/xarray/issues/1598#issuecomment-333165596 | https://api.github.com/repos/pydata/xarray/issues/1598 | MDEyOklzc3VlQ29tbWVudDMzMzE2NTU5Ng== | dnowacki-usgs 13837821 | 2017-09-29T15:55:22Z | 2017-09-29T15:55:22Z | CONTRIBUTOR |
Correct me if you're talking about something different, but xarray already supports setting
Which, for the relevant dimension, yields in ncinfo:
If I comment out that line in my processing routine, I get the following:
I agree that changing from |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Need better user control of _FillValue attribute in NetCDF files 261403591 | |
332950475 | https://github.com/pydata/xarray/issues/1598#issuecomment-332950475 | https://api.github.com/repos/pydata/xarray/issues/1598 | MDEyOklzc3VlQ29tbWVudDMzMjk1MDQ3NQ== | shoyer 1217238 | 2017-09-28T20:12:05Z | 2017-09-28T20:12:05Z | MEMBER | Agreed, None is probably better. There is no such thing as a "null" dtype. On Thu, Sep 28, 2017 at 1:10 PM Joe Hamman notifications@github.com wrote:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Need better user control of _FillValue attribute in NetCDF files 261403591 | |
332950001 | https://github.com/pydata/xarray/issues/1598#issuecomment-332950001 | https://api.github.com/repos/pydata/xarray/issues/1598 | MDEyOklzc3VlQ29tbWVudDMzMjk1MDAwMQ== | jhamman 2443309 | 2017-09-28T20:10:13Z | 2017-09-28T20:10:13Z | MEMBER | I actually think we should use |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Need better user control of _FillValue attribute in NetCDF files 261403591 | |
332949221 | https://github.com/pydata/xarray/issues/1598#issuecomment-332949221 | https://api.github.com/repos/pydata/xarray/issues/1598 | MDEyOklzc3VlQ29tbWVudDMzMjk0OTIyMQ== | shoyer 1217238 | 2017-09-28T20:07:15Z | 2017-09-28T20:07:15Z | MEMBER |
Indeed, this is prohibited by CF conventions -- but xarray (like pandas) takes a more flexible approach here, allowing for missing values for all variables. You can already specify an explicit choice for (There is no need worry about |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Need better user control of _FillValue attribute in NetCDF files 261403591 | |
332942206 | https://github.com/pydata/xarray/issues/1598#issuecomment-332942206 | https://api.github.com/repos/pydata/xarray/issues/1598 | MDEyOklzc3VlQ29tbWVudDMzMjk0MjIwNg== | mmartini-usgs 23199378 | 2017-09-28T19:38:42Z | 2017-09-28T19:38:42Z | NONE | There is also the philosophical problem of fill values for coordinate variables. To be true to reality, one really would want to add an interpolated value that fills whatever gap or bad value exists. That seems to be out of the scope of xarray though. I'm fine with a flag that controls only the coordinate data. That said, for the rest of the variables, we avoid NaN in _FillValue. We use 1E35. So there you could give the user a choice in default fill value. It seems pythonic to give the user flexibility. And the minute you satisfy us, there will be another use case that comes along with conflicting requirements. So you could use a flag and make it the user's choice, and not xarray's concern. It also depends on where in the process one cleans up one's data - reduce first, then QA/QC, or QA/QC first, then reduce. We do both, it depends on the instrument. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Need better user control of _FillValue attribute in NetCDF files 261403591 | |
332934061 | https://github.com/pydata/xarray/issues/1598#issuecomment-332934061 | https://api.github.com/repos/pydata/xarray/issues/1598 | MDEyOklzc3VlQ29tbWVudDMzMjkzNDA2MQ== | shoyer 1217238 | 2017-09-28T19:05:46Z | 2017-09-28T19:05:46Z | MEMBER | cc @thenaomig @laliberte There are at least two ways to fix this:
1. Support a flag of some sort in encoding (e.g., |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Need better user control of _FillValue attribute in NetCDF files 261403591 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issue_comments] ( [html_url] TEXT, [issue_url] TEXT, [id] INTEGER PRIMARY KEY, [node_id] TEXT, [user] INTEGER REFERENCES [users]([id]), [created_at] TEXT, [updated_at] TEXT, [author_association] TEXT, [body] TEXT, [reactions] TEXT, [performed_via_github_app] TEXT, [issue] INTEGER REFERENCES [issues]([id]) ); CREATE INDEX [idx_issue_comments_issue] ON [issue_comments] ([issue]); CREATE INDEX [idx_issue_comments_user] ON [issue_comments] ([user]);
user 4