home / github

Menu
  • GraphQL API
  • Search all tables

issues

Table actions
  • GraphQL API for issues

1 row where state = "open", type = "issue" and user = 85125 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

type 1

  • issue · 1 ✖

state 1

  • open · 1 ✖

repo 1

  • xarray 1
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
424545013 MDU6SXNzdWU0MjQ1NDUwMTM= 2848 When decode_times fails, warn rather than failing efiring 85125 open 0     4 2019-03-23T21:06:16Z 2019-03-25T23:37:27Z   NONE      

There are various reasons why time decoding can fail on a netcdf or opendap file, but the immediate solution is always to try again with decode_times=False. Therefore it would save time and frustration if instead of failing, open_dataset would simply issue a warning for any variable it could not decode, and proceed to decode those that it can. As an example, here is a URL for which the time coordinate can be converted but there is another time-related array, tau that cannot--and that probably shouldn't be, in any case: python import xarray as xr url = "http://tds.hycom.org/thredds/dodsC/GLBu0.08/expt_90.9/uv3z" d0 = xr.open_dataset(url, decode_times=False) print(d0.time) print(d0.tau) yielding ``` <xarray.DataArray 'time' (time: 438)> array([105768., 105792., 105816., ..., 119472., 119496., 119520.]) Coordinates: * time (time) float64 1.058e+05 1.058e+05 ... 1.195e+05 1.195e+05 Attributes: long_name: Valid Time units: hours since 2000-01-01 00:00:00 time_origin: 2000-01-01 00:00:00 calendar: gregorian axis: T NAVO_code: 13

<xarray.DataArray 'tau' (time: 438)> array([0., 0., 0., ..., 0., 0., 0.]) Coordinates: * time (time) float64 1.058e+05 1.058e+05 ... 1.195e+05 1.195e+05 Attributes: long_name: Tau units: hours since analysis time_origin: 2013-08-19 00:00:00 NAVO_code: 56 ```

Output of xr.show_versions()

INSTALLED VERSIONS ------------------ commit: None python: 3.6.7 | packaged by conda-forge | (default, Feb 28 2019, 02:16:08) [GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] python-bits: 64 OS: Darwin OS-release: 16.7.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: en_US.UTF-8 libhdf5: 1.10.2 libnetcdf: 4.6.1 xarray: 0.12.0 pandas: 0.24.2 numpy: 1.16.2 scipy: 1.2.1 netCDF4: 1.4.1 pydap: None h5netcdf: 0.6.1 h5py: 2.8.0 Nio: None zarr: None cftime: 1.0.0 nc_time_axis: None PseudonetCDF: None rasterio: None cfgrib: None iris: None bottleneck: 1.2.1 dask: 0.18.2 distributed: 1.22.0 matplotlib: 2.2.2 cartopy: 0.16.0 seaborn: None setuptools: 40.0.0 pip: 18.1 conda: 4.5.11 pytest: 3.7.1 IPython: 6.5.0 sphinx: 1.8.0
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/2848/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    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 20.862ms · About: xarray-datasette