In the framework of a collaboration with several institutes-countries, we are currently developing a project to study seismic information around the LHC accelerator-tunnel and any possible relation with beam losses or instabilities. For that we are using SWAN, as it has all the necessary support for a wide-spread collaboration.
There is just one thing I would like your help on: would it be possible to install centrally the package is obspy
https://github.com/obspy/obspy/wiki , https://github.com/obspy/obspy/wiki#installation ?
It is a super useful package, as is the only package that allows us to access the data from the geophones-seismographs installed at CERN.
It would be very convenient for our collaboration and would certainly simplify very much our studies.
Thanks a lot for your help, time and feed-back,
Thank you for explaining your use case, we are happy that you chose SWAN for your study! How many people do you estimate that will use SWAN in that collaboration?
In order to install a new package in the LCG releases (which are used by SWAN to set the environment) you would need to open a ticket here:
It would be good to explain your use case there, who you are, why you need the package, and potential number of users that could benefit from it.
A faster alternative, for the moment, would be to install the packages in your CERNBox:
# Install packages in CERNBox
LCG releases on CVMFS incorporate new packages quite frequently, so if you think there is a missing package that can be
potentially useful for a significant number of users, please [let the SWAN team know](mailto:firstname.lastname@example.org) and
[contact the librarians directly](https://sft.its.cern.ch/jira/projects/SPI).
On the other hand, you can install packages on your CERNBox and, if necessary, configure your environment to pick them
up in SWAN. A typical case is the installation of Python packages, which requires to run pip from a SWAN terminal:
`pip install --user package_name`
If this fails because you are trying to install an updated version of a package that already exists in CVMFS, you will need to add the `--upgrade` flag.
Then, it would be necessary to add the local installation path to `PYTHONPATH`, by creating a bash startup script that configures that variable (don't forget to call this startup script in the session configuration menu):
As a result of performing the aforementioned steps, the package will be installed on your CERNBox and it will be picked by
any notebook you open after that. Since the package is on your CERNBox, it will be also available in any new session
you start in SWAN.
Let us know if we can help you with anything else.