You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update bounds.py align_to_cell_lines() to match FUSION alignment (#112)
* Update bounds.py align_to_cell_lines() to match FUSION alignment
Modified code to align cell centers with multiple of resolution. It might be better to add an option to the database for pixel-is-point or pixel-is-cell and rename the new version of align_to_cell_lines() to align_to_cell_centers(). There are just a few places where the function is called that would need to add code to use the db option.
* Update bounds.py to include commented original code
* adding option for cell alignment to DB
* making adjust_alignment self-contained
* Updating tests and CLI to use alignment
* Setting default alignment to pixel_is_cell to pass tests
* added alignment fixture
* fixing duplicate parameter
* Fixed default alignment in CLI
* added alignment to s3_storage_config fixture
* Changing pixel_is_point and pixel_is_cell to pixelispoint and pixelisarea. Adding shatter test for pixelispoint case
* Correcting alignment in tests
* testing alignment
* Changing test_command_point() to modify storage.config with pixelispoint alignment
* Removing test for pixelispoint...more complicated than I thought!
* Adding CRS to bounds for pipeline reader
* Adding CRS to bounds when pipeline is created
* backed out CRS addition to bounds
* Updated to use AlignToCorner and AlignToCenter value for pixel alignment
* Parametrized Tests for alignment addition (#115)
* tests working after addition of parametrized fixture for alignment
* remove debugging line
* Fixing GDAL data type mapping and adding check for what to make nanvalue if dtype isn't float
* Grid metrics (#121)
* adding grid_metrics and corresponding filters
* adding lfs, grid_metrics, and a test for fusion comparisons
* adding fusion test case file
* adding fusion comparison rasters to test data
* wip, debugging differences in intensity tif output
* Add linting to keep consistency (#120)
* linting the project according to ruff, added config to pyproject.toml
* wip, getting tests outside of fusion working again
* fixing tests, skipping fusion test
* fixing linting errors
* remove debug noise, fix filter param name in scan
* fixed lmoments and cv metrics, now matching FUSION
* changing mode to mimic how FUSION is doing it
* added rest of fusion metrics
* added methods for counts and covers so elevation key can be applied correctly
* removing alignment from tests it's unnecessary in, fixing tests that relied on checking data
* adding docstrings, updating cli docs
* attempt to add fusion test back with lfs in gh action workflow
---------
Co-authored-by: Kyle Mann <kyle@hobu.co>
0 commit comments