Skip to content

Commit

Permalink
Add Multi-Storage Client (MSC) as an optional dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamtalen committed Jan 9, 2025
1 parent 263d7b1 commit 08a450a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Dependencies

- Remove the numpy dependency upper bound.
- Add Multi-Storage Client (MSC) as an optional dependency.

## [0.9.0] - 2024-12-04

Expand Down
16 changes: 16 additions & 0 deletions examples/msc_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This is an example MSC configuration file for accessing the cwb datasets stored
# in an S3-compatible bucket cwb-diffusions.
# The credentials are inferred from the environment variables S3_KEY and S3_SECRET.
profiles:
cwb-diffusions:
storage_provider:
type: s3
options:
region_name: us-east-1
endpoint_url: https://pbss.s8k.io
base_path: cwb-diffusions
credentials_provider:
type: S3Credentials
options:
access_key: ${S3_KEY}
secret_key: ${S3_SECRET}
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ dev = [
"interrogate==1.5.0",
"coverage==6.5.0",
"ruff==0.0.290",
"multi-storage-client>=0.12.2",
]

makani = [
Expand Down Expand Up @@ -94,6 +95,7 @@ all = [
"nvidia-modulus[dev]",
"nvidia-modulus[makani]",
"nvidia-modulus[fignet]",
"multi-storage-client[boto3]",
]


Expand Down

0 comments on commit 08a450a

Please sign in to comment.