Skip to content

Add reclassify raster #197

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

Merged
merged 96 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from 69 commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
ea1d7f2
add new file
lehtonenp Dec 16, 2022
8aa2b3f
change metadata of rasterfile
lehtonenp Dec 17, 2022
8565a08
initial functionality for intervals
lehtonenp Dec 21, 2022
c89d978
test functions with mc.load_example()
lehtonenp Dec 21, 2022
e086d22
refactor: change input raster mode, linting and tests
lehtonenp Dec 23, 2022
4f0c6f9
fix equal interval test
lehtonenp Jan 3, 2023
79fc7a9
documentation
lehtonenp Jan 3, 2023
c509001
adjust geometrical intervals from Torppa's comments, remove unused de…
lehtonenp Jan 9, 2023
c67556a
include path_to_file variable to functions, use it fora temp file
lehtonenp Jan 11, 2023
8ab5af1
fix geometrical intervals
lehtonenp Jan 19, 2023
b898967
Add reclassify raster functions and initial tests
lehtonenp Oct 10, 2023
d9eebf8
Merge to master
lehtonenp Nov 1, 2023
5e86d6f
Move reclassify raster tests to correct folder
lehtonenp Nov 1, 2023
40a2218
Update dependencies
lehtonenp Nov 1, 2023
25b4c65
Add path_to_file variable to private functions, fix np.where() clause…
lehtonenp Nov 1, 2023
c95b76c
Clean up reclassify raster test file
lehtonenp Nov 2, 2023
a5b3223
Clean up reclassify raster test file
lehtonenp Nov 2, 2023
76b46dd
Commit pre-commit changes
lehtonenp Nov 7, 2023
a8f88ed
Commit pre-commit changes
lehtonenp Nov 7, 2023
e0da170
Merge branch 'master' into add-reclassify-raster
lehtonenp Nov 7, 2023
4abf4ff
Change author of geometrical intervals
lehtonenp Nov 8, 2023
2a8b4e7
Rework standard deviation classification
lehtonenp Nov 8, 2023
4bdeeba
Change natural breaks test text, exlucde pre-commit
lehtonenp Nov 8, 2023
14d27da
Change natural breaks test text
lehtonenp Nov 8, 2023
d337b0e
Unify reading raster in tests
lehtonenp Nov 8, 2023
df5d533
Modify code comments, use np.nanmin & np.nanmax to get values from da…
lehtonenp Nov 9, 2023
9333ac2
Change linspace parameters back to 0 and 100
lehtonenp Nov 14, 2023
c072f7d
Add non zero check to geometrical intervals
lehtonenp Nov 15, 2023
e3d4cf2
Add small numpy array as test data, test the functionality of the cor…
lehtonenp Nov 15, 2023
6d60f37
Use pre-commit to reclassify raster test
lehtonenp Nov 15, 2023
fe899f1
Change standard deviation interval test name
lehtonenp Nov 15, 2023
79f80e5
Change List parameter to Sequence, add beartype decorator, remove par…
lehtonenp Nov 15, 2023
1c67d58
Import beartype separately
lehtonenp Nov 15, 2023
c972ca0
Modify manual breaks and defined intervals to return a Tuple of numpy…
lehtonenp Nov 17, 2023
90d87d0
Update reclassify functions to return out_image and out_meta, remove …
lehtonenp Nov 17, 2023
b6f7fb1
Update geometrical interval and standard deviation tests
lehtonenp Nov 20, 2023
9a17d8c
Include pre-commit style changes
lehtonenp Nov 20, 2023
480a442
Include pre-commit changes
lehtonenp Nov 21, 2023
9bc82f7
Update requirements.txt file
lehtonenp Nov 21, 2023
aefbbef
Update poetry.lock file
lehtonenp Nov 21, 2023
580b85a
Update envirnoment.yml to contain mapclassify, revert and update poet…
lehtonenp Nov 22, 2023
0bd5cfc
Merge branch to master
lehtonenp Nov 22, 2023
73bccbe
Update reclassify raster to contain pre-commit changes
lehtonenp Nov 22, 2023
36bbf2a
Remove unused imports
lehtonenp Nov 22, 2023
287bf35
Change std variable name to stddev
lehtonenp Nov 22, 2023
68181a6
Remove unused variables and imports from tests
lehtonenp Nov 22, 2023
b93c5f5
Merge branch 'master' into add-reclassify-raster
lehtonenp Nov 24, 2023
3c4f243
Fix typing in parameters & variables, include raises messages in docs…
lehtonenp Dec 1, 2023
cb78c46
Change private functions to reflect public functions. Private functio…
lehtonenp Jan 24, 2024
5742876
Fix geometrical intervals to actually include nan checking for int or…
lehtonenp Jan 24, 2024
5e48629
Change reclassify raster tests to use private functions, assert retur…
lehtonenp Jan 24, 2024
3f2f359
Remove unused imports
lehtonenp Jan 24, 2024
0ec6236
Fix reclassify raster according to coding convetions
lehtonenp Jan 24, 2024
0570fc4
Merge branch 'master' into add-reclassify-raster
lehtonenp Jan 24, 2024
4bbffbd
Change np.float to float and np.int to int
lehtonenp Jan 24, 2024
4a7cb09
Added local moran's I function
tomiturunen1 Jan 25, 2024
d5622c4
Minor changes
tomiturunen1 Jan 25, 2024
9349d44
Code formatting fix
lehtonenp Jan 26, 2024
be36976
Code formatting for Local Moran's I test file
lehtonenp Jan 26, 2024
35d9f81
Use African countries' GDP as an example analysis case for Local Mora…
lehtonenp Jan 26, 2024
82fc034
Change KNN.from_dataframe k parameter to be variable k instead of 3
lehtonenp Jan 26, 2024
8a8db3b
Change private function return types and parameters to the calls of p…
lehtonenp Jan 30, 2024
d3e9a5d
Pre commit changes
tomiturunen1 Jan 30, 2024
cb10cb4
Remove unused import
lehtonenp Feb 1, 2024
8b6f173
Code convention changes
lehtonenp Feb 1, 2024
46f2458
Merge branch 'master' into 287-Add-Local-Morans-I
lehtonenp Feb 1, 2024
19a473a
Change Moran's notebook to use geochem data
lehtonenp Feb 1, 2024
be7b724
Merge branch '287-Add-Local-Morans-I' of https://github.com/GispoCodi…
lehtonenp Feb 1, 2024
059fa5a
Small changes
tomiturunen1 Feb 1, 2024
c9b0dd4
Merge branch '287-Add-Local-Morans-I' of https://github.com/GispoCodi…
lehtonenp Feb 1, 2024
6d05f29
Change non negative value check function to private
lehtonenp Feb 1, 2024
c65b962
Change _bands_non_negative function param to be Sequence
lehtonenp Feb 1, 2024
f4228e0
Code convention changes
lehtonenp Feb 5, 2024
f436d05
Fix geometrical interval classification to work with nan value as a p…
lehtonenp Feb 5, 2024
a5bd89c
Remove unnecessary print from manual breaks test
lehtonenp Feb 5, 2024
46d5ba4
Added tests and other minor changes
tomiturunen1 Feb 5, 2024
181952f
Pre commit fixes
tomiturunen1 Feb 5, 2024
2799b95
Merge branch '287-Add-Local-Morans-I' into 319-add-cli-function-for-l…
nmaarnio Feb 12, 2024
3ce8c73
Locked Scipy to 1.11.4 due to failing imports from libpysal on other …
nmaarnio Feb 12, 2024
3f3fe8e
Added CLI function for Local Moran's I
nmaarnio Feb 12, 2024
dca3786
Rename negative band check function, change .nan functions to .ma fun…
lehtonenp Feb 12, 2024
ae06a07
Remove small_raster.tif.aux.xml
lehtonenp Feb 12, 2024
6ea9680
Fix typo in Geometrical intervals: .ma.nmin -> .ma.min
lehtonenp Feb 12, 2024
9cc41c5
Fix expected_output to reflect changes in the function
lehtonenp Feb 12, 2024
7ba7a60
Fix expected_output to reflect expected output in conda env
lehtonenp Feb 12, 2024
94ae080
Fix expected_output to reflect expected output in conda env
lehtonenp Feb 12, 2024
fb04051
Pre-commit changes
lehtonenp Feb 15, 2024
bbd377f
Pre-commit changes
lehtonenp Feb 15, 2024
3b26d99
Pre-commit changes
lehtonenp Feb 15, 2024
481a3b6
Update docs for reclassify
lehtonenp Feb 15, 2024
aeccd0b
Merge to master
lehtonenp Feb 21, 2024
7b7f8be
Merge master to add-reclassify-raster
lehtonenp Feb 21, 2024
73a1f7b
Change output type of public functions, improve public functions acco…
lehtonenp Feb 21, 2024
da8877e
Remove unused import
lehtonenp Feb 21, 2024
bee4434
Merge branch 'master' of https://github.com/GispoCoding/eis_toolkit i…
nmaarnio Feb 22, 2024
bf2fb70
Match files with master
nmaarnio Feb 22, 2024
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
3 changes: 3 additions & 0 deletions docs/raster_processing/reclassify_raster.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Reclassify raster

::: eis_toolkit.raster_processing.reclassify_raster
Loading