Closed pepaaran closed 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)
brew --version
.
brew install netcdf
following this.Via MacPorts (worked yesterday)
xcode-select --install
(if not installed already).pkg
file.sudo port install netcdf
following this.Varia:
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.
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.
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
Fixed the final unit test
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