home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 239937280

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/902#issuecomment-239937280 https://api.github.com/repos/pydata/xarray/issues/902 239937280 MDEyOklzc3VlQ29tbWVudDIzOTkzNzI4MA== 1217238 2016-08-15T21:38:16Z 2016-08-15T21:38:16Z MEMBER

This is where you can find the core caching logic on Variable objects: https://github.com/pydata/xarray/blob/56abba54ca4e89af570fd9cacc8f3ffcf5a5c4c7/xarray/core/variable.py#L257-L305

Here's where we define load on Dataset and DataArray: https://github.com/pydata/xarray/blob/56abba54ca4e89af570fd9cacc8f3ffcf5a5c4c7/xarray/core/dataset.py#L305-L327 https://github.com/pydata/xarray/blob/56abba54ca4e89af570fd9cacc8f3ffcf5a5c4c7/xarray/core/dataarray.py#L523-L536

As I mentioned before, let's add .compute() to evaluate and return a new object, and use it for .values instead of caching. .load() can remain unchanged for when users actually want to cache data. And we can definitely disable automatically loading data in pickles.

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