Johannes Knoch (5b28314d) at 01 Feb 13:30
Small change for the docker build file to ensure a correct user for deployment on rz-vm175/177/178
Johannes Knoch (f42e0e43) at 01 Feb 13:30
Merge branch 'deployment_corrections' into 'main'
... and 2 more commits
Johannes Knoch (5b28314d) at 01 Feb 13:08
change version and HISTORY
Small change for the docker build file to ensure a correct user for deployment on rz-vm175/177/178
Johannes Knoch (d5c3604b) at 29 Jan 13:19
change group of user hasa to 1000 to ensure correct permission for ...
Small change for the docker build file to ensure a correct user for deployment on rz-vm175/177/178
Johannes Knoch (212b0dc7) at 29 Jan 13:14
The problem occurs when the last class has 0.5 as predictive distance (same as the "fake class" NA). In this case HaSa seems to return a zero (returns==0) which causes HaSa_API to interpret that there is valid result coming from HaSa. As this is not the case HaSa_API returns a cryptic error saying the "argument is of length zero".
It should be avoided that HaSa returns a zero in that case.
2024-01-23 15:14:14.362959 [INFO] classify: checking input
2024-01-23 15:14:14.363122 [INFO] Seed was set to: 1706019254
2024-01-23 15:14:14.363409 [INFO] runClassification: loading input data
2024-01-23 15:14:14.422804 [INFO] runClassification: call HaSa:sample_nb
[1] "Number of samples = 100 Number of models = 150"
GB
available : 7.15
60% : 4.29
needed : 0.01
allowed : 4.66 (if available)
[1] "It was possible to load the raster stack in_memory."
[1] "loading took 0.050469"
[1] "Matrix conversion took 0.000411"
|======================================================================| 100%[1] "sampling took 27.131906"
[1] "prediction took 0.491540"
[1] "The difference between classes:"
[1] "xeric_grass was 0.5"
[1] "NA was 0.5"
Warning in remove(points) : object 'points' not found
Warning in remove(mod_all) : object 'mod_all' not found
2024-01-23 15:14:42.244241 [INFO] classify: returned Error
2024-01-23 15:14:42.244341 [INFO] Error in if (returns == 0) {: argument is of length zero
Right now the function writeOutSamples()
does the same as saveSamplePoints()
but slower, because it loads an saved run file and does not use variables already loaded to the RAM.
Can we deactivate or even remove it?
Or should we rewrite it, so that it returns all samplePoints, regardless of the specified threshold?
Romulo Pereira Goncalves (20c100b8) at 10 Jan 18:15
Merge branch 'docker_mamba' into 'main'
Romulo Pereira Goncalves (e6e4e697) at 10 Jan 17:51
Romulo Pereira Goncalves (212b0dc7) at 10 Jan 17:50
Merge branch 'docker_mamba' into 'main'
... and 1 more commit
Romulo Pereira Goncalves (e6e4e697) at 10 Jan 17:39
Use mamba environment.
Romulo Pereira Goncalves (3ab3de6f) at 10 Jan 17:14
We need the environment.
Romulo Pereira Goncalves (cc71d8a8) at 10 Jan 17:00
Merge branch 'replace_sp_rgdal_rgeos' into 'main'
... and 131 more commits
Romulo Pereira Goncalves (aadc0d29) at 10 Jan 17:00