issue_comments: 662868741
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/4236#issuecomment-662868741 | https://api.github.com/repos/pydata/xarray/issues/4236 | 662868741 | MDEyOklzc3VlQ29tbWVudDY2Mjg2ODc0MQ== | 8098361 | 2020-07-23T07:53:23Z | 2020-07-23T07:53:23Z | NONE | My minimal def preprocessing(doys, ds): print(doys)
def get_data_set(doys, parallel=True): ds = xr.open_mfdataset( files, combine='nested', concat_dim='time', parallel=parallel, preprocess=partial(preprocessing, doys) ) return ds if name == 'main':
pth = "/path/to/data"
day_of_year_range = (100, 140)
files = list(Path(pth).rglob('*.nc'))
ds = get_data_set(day_of_year_range, parallel=False)
print(ds)
|
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
659142789 |