Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [PEP 440](https://www.python.org/dev/peps/pep-0440/)
and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.1.5]

### Changed
- Avoid multipart uploads by using a very large chunk_size so the S3 ETag will always be an md5 checksum.

## [0.1.4]

### Added
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies:
- pip
- gdal>=3.0
- shapely
- hyp3lib>=4,<5
- hyp3lib>=4.0.1,<5
- boto3
- jinja2
# For packaging, and testing
Expand Down
4 changes: 2 additions & 2 deletions requirements-static.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ruff==0.12.2
mypy==1.16.1
ruff==0.12.7
mypy==1.17.1
lxml-stubs
types-shapely
types-requests
2 changes: 1 addition & 1 deletion src/hyp3_opera_rtc/upload_rtc.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def upload_rtc(bucket: str, bucket_prefix: str, output_dir: Path) -> None:
output_files.append(output_zip)

for output_file in output_files:
upload_file_to_s3(output_file, bucket, bucket_prefix)
upload_file_to_s3(output_file, bucket, bucket_prefix, chunk_size=100_000_000)


def make_zip(output_files: list[Path], output_dir: Path) -> Path:
Expand Down