Due to the downloadable content server being shut down in July 2022, the hard-coded URLs for the download functions in each of following packages no longer point to the correct place.
scopesim
scopesim.download_packages()
scopesim_templates
scopesim_templates.galaxies.spiral_two_component()
spextra
spextra.Spextrum
spextra.Database
spextra.Config
pyckles
pyckles.utils.get_catalog_list()
pyckles.utils.load_catalog()
The easiest way to fix this is to upgrade to the latest version of the package via pip
.
pip install --upgrade <pkg_name>
However if your system requires the use of an older version of any of the packages listed above, you can keep these running by updating the URL in the relevant package config file.
The installation directory for each package (<pkg_name>
) can be found with the following code::
>>> import <pkg_name>
>>> print(<pkg_name>.__path__)
For example::
>>> import scopesim
>>> print(scopesim.__path__)
['F:\\Work\\ScopeSim\\scopesim']
The config files listed below can be found relative to the root directory of the package, as printed by the code above.
The offending entry in the config file should be replaced by the line of code given below by new entry
.
scopesim <= v0.5.0
scopesim/defaults.yaml
new entry:
file :
server_base_url : "https://scopesim.univie.ac.at/InstPkgSvr/"
scopesim_templates <= v0.4.1
scopesim_templates/defaults.yaml
new entry:
file :
server_url : "https://scopesim.univie.ac.at/scopesim_templates/"
spextra <= v0.24
spextra/data/config.yml
new entry:
database_url: https://scopesim.univie.ac.at/spextra/database/
pyckles <= v0.1
pyckles/utils.py
new entry:
SERVER_URL = "https://scopesim.univie.ac.at/pyckles/"
To all those still using SimCADO or SimMETIS, we thank you for continuing to use the original versions of our simulator software.
The upgrades to the server infrastructure at the University of Vienna now mean that the functions for updating internal data files will no longer work.
We will not be releasing an upgrade to SimCADO or SimMETIS on Pypi (pip
) as these packages have been replaced by the new multipurpose
ScopeSim environment
Manual upgrades are possible by updating the URL in the simcado.utils.py (line 362)
file.
Please replace the following line in the simcado.utils.get_extras()
function:
url = "http://www.univie.ac.at/simcado/data_ext/"
with the new URL:
url = "https://scopesim.univie.ac.at/simcado/data_ext/"
If you have question regarding the changes, or continue to find bugs with the downloadable content server, please contact tha A* Team at astar.astro@univie.ac.at