home / github

Menu
  • Search all tables
  • GraphQL API

issues

Table actions
  • GraphQL API for issues

3 rows where user = 204523 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: title, comments, created_at (date), updated_at (date), closed_at (date)

type 2

  • pull 2
  • issue 1

state 1

  • closed 3

repo 1

  • xarray 3
id node_id number title user state locked assignee milestone comments created_at updated_at ▲ closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
242401142 MDExOlB1bGxSZXF1ZXN0MTMwMTUzNzg5 1476 Fix text in error message, A leftover from #993 mzuehlke 204523 closed 0   0.10 2415632 3 2017-07-12T14:31:33Z 2017-08-04T20:43:22Z 2017-07-12T15:56:50Z CONTRIBUTOR   0 pydata/xarray/pulls/1476

I've spotted this wrong error message. In my opinion this is too small to justify an entry in whats-new.rst.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1476/reactions",
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
175191994 MDExOlB1bGxSZXF1ZXN0ODQwODIzNDE= 998 Discovered conflicting _FillValue and missing_value, but both are NaN mzuehlke 204523 closed 0     3 2016-09-06T08:44:26Z 2016-09-07T16:20:27Z 2016-09-07T16:20:22Z CONTRIBUTOR   0 pydata/xarray/pulls/998

Added test and code change to fix issue #997

The first added testcase (using np.nan) passes even without the change in core.utils.equivalent.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/998/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
175188832 MDU6SXNzdWUxNzUxODg4MzI= 997 Discovered conflicting _FillValue and missing_value, but both are NaN mzuehlke 204523 closed 0     0 2016-09-06T08:29:01Z 2016-09-07T16:20:24Z 2016-09-07T16:20:24Z CONTRIBUTOR      

When a variable contains both attributes and both are NaN the comparison fails. This happens when with engine='netcdf4' and not with engine='h5netcdf.

Example file: ftp://anon-ftp.ceda.ac.uk/neodc/esacci/aerosol/data/MERIS_ALAMO/L3/v2.2/DAILY/2008/01/20080101-ESACCI-L3C_AEROSOL-AOD-MERIS_ENVISAT-ALAMO-fv2.2.nc

ncdump -h 20080101-ESACCI-L3C_AEROSOL-AOD-MERIS_ENVISAT-ALAMO-fv2.2.nc netcdf \20080101-ESACCI-L3C_AEROSOL-AOD-MERIS_ENVISAT-ALAMO-fv2.2 { dimensions: latitude = 180 ; longitude = 360 ; variables: float AOD550(latitude, longitude) ; AOD550:_FillValue = NaNf ; AOD550:long_name = "Mean Effective Aerosol Optical Thickness at 550nm over ocean - Best solution" ; AOD550:standard_name = "atmosphere_optical_thickness_due_to_ambient_aerosol" ; AOD550:units = "1" ; AOD550:coordinates = "latitude longitude" ; AOD550:valid_range = -3.402823e+38f, 3.402823e+38f ; AOD550:missing_value = NaNf ; }

```

import xarray as xr ds = xr.open_dataset('20080101-ESACCI-L3C_AEROSOL-AOD-MERIS_ENVISAT-ALAMO-fv2.2.nc', engine='h5netcdf', decode_cf=False) ds.variables['AOD550'].attrs['_FillValue'] array([ nan], dtype=float32) ds.variables['AOD550'].attrs['missing_value'] array([ nan], dtype=float32) type(ds.variables['AOD550'].attrs['missing_value']) <class 'numpy.ndarray'> xr.core.utils.equivalent(ds.variables['AOD550'].attrs['_FillValue'], ds.variables['AOD550'].attrs['missing_value']) True

```

```

ds = xr.open_dataset('20080101-ESACCI-L3C_AEROSOL-AOD-MERIS_ENVISAT-ALAMO-fv2.2.nc', engine='netcdf4', decode_cf=False) ds.variables['AOD550'].attrs['_FillValue'] nan ds.variables['AOD550'].attrs['missing_value'] nan type(ds.variables['AOD550'].attrs['missing_value']) <class 'numpy.float32'> xr.core.utils.equivalent(ds.variables['AOD550'].attrs['_FillValue'], ds.variables['AOD550'].attrs['missing_value']) False

```

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/997/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed xarray 13221727 issue

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issues] (
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [number] INTEGER,
   [title] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [state] TEXT,
   [locked] INTEGER,
   [assignee] INTEGER REFERENCES [users]([id]),
   [milestone] INTEGER REFERENCES [milestones]([id]),
   [comments] INTEGER,
   [created_at] TEXT,
   [updated_at] TEXT,
   [closed_at] TEXT,
   [author_association] TEXT,
   [active_lock_reason] TEXT,
   [draft] INTEGER,
   [pull_request] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [performed_via_github_app] TEXT,
   [state_reason] TEXT,
   [repo] INTEGER REFERENCES [repos]([id]),
   [type] TEXT
);
CREATE INDEX [idx_issues_repo]
    ON [issues] ([repo]);
CREATE INDEX [idx_issues_milestone]
    ON [issues] ([milestone]);
CREATE INDEX [idx_issues_assignee]
    ON [issues] ([assignee]);
CREATE INDEX [idx_issues_user]
    ON [issues] ([user]);
Powered by Datasette · Queries took 963.114ms · About: xarray-datasette