COMPASS-DOE / rs-synthesis

0 stars 0 forks source link

Fix rnaturalearth install error #61

Closed bpbond closed 2 years ago

bpbond commented 2 years ago

Based on https://philmikejones.me/tutorials/2018-08-29-install-sf-ubuntu.html

bpbond commented 2 years ago

@kendalynnm I have fixed the yaml problem, but the RMarkdown is still erroring because of something else — I looked, and the new TEMPEST prediction code is the problem. This occurs on my local system as well. Over to you to fix :)

kendalynnm commented 2 years ago

Got it, this is because the big GeoTiff files don't exist within the GitHub repo (assuming I'm using that lingo correctly). Maybe we should make it so that the soil grids data is all 1's if the tiffs aren't present? With a big neon warning sign? That would fix the render problem.

bpbond commented 2 years ago

Maybe we should make it so that the soil grids data is all 1's if the tiffs aren't present? With a big neon warning sign?

That's what we do already:

  # geoTIFF files are not present
  # issue a warning
  warning("geoTIFF files are not present! Analysis will not be correct")
  meta_df$sg_clay <- 1
  meta_df$sg_ocs <- 1
bpbond commented 2 years ago

Hurray! OK, merge when ready, and then you can update #64 and make sure that test runs (it should).