Hirlam / obsmon

Tool for observation monitoring in the Harmonie-Arome NWP system
https://hirlam.github.io/obsmon/
MIT License
3 stars 8 forks source link

Problem installing obsmon #29

Open MathiTol opened 1 year ago

MathiTol commented 1 year ago

Hi Paolo My .install of Obsmon stops when attempting to download the R-package "terra"

The obsmon version is image

I'm running on Ubuntu 18.04 image

.install --live prints the following error: image

I have tried deleting and reinstalling "gdal" with no success.

Cheers, -Mathias

MathiTol commented 1 year ago

R version is: image

ewhelan commented 1 year ago

Hi @MathiTol ,

I definitely do not have the insight @paulovcmedeiros has ...

A couple of quick questions:

paulovcmedeiros commented 1 year ago

Hi,

On top of what @ewhelan said (especially the bit about conda), please see the comment about customising the install of some packages using the install script’s -ca and/or -cv arguments (chapter "Installing and Executing --> Standalone mode" of the pdf doc file). An extract from there:

For instance, a recent install we performed required passing the following arguments to the install script: -ca="--with-gdal-config=/usr/gdal23/bin/gdal-config" -ca="--with-proj-include=/usr/proj49/include" -ca="--with-proj-lib=/usr/proj49/lib"

You may try something like this. PROJ and GDAL can be difficult to deal with; there are too many system-specific subtleties.