Skip to content
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

Re-organize coreg.py #329

Merged
merged 56 commits into from
Jan 31, 2023
Merged
Show file tree
Hide file tree
Changes from 39 commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
998577f
Add a CRS argument to all coreg.fit functions
adehecq Oct 25, 2022
cbffeb4
Replace old slope/aspect calculation with xdem implementation
adehecq Oct 25, 2022
5851e11
Add a CRS argument to all coreg.fit functions
adehecq Oct 25, 2022
fdbd723
Replace old slope/aspect calculation with xdem implementation
adehecq Oct 25, 2022
165b5d2
Merge branch 'coreg' of github.com:adehecq/xdem into coreg
adehecq Oct 25, 2022
befe474
Replace subsampling with geoutils.spatial_tools implementation
adehecq Oct 25, 2022
0b534c2
Improve testing subsampling for deramp coreg
adehecq Oct 25, 2022
5ca9570
Remove duplicate of deramping
adehecq Oct 25, 2022
c771c3c
Add function to calculate standard ddem stats
adehecq Oct 25, 2022
8eaa010
Fix circular import in previous commit
adehecq Oct 25, 2022
62a98f2
Ensure fit/apply always take transform+crs as input, update tests acc…
adehecq Oct 26, 2022
a51dac8
Fix issue with arg name in overloading. Remove optional type for tran…
adehecq Oct 26, 2022
a6dde03
Raise an error if unproject CRS is used for NuthKaab
adehecq Oct 26, 2022
082f636
Remove unused functions
adehecq Oct 26, 2022
1fa5afc
Move the functions in a more logical order (nothing is changed)
adehecq Oct 26, 2022
60348f6
Remove dilate_mask option of function
adehecq Oct 26, 2022
8c95f0c
Fix bug with option not taken into account in CoregPipeline
adehecq Oct 28, 2022
2782116
Fix bug with resampling option not taken into account in Coregpipeline
adehecq Oct 28, 2022
62ec0bf
Revert to old slope/aspect calculation, more efficient
adehecq Oct 28, 2022
75ef08f
Add a function to create inlier_mask for coreg
adehecq Nov 22, 2022
255c125
Add inout to ignored codespell errors
adehecq Nov 22, 2022
3e51d30
Add tests for create_inlier_mask function
adehecq Nov 22, 2022
8fc9828
Update dem_coregistration function to use create_inlier_mask
adehecq Nov 22, 2022
bc748bd
Fix typo in previous commit and apply linting
adehecq Nov 22, 2022
2dfa703
Fix issue iwth NMAD improperly calculated
adehecq Nov 22, 2022
a60e843
Add a filter to remove pixels with dh above an absolute threshold
adehecq Nov 22, 2022
d49f8d8
Update comment
adehecq Nov 22, 2022
024a2d2
Implement resample=False in dem_coregistration
adehecq Nov 23, 2022
2d690db
Remove the hmode/vmode. Update docstring of dem_coregistration.
adehecq Nov 23, 2022
717543f
Enable input src/ref dem as Raster and not only path to file
adehecq Nov 23, 2022
e13e59f
Implement resample=False for BiasCorr
adehecq Nov 23, 2022
50db29e
Update tests for create_inlier_mask
adehecq Nov 23, 2022
8b99f04
Make sure option resample=False is flagged as not implemented for Blo…
adehecq Nov 23, 2022
3c316c9
Add tests for resample=False option
adehecq Nov 23, 2022
9955743
Linting
adehecq Nov 23, 2022
f2d5086
Update default coreg method and modify outputs of dem_coregistration
adehecq Nov 23, 2022
d09604f
Add test suite for dem_coregistration function
adehecq Nov 24, 2022
2ad914a
Update pre-commit
adehecq Nov 24, 2022
52b7226
Fix mypy issue
adehecq Nov 24, 2022
88391b1
Account for PR comments
rhugonnet Dec 9, 2022
ca28258
Remove NaN forcing
rhugonnet Dec 9, 2022
1a498bf
Merge remote-tracking branch 'upstream/main' into HEAD
rhugonnet Dec 9, 2022
6fb0b0b
Linting
rhugonnet Jan 4, 2023
73fbd47
Remove unnecessary type
adehecq Jan 23, 2023
ada836d
Rename fit_func
adehecq Jan 23, 2023
94c6a07
Improve docstrings
adehecq Jan 23, 2023
bde8967
Simplify if statement
adehecq Jan 23, 2023
7fed61d
Make resampling algo an optional argument for Coreg.apply
adehecq Jan 23, 2023
755ab20
Merge branch 'coreg' of github.com:adehecq/xdem into coreg
adehecq Jan 23, 2023
e7b847b
Fix two bugs and add comment
adehecq Jan 23, 2023
0cb664d
Update NuthKaab shift in tests
adehecq Jan 24, 2023
a7923db
Update tests in examples and coreg
adehecq Jan 24, 2023
ffe7070
Update test_spatialstats values with new coreg that outputs ddem with…
Jan 30, 2023
97c970f
Fix runtime warning in code example
rhugonnet Jan 31, 2023
0fbe1f6
Fix coregistration code snippet
rhugonnet Jan 31, 2023
14d536c
Fix coreg example with new transform and crs argument of Coreg class
rhugonnet Jan 31, 2023
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
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repos:
hooks:
- id: codespell
args: [
'--ignore-words-list', 'nd,alos',
'--ignore-words-list', 'nd,alos,inout',
'--ignore-regex', '\bhist\b',
'--'
]
Expand All @@ -35,7 +35,7 @@ repos:
args: [--line-length=120]

# Lint the code using flake8
- repo: https://gitlab.com/pycqa/flake8
- repo: https://github.com/pycqa/flake8
rev: 3.9.2
hooks:
- id: flake8
Expand Down
Loading