geco-bern / agds

Applied Geodata Science book. Developed for the lecture(s) with the same name at the Institute of Geography, University of Bern.
https://geco-bern.github.io/agds/
Other
5 stars 6 forks source link

netcdf package install instructions #83

Closed pepaaran closed 1 year ago

pepaaran commented 1 year ago

More detailed instructions for each OS. Especially Macos with brew. Find good resources online that we can point them to.

Add a test script to test whether the installation was successful: something that runs Koen's example to load a netcdf

padasch commented 1 year ago

For Windows:

For MacOS:

Actually, I just found out that you don't need MacPorts, you can also do via homebrew but I did not know that yesterday... But package installation worked nonetheless.

Important: Explain what the terminal is and how to open it (search for "Terminal" in applications). Terminal introduction is useful for windows too, I guess.

Via homebrew (easier because they also needed it for git, but did not try that yesterday)

Via MacPorts (worked yesterday)

Varia:

pepaaran commented 1 year ago

Are we using the netCDF C library? @khufkens There's also a Fortran version but I don't know which one students should install, or if it matters which one they install.

khufkens commented 1 year ago

Basically when the system/install refers to a particular version, go with that. Basically we should have a windows machine in house just for testing purposes alone (if we want to really address these issues) - a cheap burner will do.

khufkens commented 1 year ago

For geospatial libraries on linux this should install the bulk of it: https://github.com/bluegreen-labs/BGLabs_research_environment/blob/c52dfec284452ffdd68431b128dad2bfec4479d1/bglabs_system_setup.sh#L93

sudo apt install gdal-bin libgdal-dev

khufkens commented 1 year ago

Fixed the final unit test