Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
#153 make_local todo, check known issue - dataset.sel operation fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzysztof (Chris) Bernat committed Mar 20, 2017
1 parent 65c747f commit 15db45a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cate/ds/esa_cci_odp.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,7 @@ def make_local(self,
lon_min = floor((lon_min - geo_lon_min) / geo_lon_res)
lon_max = ceil((lon_max - geo_lon_min) / geo_lon_res)

# TODO (kbernat): check why dataset.sel fails!
remote_dataset = remote_dataset.isel(drop=False,
lat=slice(lat_min, lat_max),
lon=slice(lon_min, lon_max))
Expand Down

0 comments on commit 15db45a

Please sign in to comment.