Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
commit = True
tag = True
current_version = 3.8.0
message = Bump version: {current_version} → {new_version} [skip ci]

[bumpversion:file:setup.py]
search = version="{current_version}"
Expand Down
4 changes: 2 additions & 2 deletions nowcasting_dataset/data_sources/data_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,8 @@ def get_example(self, location: SpaceTimeLocation) -> xr.Dataset:
x_center_osgb=x_center_osgb, y_center_osgb=y_center_osgb
)
selected_data = selected_data.sel(
x_osgb=slice(bounding_box.left, bounding_box.right),
y_osgb=slice(bounding_box.top, bounding_box.bottom),
x_osgb=slice(int(bounding_box.left), int(bounding_box.right)),
y_osgb=slice(int(bounding_box.top), int(bounding_box.bottom)),
)

# selected_sat_data is likely to have 1 too many pixels in x and y
Expand Down