home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 205414496

This data as json

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
205414496 MDU6SXNzdWUyMDU0MTQ0OTY= 1249 confusing dataset creation process 731499 open 0     6 2017-02-05T09:52:44Z 2022-06-26T15:07:59Z   CONTRIBUTOR      

In another issue I create a simple dataset like so:

python lat = np.random.rand(50000) * 180 - 90 lon = np.random.rand(50000) * 360 - 180 d = xr.Dataset({'latitude':lat, 'longitude':lon})

I expected d to contain two variables (latitude and longitude) with no coordinates. Instead d appears to contain two coordinates and no variables:

In [5]: d Out[5]: <xarray.Dataset> Dimensions: (latitude: 50000, longitude: 50000) Coordinates: * latitude (latitude) float64 -76.0 -84.36 26.69 66.44 -37.85 50.13 ... * longitude (longitude) float64 -148.7 -74.82 18.37 117.7 80.63 12.25 ... Data variables: *empty*

Is this desired behavior?

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

Links from other tables

  • 1 row from issues_id in issues_labels
  • 6 rows from issue in issue_comments
Powered by Datasette · Queries took 0.77ms · About: xarray-datasette