Skip to content
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 CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* Allow creation of EOAP-only and xcube-server-only images, omitting
unnecessary dependencies (#56)
* Add support for notebook-assisted stage-in (#23, #91, #95)
* Make stage-out catalogue geometry field GeoJSON-compliant (#101)

## Changes in 0.1.2

Expand Down
1 change: 1 addition & 0 deletions test/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def test_write_stac(tmp_path, dataset, write_datasets, pre_existing_catalog):
],
"ds2": [str((tmp_path / "ds2" / "ds2.nc").resolve(strict=False))],
}
catalog.validate_all()


def test_write_stac_no_pystac(tmp_path, dataset):
Expand Down
12 changes: 7 additions & 5 deletions xcengine/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,13 @@ class Bounds(NamedTuple):
geometry={
"type": "Polygon",
"coordinates": [
[bb.left, bb.bottom],
[bb.left, bb.top],
[bb.right, bb.top],
[bb.right, bb.bottom],
[bb.left, bb.bottom],
[
[bb.left, bb.bottom],
[bb.left, bb.top],
[bb.right, bb.top],
[bb.right, bb.bottom],
[bb.left, bb.bottom],
]
],
},
bbox=[bb.left, bb.bottom, bb.right, bb.top],
Expand Down
Loading