Skip to content

Commit

Permalink
Add changelog for new dep, fix imports/exports (#194)
Browse files Browse the repository at this point in the history
* add changelog for new dep, fix imports/exports

* exclude bots from release notes

isce-framework/snaphu-py#29
  • Loading branch information
scottstanie authored Jan 18, 2024
1 parent 4b4eb8a commit 8debc9d
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
changelog:
exclude:
authors:
- dependabot
- pre-commit-ci
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
- The `VRTStack` no longer has an `.iter_blocks` method
- This has been replaced with creating an `EagerLoader` directly and passing it to the `reader` argument

**Dependencies**
- Added `rasterio>=1.3`

# [v0.8.0](https://github.com/isce-framework/dolphin/compare/v0.7.0...v0.8.0)

**Added**
Expand Down
2 changes: 2 additions & 0 deletions src/dolphin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@

from ._dates import *
from ._log import *
from ._blocks import *
from ._readers import *
from ._show_versions import *
7 changes: 7 additions & 0 deletions src/dolphin/_blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@
# 2. map the current output pixels to their input locations (using strides)
# 3. pad the input block (using half window)

__all__ = [
"BlockIndices",
"BlockManager",
"compute_out_shape",
"iter_blocks",
]


@dataclass(frozen=True)
class BlockIndices:
Expand Down
7 changes: 6 additions & 1 deletion src/dolphin/_readers.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,15 @@

__all__ = [
"DatasetReader",
"BinaryReader",
"StackReader",
"BinaryReader",
"BinaryStackReader",
"HDF5Reader",
"HDF5StackReader",
"RasterReader",
"RasterStackReader",
"VRTStack",
"EagerLoader",
]

if TYPE_CHECKING:
Expand Down
4 changes: 2 additions & 2 deletions src/dolphin/_show_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
import sys
from typing import Optional

import opera_utils

import dolphin

__all__ = ["show_versions"]
Expand Down Expand Up @@ -56,6 +54,8 @@ def _get_opera_info() -> dict[str, Optional[str]]:
dict
dolphin / opera module information
"""
import opera_utils

blob = {
"dolphin": dolphin.__version__,
"opera_utils": opera_utils.__version__,
Expand Down

0 comments on commit 8debc9d

Please sign in to comment.