include max radius and MAX_RADIUS, WINDOW_SIZE constants
Merged
requested to merge 49-rastertools-meilleure-gestion-des-exceptions-et-problemes-de-configuration-du-radius into develop
All threads resolved!
There we add the max_radius argument to LIS, following the ongoing fix in rastertools:
Merge request reports
Activity
added enhancement label
requested review from @guillaumeeb
assigned to @micherbl
- Resolved by Guillaume Eynard-Bontemps
- Resolved by Guillaume Eynard-Bontemps
So, instead of constants, we should use condig values. Typically, radius config values should be replaced by max_radius (in LIS, we always want to specify a max radius, not a radius that can be overriden). The line https://gitlab.orfeo-toolbox.org/remote_modules/let-it-snow/-/blob/develop/python/s2snow/fsc_config.py?ref_type=heads#L262 should be modified, and this value used when calling rastertools.
Also, default windows_size should be 2048, as it is fine with a 512 pixels radius.
- Resolved by Guillaume Eynard-Bontemps
- Resolved by Guillaume Eynard-Bontemps
- Resolved by Guillaume Eynard-Bontemps
added 1 commit
- ec774d0e - Hillshade has only one 'radius' argument left
added 1 commit
- c57b4482 - change rastertools_max_radius back to rastertools_radius
- Resolved by Guillaume Eynard-Bontemps
mentioned in commit 8fdba5d8
mentioned in issue #126 (closed)
Please register or sign in to reply