Skip to content

Commit 05ffe3a

Browse files
Phil Varnergadomski
authored andcommitted
0.4.0 release prep
1 parent ef69d99 commit 05ffe3a

File tree

3 files changed

+5
-20
lines changed

3 files changed

+5
-20
lines changed

CHANGELOG.MD

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,13 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). This project attempts to match the major and minor versions of [stactools](https://github.com/stac-utils/stactools) and increments the patch number as needed.
66

7-
## [Unreleased]
7+
## [0.4.0] - 2023-08-03
88

99
### Added
1010

1111
- Added support for the Grid Extension `grid:code` field ([#56](https://github.com/stactools-packages/landsat/pull/56))
1212
- Added support for the Projection Extension `proj:centroid` field ([#56](https://github.com/stactools-packages/landsat/pull/56))
1313

14-
### Removed
15-
16-
Nothing.
17-
18-
### Changed
19-
20-
Nothing.
21-
22-
### Fixed
23-
24-
Nothing.
25-
26-
### Deprecated
27-
28-
Nothing.
29-
3014
## [0.3.0] - 2022-10-21
3115

3216
### Added
@@ -115,7 +99,7 @@ NOTE: For backwards compatibility, all items under the Added, Changed, and Fixed
11599

116100
- Upgrade to stactools 0.2.1.a2 (supporting PySTAC 1.0.0)
117101

118-
[Unreleased]: <https://github.com/stactools-packages/landsat/compare/v0.3.0..main>
102+
[0.4.0]: <https://github.com/stactools-packages/landsat/compare/v0.3.0..v0.4.0>
119103
[0.3.0]: <https://github.com/stactools-packages/landsat/compare/v0.2.4..v0.3.0>
120104
[0.2.4]: <https://github.com/stactools-packages/landsat/compare/v0.2.3..v0.2.4>
121105
[0.2.3]: <https://github.com/stactools-packages/landsat/compare/v0.2.2..v0.2.3>

src/stactools/landsat/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ def register_plugin(registry: Registry) -> None:
1010
registry.register_subcommand(commands.create_landsat_command)
1111

1212

13-
__version__ = "0.3.0"
13+
__version__ = "0.4.0"

src/stactools/landsat/mtl_metadata.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,8 @@ def sr_transform(self) -> List[float]:
202202
@property
203203
def thermal_transform(self) -> Optional[List[float]]:
204204
return map_opt(
205-
lambda shape: transform_from_bbox(self.proj_bbox, shape), self.thermal_shape
205+
lambda shape: transform_from_bbox(self.proj_bbox, shape),
206+
self.thermal_shape,
206207
)
207208

208209
@property

0 commit comments

Comments
 (0)