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

Commit

Permalink
closes #817
Browse files Browse the repository at this point in the history
  • Loading branch information
forman committed Mar 1, 2019
1 parent accdfb4 commit d42643b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
7 changes: 6 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
## Version 2.0.0.dev25 (in development)
## Version 2.0.0.dev26 (in development)

* Fixed a display problem where spatial subsets of datasets appeared shifted on the 3D globe view
[#817](https://github.com/CCI-Tools/cate/issues/817)

## Version 2.0.0.dev25

* Increased default time-out for data downloads from 10 to 90 seconds. Addresses (but not fixes)
[#835](https://github.com/CCI-Tools/cate/issues/835)
Expand Down
7 changes: 4 additions & 3 deletions cate/util/im/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,9 +625,10 @@ def __init__(self,
tile_cache: Cache = None):
step_size = 1 << step_exp
source_width, source_height = array.shape[-1], array.shape[-2]
size = source_width // step_size, source_height // step_size
num_tiles = size[0] // tile_size[0], size[1] // tile_size[1]
super().__init__(size,
width, height = source_width // step_size, source_height // step_size
tile_width, tile_height = tile_size
num_tiles = (width + tile_width - 1) // tile_width, (height + tile_height - 1) // tile_height
super().__init__((width, height),
tile_size=tile_size,
num_tiles=num_tiles,
mode=str(array.dtype),
Expand Down
2 changes: 1 addition & 1 deletion cate/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# SOFTWARE.

# Cate version string (PEP440-compatible), e.g. "0.8.0", "0.8.0.dev1", "0.8.0rc1", "0.8.0rc1.dev1"
__version__ = '2.0.0.dev25'
__version__ = '2.0.0.dev26'

# Other package metainfo
__title__ = 'cate'
Expand Down

0 comments on commit d42643b

Please sign in to comment.