Blogs and Tutorials

80 views
Skip to first unread message

Daniel Clewley

unread,
Mar 4, 2014, 12:54:23 PM3/4/14
to rsgislib...@googlegroups.com
Dear All,

Pete Bunting and myself started a blog with some tips and short examples
showing how we're using RSGISLib and other open source software which
may be of interest:

http://spectraldifferences.wordpress.com/

If anyone has other material related to RSGISLib available online, feel
free to share it on the mailing list.

Thanks,

Dan

Alexandra Mates

unread,
Jun 24, 2014, 11:41:16 AM6/24/14
to rsgislib...@googlegroups.com
Thanks Dan for your contribution to this group! Much appreciated :-)

Pete has been encouraging me to install the newest rsgislib version (I expect 2.2) though conda, as you explained in your blog post about arcsi http://spectraldifferences.wordpress.com/.
Before I do that, I'm curious what will be the connection between the new rsgislib + arcsi (through conda) and the old envmaster? Will I have to simply not source osgeo.sh in the shell, to make paths available for the new rsgislib version?

Any other opinions welcome!

Daniel Clewley

unread,
Jun 24, 2014, 1:09:05 PM6/24/14
to Alexandra Mates, rsgislib...@googlegroups.com
Hi Alex,

From your perspective if you install conda (either through miniconda or anaconda) and RSGISLib through this there will be two main differences:

a) You will no longer need to source envmaster
b) You will need to add the bin directory of conda to your PATH environmental variable (the install script for anaconda / miniconda will ask if you want to do this).

As for the actual differences (and why Pete recommended installing through conda), some background on both are required. Conda works in a similar way to a package manager (e.g., using apt-get), there are a lot of python packages available through the continuum repository but people can add their own packages to binstar.org (which is what we've done). You can also build your own packages using recipes.

More information on conda is available from http://conda.pydata.org

One of the aims of conda was to simplify installation of Python packages and their prerequisites. EnvMaster (the software) was designed around a different problem of managing the environmental variables associated with different versions of software libraries installed off the main path. I've written a blog post about EnvMaster which might give more details:


Pete installed a lot of software into an EnvMaster environment and makes this available through the Aberystwyth University network so you sync the entire software stack with his version. This has been working well but we've discussed a couple of problems:

1) Syncing computers outside the Aberystwyth network is difficult.
2) You have to sync all the software, there is no option to install a subset of software, or add your own. The software you have installed is what Pete is using.
3) The environment needs to be installed to /share/osgeo, there is no option to install in another directory (e.g., your home directory).
4) The system relies on Pete keeping his EnvMaster build up to date and is difficult for someone else to just update a package.

We're hoping conda can help with some of these problems. It's still early days so we might find some new problems, let me know if there are and we'll try to resolve them. One issue Nathan has identified is it doesn't work under CentOS 5.9 (so presumably won't work on anything based on Red Hat 5). I'm building under Cent OS 6.5 and have tested under Ubuntu 12.04 and 14.04.

Hope this all makes sense.

Thanks,

Dan

--
You received this message because you are subscribed to the Google Groups "RSGISLib Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rsgislib-suppo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages