Skip to content

๐ŸŒŒ Download SDSS images using python and choosing the Data Release distribution. Default last SDSS release DR18

License

Notifications You must be signed in to change notification settings

neutrinomuon/fetch_sdss_images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

62 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Fetch SDSS Images

fetch_sdss_images

A Python package for downloading SDSS images from distinct releases easily!

email: antineutrinomuon@gmail.com, jean@astro.up.pt

ยฉ Copyright ยฎ

J.G. - Jean Gomes

last stable version: 0.0.2

DOI


My Skills
DJANGO

python3 badgetlicense


Example of a galaxy retrieved from the SDSS API for Data Release 18: NGC 5750

RESUME

Download images from SDSS. Read the LICENSE.txt file.

$\color{#58A6FF}\textsf{\Largeⓘ\kern{0.2cm}\normalsize Note}$

This project was also created with a focus on educational purposes.

Now, fetch_sdss_images has all its scripts in accordance with PEP 8 guidelines.

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)


INSTALLATION

You can easily install fetch_sdss_images by using pip - PyPI - The Python Package Index:


pip install fetch_sdss_images

or by using a generated conda repository https://anaconda.org/neutrinomuon/fetch_sdss_images:

badgetanaconda badgetreleasedate badgetplatforms


conda install -c neutrinomuon fetch_sdss_images

OBS.: Linux, OS-X ad Windows pre-compilations available in conda.

You can also clone the repository and install by yourself in your machine:


git clone https://github.com/neutrinomuon/fetch_sdss_images
python setup.py install


REFERENCES

For the API/tools from SDSS, please check: https://skyserver.sdss.org/dr18/en/help/docs/api.aspx


STRUCTURE

