-
Notifications
You must be signed in to change notification settings - Fork 8
[com1;in2] Add tiff compression; adjust particles export logic #1173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
9e40e5b to
78fb368
Compare
00e61b1 to
db4e5a6
Compare
8802afa to
f43f342
Compare
❌ 2 blocking issues (2 total)
@qltysh one-click actions:
|
9e949c1 to
225fea4
Compare
428b2f0 to
1a19d9c
Compare
a3b9083 to
eb6265b
Compare
|
Diff Coverage: The code coverage on the diff in this pull request is 85.7%. Total Coverage: This PR will decrease coverage by 0.02%. File Coverage Changes
🛟 Help
|
|
Standardtests ident |
refactor(rasterUtils, deriveParameterSet): simplify compression logic and reformat function call - Updated compression logic in `writeResultToRaster` to initialize `extraKwargs` more clearly. refactor(com1DFA): remove redundant raster output logic in `updateResCoeffFields` refactor(com1DFA): simplify `updateResCoeffFields` function and remove unused parameters - Removed unused `t` and `dem` parameters from `updateResCoeffFields` function to streamline its interface. - Updated all references to `updateResCoeffFields` across `com1DFA` and related test files. feat(rasterUtils): add optional compression parameter for raster writing - Introduced `useCompression` parameter to `writeResultToRaster` for configurable compression of `GTiff` files. - Defaulted the parameter to `True` for LZW compression refactor(rasterUtils): simplify raster file writing logic and enforce driver validation; fixes #1163 - Added validation to ensure only supported drivers (`AAIGrid`, `GTiff`) are used. - Utilized `with` statement to handle file writing safely and cleanly. - Implemented LZW compression for `GTiff` raster outputs to optimize file size. - Refactored file writing logic to support driver-specific configurations. refactor(com1DFA): remove unnecessary blank line from configuration file - Introduced `useCompression` parameter in `EXPORTS` config to enable LZW compression for raster outputs. - Updated `writeResultToRaster` calls across modules to support optional compression. - Adjusted tests and added relevant configuration for validation. PROBLEM WITH updateResCoeffFields -> only cfg General is supplied, not Exports
eb6265b to
5a75bbc
Compare
For the compression:
Each module should implement a useCompression in their cfg IF they want to turn off compression in the case of tiff usage. (done for com1DFA)
By default compression is used!