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

Update habitatmap_stdized and habitatmap_terr #50

Merged
merged 48 commits into from
May 12, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
30729be
add link to zenodo
ToonHub Feb 3, 2021
c1d752c
add correction for 3140_rbbmr
ToonHub Feb 3, 2021
d216633
aggregate two records of the same type within a polygon
ToonHub Feb 3, 2021
2b905bd
remove write_sessioninfo
ToonHub Feb 4, 2021
71cb190
add renv.lock file
ToonHub Feb 9, 2021
ecd3ad8
add openssl to calculate file hashes
ToonHub Feb 9, 2021
24cd961
update habmap_correction, only keep current code corrections applied
ToonHub Feb 9, 2021
6bd0668
check if correct file version is used based on file hashes
ToonHub Feb 9, 2021
9d7f196
add openssl to check data source version based on hashes
ToonHub Feb 9, 2021
6625e5b
check file hashes of used data sources
ToonHub Feb 9, 2021
81c508e
add renv.lock
ToonHub Feb 9, 2021
5e8b060
add some code to stop when evaluating the hashes gives a deviation fr…
w-jan Feb 10, 2021
597fc28
add stop-rules (cfr previous commit)
w-jan Feb 10, 2021
d1a3d9e
use only md5 hashes to check forr correct version (not sha256)
ToonHub Feb 24, 2021
20ec2da
update project name: process_habitatmap --> generate_habitatmap_stdized
ToonHub Feb 24, 2021
046f32a
add version geospatial libraries
ToonHub Feb 24, 2021
c080e0b
update title
ToonHub Feb 24, 2021
55c2eef
add not-ignored files
ToonHub Feb 24, 2021
e61d612
add code to check result
ToonHub Feb 24, 2021
1eacc10
for habitatmap code '31xx,rbbmr' set for both types certain = TRUE
ToonHub Feb 24, 2021
197fc39
add crs = 31370 when reading habitatmap
ToonHub Feb 24, 2021
fde539c
modified the aggregation of different records for the same type withi…
ToonHub Feb 24, 2021
73e4937
use only md5 hashes to check for correct version
ToonHub Feb 24, 2021
512f6f6
change link zenodo
ToonHub Feb 24, 2021
5a3d513
update session info
ToonHub Feb 24, 2021
d156420
add code for checking result habitatmap_terr
ToonHub Feb 24, 2021
689f139
change columns order in types table
ToonHub Feb 24, 2021
1b5602f
avoid unintended overwriting of result as file hashes will change
ToonHub Feb 24, 2021
50c363c
habmap_std/terr: also print sha256sum in the file evaluation chapter *
florisvdh Mar 2, 2021
01b2e65
habmap_std/terr: define filepath earlier
florisvdh Mar 2, 2021
b330115
habmap_stdized: create data folder (as in habitatmap_terr)
florisvdh Mar 2, 2021
943f46d
habmap_std/terr: apply explicit GPKG timestamp for reproducibility
florisvdh Mar 2, 2021
0ab5e58
habmap_std/terr: improve comment on ISO 8601 timestamp
florisvdh Mar 3, 2021
cd3d09b
habitatmap_terr: drop sessioninfo.txt
florisvdh Mar 3, 2021
14d530a
habmap_std/terr, timestamping: no need to call DBI explicitly
florisvdh Mar 3, 2021
ff4a8b4
habmap_std/terr, timestamping: drop RSQLite, use GDAL env var
florisvdh Mar 8, 2021
16f9d12
Merge pull request #52 from inbo/update_habitatmap_stdized_terr_fv
ToonHub Mar 11, 2021
a44de74
change table to convert 7140 into 7140_meso
ToonHub Mar 11, 2021
efc3a48
change timestamp to creation date
ToonHub Mar 11, 2021
0ea2617
change some of the documentation
ToonHub Mar 11, 2021
2dcfd7a
add checks
ToonHub Mar 11, 2021
3a08cac
change timestamp to creation date
ToonHub Mar 11, 2021
fe92f98
change md5_ref
ToonHub Mar 11, 2021
5afe0a9
drop eval = FALSE as md5-hash is stable due to fixed timestamp
ToonHub Mar 11, 2021
f007f41
provide the code from the original habitat map (for example 31xx_rbbm…
ToonHub Mar 11, 2021
f1b1eb6
change md5_ref
ToonHub Mar 11, 2021
b088c44
add some checks
ToonHub Mar 11, 2021
92ed3f8
Update src/generate_habitatmap_stdized/10_generate_habmap_stdized.Rmd
ToonHub May 12, 2021
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
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ kable(hashes) %>%
kable_styling()

if (!all.equal(hashes$md5, hashes$md5_ref) == TRUE | !all.equal(hashes$sha256, hashes$sha256_ref) == TRUE) {
stop(cat("Habitatkaart is NIET up to date ! Check a.u.b. de datasource. "))
stop(cat("The source map is NOT up to date ! Please check the datasource. "))
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ hashes <-

kable(hashes) %>%
kable_styling()


if (!all.equal(hashes$md5, hashes$md5_ref) == TRUE | !all.equal(hashes$sha256, hashes$sha256_ref) == TRUE) {
stop(cat("The standardized version is NOT up to date ! Please check the datasource. "))
}
```


Expand Down Expand Up @@ -119,6 +124,10 @@ hashes <-
kable(hashes) %>%
kable_styling()

if (!all.equal(hashes$md5, hashes$md5_ref) == TRUE | !all.equal(hashes$sha256, hashes$sha256_ref) == TRUE) {
stop(cat("The source map is NOT up to date ! Please check the datasource. "))
}

```


Expand Down