#################################################
workspace
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ figures
โ”‚   โ”œโ”€โ”€ Education_white_background.png
โ”‚   โ”œโ”€โ”€ NGC5750.jpg
โ”‚   โ”œโ”€โ”€ Education_black_background.png
โ”‚   โ”œโ”€โ”€ Education,_Studying,_University,_Alumni_-_icon.png
โ”‚   โ”œโ”€โ”€ Fetch_SDSS_Images.png
โ”‚   โ”œโ”€โ”€ Education_black_background-removebg.png
โ”‚   โ”œโ”€โ”€ PEP8-StyleGuide.jpg
โ”‚   โ””โ”€โ”€ Fetch SDSS Images.png
โ”œโ”€โ”€ src
โ”‚   โ”œโ”€โ”€ bash
โ”‚   โ”‚   โ”œโ”€โ”€ download_image_SDSS_DR18.sh
โ”‚   โ”‚   โ”œโ”€โ”€ download_image_SDSS_DR10.sh
โ”‚   โ”‚   โ”œโ”€โ”€ objects.txt
โ”‚   โ”‚   โ”œโ”€โ”€ download_image_SDSS_DR12.sh
โ”‚   โ”‚   โ”œโ”€โ”€ download_image_SDSS_DR16.sh
โ”‚   โ”‚   โ”œโ”€โ”€ download_image_SDSS_DR17.sh
โ”‚   โ”‚   โ”œโ”€โ”€ download_image_SDSS_DR7.sh
โ”‚   โ”‚   โ”œโ”€โ”€ download_image_SDSS_DR8.sh
โ”‚   โ”‚   โ”œโ”€โ”€ 0266.51602.001.jpg
โ”‚   โ”‚   โ”œโ”€โ”€ download_image_SDSS_DR15.sh
โ”‚   โ”‚   โ”œโ”€โ”€ download_image_SDSS_DR11.sh
โ”‚   โ”‚   โ”œโ”€โ”€ download_image_SDSS_DR9.sh
โ”‚   โ”‚   โ”œโ”€โ”€ 0271.51883.293.jpg
โ”‚   โ”‚   โ”œโ”€โ”€ download_image_SDSS_DR13.sh
โ”‚   โ”‚   โ”œโ”€โ”€ 1774.53759.272.jpg
โ”‚   โ”‚   โ”œโ”€โ”€ download_image_SDSS_DR14.sh
โ”‚   โ”‚   โ””โ”€โ”€ 1627.53473.303.jpg
โ”‚   โ””โ”€โ”€ python
โ”‚       โ”œโ”€โ”€ NGC1055.jpg
โ”‚       โ”œโ”€โ”€ NGC5750.jpg
โ”‚       โ”œโ”€โ”€ objects.txt
โ”‚       โ”œโ”€โ”€ spec-1627-53473-303.jpg
โ”‚       โ”œโ”€โ”€ __pycache__
โ”‚       โ”‚   โ”œโ”€โ”€ download_image_SDSS.cpython-39.pyc
โ”‚       โ”‚   โ””โ”€โ”€ download_sdss_images.cpython-39.pyc
โ”‚       โ”œโ”€โ”€ NGC3521.jpg
โ”‚       โ”œโ”€โ”€ 0266.51602.001.jpg
โ”‚       โ”œโ”€โ”€ NGC5145.jpg
โ”‚       โ”œโ”€โ”€ spec-1774-53759-272.jpg
โ”‚       โ”œโ”€โ”€ spec-9999-999-9999.jpg
โ”‚       โ”œโ”€โ”€ 0271.51883.293.jpg
โ”‚       โ”œโ”€โ”€ spec-271-51883-293.jpg
โ”‚       โ”œโ”€โ”€ __init__.py
โ”‚       โ”œโ”€โ”€ test_filenoIDS.jpg
โ”‚       โ”œโ”€โ”€ download_sdss_images.py
โ”‚       โ”œโ”€โ”€ 1774.53759.272.jpg
โ”‚       โ”œโ”€โ”€ 1627.53473.303.jpg
โ”‚       โ””โ”€โ”€ spec-266-51602-1.jpg
โ”œโ”€โ”€ django
โ”‚   โ””โ”€โ”€ __init__.py
โ”œโ”€โ”€ tree.out
โ”œโ”€โ”€ LICENSE.txt
โ”œโ”€โ”€ tutorial
โ”‚   โ”œโ”€โ”€ objects.txt
โ”‚   โ”œโ”€โ”€ NGC5145.jpg
โ”‚   โ”œโ”€โ”€ .virtual_documents
โ”‚   โ”‚   โ”œโ”€โ”€ Untitled.ipynb
โ”‚   โ”‚   โ””โ”€โ”€ Example_fetch_sdss_images.ipynb
โ”‚   โ”œโ”€โ”€ .ipynb_checkpoints
โ”‚   โ”‚   โ””โ”€โ”€ Example_fetch_sdss_images-checkpoint.ipynb
โ”‚   โ”œโ”€โ”€ NGC5145_without_info.jpg
โ”‚   โ””โ”€โ”€ Example_fetch_sdss_images.ipynb
โ”œโ”€โ”€ dist
โ”‚   โ”œโ”€โ”€ fetch_sdss_images-0.0.2.tar.gz
โ”‚   โ””โ”€โ”€ fetch_sdss_images-0.0.2-py3.9.egg
โ”œโ”€โ”€ version.txt
โ”œโ”€โ”€ fetch_sdss_images_conda
โ”‚   โ”œโ”€โ”€ linux-aarch64
โ”‚   โ”‚   โ”œโ”€โ”€ fetch_sdss_images-0.0.2-py39_0.tar.bz2
โ”‚   โ”‚   โ””โ”€โ”€ fetch_sdss_images-0.0.1-py39_0.tar.bz2
โ”‚   โ”œโ”€โ”€ linux-armv6l
โ”‚   โ”‚   โ”œโ”€โ”€ fetch_sdss_images-0.0.2-py39_0.tar.bz2
โ”‚   โ”‚   โ””โ”€โ”€ fetch_sdss_images-0.0.1-py39_0.tar.bz2
โ”‚   โ”œโ”€โ”€ linux-s390x
โ”‚   โ”‚   โ”œโ”€โ”€ fetch_sdss_images-0.0.2-py39_0.tar.bz2
โ”‚   โ”‚   โ””โ”€โ”€ fetch_sdss_images-0.0.1-py39_0.tar.bz2
โ”‚   โ”œโ”€โ”€ meta.yaml
โ”‚   โ”œโ”€โ”€ win-arm64
โ”‚   โ”‚   โ”œโ”€โ”€ fetch_sdss_images-0.0.2-py39_0.tar.bz2
โ”‚   โ”‚   โ””โ”€โ”€ fetch_sdss_images-0.0.1-py39_0.tar.bz2
โ”‚   โ”œโ”€โ”€ linux-32
โ”‚   โ”‚   โ”œโ”€โ”€ fetch_sdss_images-0.0.2-py39_0.tar.bz2
โ”‚   โ”‚   โ””โ”€โ”€ fetch_sdss_images-0.0.1-py39_0.tar.bz2
โ”‚   โ”œโ”€โ”€ linux-64
โ”‚   โ”‚   โ”œโ”€โ”€ fetch_sdss_images-0.0.2-py39_0.tar.bz2
โ”‚   โ”‚   โ””โ”€โ”€ fetch_sdss_images-0.0.1-py39_0.tar.bz2
โ”‚   โ”œโ”€โ”€ win-32
โ”‚   โ”‚   โ”œโ”€โ”€ fetch_sdss_images-0.0.2-py39_0.tar.bz2
โ”‚   โ”‚   โ””โ”€โ”€ fetch_sdss_images-0.0.1-py39_0.tar.bz2
โ”‚   โ”œโ”€โ”€ linux-armv7l
โ”‚   โ”‚   โ”œโ”€โ”€ fetch_sdss_images-0.0.2-py39_0.tar.bz2
โ”‚   โ”‚   โ””โ”€โ”€ fetch_sdss_images-0.0.1-py39_0.tar.bz2
โ”‚   โ”œโ”€โ”€ linux-ppc64
โ”‚   โ”‚   โ”œโ”€โ”€ fetch_sdss_images-0.0.2-py39_0.tar.bz2
โ”‚   โ”‚   โ””โ”€โ”€ fetch_sdss_images-0.0.1-py39_0.tar.bz2
โ”‚   โ”œโ”€โ”€ linux-ppc64le
โ”‚   โ”‚   โ”œโ”€โ”€ fetch_sdss_images-0.0.2-py39_0.tar.bz2
โ”‚   โ”‚   โ””โ”€โ”€ fetch_sdss_images-0.0.1-py39_0.tar.bz2
โ”‚   โ”œโ”€โ”€ win-64
โ”‚   โ”‚   โ”œโ”€โ”€ fetch_sdss_images-0.0.2-py39_0.tar.bz2
โ”‚   โ”‚   โ””โ”€โ”€ fetch_sdss_images-0.0.1-py39_0.tar.bz2
โ”‚   โ”œโ”€โ”€ osx-arm64
โ”‚   โ”‚   โ”œโ”€โ”€ fetch_sdss_images-0.0.2-py39_0.tar.bz2
โ”‚   โ”‚   โ””โ”€โ”€ fetch_sdss_images-0.0.1-py39_0.tar.bz2
โ”‚   โ”œโ”€โ”€ osx-64
โ”‚   โ”‚   โ”œโ”€โ”€ fetch_sdss_images-0.0.2-py39_0.tar.bz2
โ”‚   โ”‚   โ””โ”€โ”€ fetch_sdss_images-0.0.1-py39_0.tar.bz2
โ”‚   โ””โ”€โ”€ List.txt
โ”œโ”€โ”€ .github
โ”‚   โ””โ”€โ”€ workflows
โ”‚       โ”œโ”€โ”€ main.yml
โ”‚       โ””โ”€โ”€ pylint.yml
โ”œโ”€โ”€ setup.py
โ”œโ”€โ”€ fetch_sdss_images.egg-info
โ”‚   โ”œโ”€โ”€ top_level.txt
โ”‚   โ”œโ”€โ”€ dependency_links.txt
โ”‚   โ”œโ”€โ”€ requires.txt
โ”‚   โ”œโ”€โ”€ PKG-INFO
โ”‚   โ””โ”€โ”€ SOURCES.txt
โ”œโ”€โ”€ .git
โ”‚   โ”œโ”€โ”€ objects
โ”‚   โ”‚   โ”œโ”€โ”€ info
โ”‚   โ”‚   โ””โ”€โ”€ pack
โ”‚   โ”‚       โ”œโ”€โ”€ pack-88400186daf17e273b883219cb0f1ae4b050913e.idx
โ”‚   โ”‚       โ”œโ”€โ”€ pack-88400186daf17e273b883219cb0f1ae4b050913e.rev
โ”‚   โ”‚       โ””โ”€โ”€ pack-88400186daf17e273b883219cb0f1ae4b050913e.pack
โ”‚   โ”œโ”€โ”€ info
โ”‚   โ”‚   โ””โ”€โ”€ exclude
โ”‚   โ”œโ”€โ”€ HEAD
โ”‚   โ”œโ”€โ”€ FETCH_HEAD
โ”‚   โ”œโ”€โ”€ refs
โ”‚   โ”‚   โ”œโ”€โ”€ heads
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ main
โ”‚   โ”‚   โ”œโ”€โ”€ remotes
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ origin
โ”‚   โ”‚   โ”‚       โ””โ”€โ”€ main
โ”‚   โ”‚   โ””โ”€โ”€ tags
โ”‚   โ”œโ”€โ”€ shallow
โ”‚   โ”œโ”€โ”€ branches
โ”‚   โ”œโ”€โ”€ index
โ”‚   โ”œโ”€โ”€ logs
โ”‚   โ”‚   โ”œโ”€โ”€ HEAD
โ”‚   โ”‚   โ””โ”€โ”€ refs
โ”‚   โ”‚       โ”œโ”€โ”€ heads
โ”‚   โ”‚       โ”‚   โ””โ”€โ”€ main
โ”‚   โ”‚       โ””โ”€โ”€ remotes
โ”‚   โ”‚           โ””โ”€โ”€ origin
โ”‚   โ”‚               โ””โ”€โ”€ main
โ”‚   โ”œโ”€โ”€ description
โ”‚   โ”œโ”€โ”€ hooks
โ”‚   โ”‚   โ”œโ”€โ”€ pre-rebase.sample
โ”‚   โ”‚   โ”œโ”€โ”€ pre-commit.sample
โ”‚   โ”‚   โ”œโ”€โ”€ sendemail-validate.sample
โ”‚   โ”‚   โ”œโ”€โ”€ pre-receive.sample
โ”‚   โ”‚   โ”œโ”€โ”€ update.sample
โ”‚   โ”‚   โ”œโ”€โ”€ commit-msg.sample
โ”‚   โ”‚   โ”œโ”€โ”€ prepare-commit-msg.sample
โ”‚   โ”‚   โ”œโ”€โ”€ fsmonitor-watchman.sample
โ”‚   โ”‚   โ”œโ”€โ”€ applypatch-msg.sample
โ”‚   โ”‚   โ”œโ”€โ”€ pre-push.sample
โ”‚   โ”‚   โ”œโ”€โ”€ pre-merge-commit.sample
โ”‚   โ”‚   โ”œโ”€โ”€ post-update.sample
โ”‚   โ”‚   โ”œโ”€โ”€ pre-applypatch.sample
โ”‚   โ”‚   โ””โ”€โ”€ push-to-checkout.sample
โ”‚   โ””โ”€โ”€ config
โ””โ”€โ”€ build
    โ””โ”€โ”€ lib
        โ””โ”€โ”€ fetch_sdss_images
            โ”œโ”€โ”€ docstrings.py
            โ”œโ”€โ”€ __init__.py
            โ””โ”€โ”€ download_sdss_images.py

47 directories (0 symlink), 126 files (5 symlink)
#################################################
Generated: treehue_colored @2024 - ยฉ Jean Gomes -
#################################################

download_sdss_images.py is a python script, originally based on bash script.


ISSUES AND CONTRIBUTIONS

If you encounter any issues with this project, please feel free to submit an issue on the GitHub repository. We appreciate your feedback and are committed to improving the quality of our codebase.

If you'd like to contribute to this project, we welcome pull requests from the community. Before submitting a pull request, please make sure to fork the repository and create a new branch for your changes. Once your changes are complete, submit a pull request and we'll review your code as soon as possible.

For any questions or concerns about contributing, please contact the project maintainer at antineutrinomuon@gmail.com. Thank you for your interest in contributing to our project!


LICENSE

This software is provided "AS IS" (see DISCLAIMER below). Permission to use, for non-commercial purposes is granted. Permission to modify for personal or internal use is granted, provided this copyright and disclaimer are included in ALL copies of the software. All other rights are reserved. In particular, redistribution of the code is not allowed without explicit permission by the author.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

๐ŸŒŒ Download SDSS images using python and choosing the Data Release distribution. Default last SDSS release DR18

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published