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/2029#issuecomment-451731920,https://api.github.com/repos/pydata/xarray/issues/2029,451731920,MDEyOklzc3VlQ29tbWVudDQ1MTczMTkyMA==,8419157,2019-01-06T10:46:39Z,2019-01-06T10:46:39Z,NONE,"I assumed that using a `with` statement I have loaded the data into memory and closing the file.
```
with xr.open_dataset(path) as ds:
    data = ds
```
However this does not load into memory entirely and so lazy loading is still in effect.
So using `.load` does what I wanted
```
with xr.open_dataset(path) as ds:
    data = ds.load()
```","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,309949357
https://github.com/pydata/xarray/issues/2029#issuecomment-377728037,https://api.github.com/repos/pydata/xarray/issues/2029,377728037,MDEyOklzc3VlQ29tbWVudDM3NzcyODAzNw==,37649,2018-03-31T22:30:50Z,2018-03-31T22:30:50Z,NONE,"Thanks @shoyer! Question: I'd wondered if maybe I `open_dataset` a NetCDF file and then modified one of the `data_vars`, maybe xarray would update the file without me doing anything, but that wasn't the case, correct? So only the loading of data is lazy, data modified is modified only in memory? Thanks for the explanation!","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,309949357