Closed bordoray closed 2 months ago
新しいパラメータ sea_at_zero
が Converter
クラスと Dem
クラスに追加されました。これにより、海域を0に設定するオプションが導入されました。この変更は、初期化メソッドに sea_at_zero
パラメータを追加することで実現され、特定の処理ロジックがこのパラメータの値に基づいて適用されます。
ファイル | 変更概要 |
---|---|
src/convert_fgd_dem/converter.py |
Converter クラスに sea_at_zero パラメータを追加し、Dem クラスのインスタンス化時にこのパラメータを渡すように修正。 |
src/convert_fgd_dem/dem.py |
Dem クラスに sea_at_zero パラメータを追加し、海域を0に設定するロジックを実装。 |
sequenceDiagram
participant User
participant Converter
participant Dem
User->>Converter: インスタンス化(sea_at_zero=True)
Converter->>Dem: インスタンス化(import_path, sea_at_zero=True)
Dem->>Dem: sea_at_zeroに基づく処理
Dem-->>Converter: インスタンス化完了
Converter-->>User: インスタンス化完了
うさぎさん、コードを変える、 海の広がり、ゼロにする、 数字が飛び交う、海の青、 変える力で、新たな道へ。 🌊🐇
Close #0
Description(変更内容)
Summary by CodeRabbit
sea_at_zero
パラメータにより、ユーザーは海域を0に設定するかどうかを選択できます。