Skip to content

The code that runs http://legacysurvey.org/viewer -- map-like viewer for astronomical images, especially the Dark Energy Camera Legacy Survey

License

Notifications You must be signed in to change notification settings

legacysurvey/imagine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5a1d82c · Mar 10, 2025
Dec 27, 2022
Jul 23, 2018
Dec 15, 2022
Sep 3, 2024
Jan 14, 2020
Mar 10, 2025
Mar 10, 2016
Aug 30, 2024
Feb 13, 2025
Aug 30, 2024
Mar 11, 2019
Mar 16, 2024
Feb 23, 2018
Oct 23, 2020
Jun 19, 2018
Sep 18, 2020
Sep 11, 2020
Dec 19, 2021
Dec 9, 2021
May 25, 2021
Nov 24, 2017
May 21, 2024
Nov 21, 2023
Jun 9, 2023
Nov 21, 2023
Sep 17, 2020
Oct 12, 2016
Jul 23, 2021
Nov 7, 2019
Oct 29, 2018
Dec 21, 2016
Apr 28, 2019
Jun 9, 2019
Mar 9, 2023
Jun 19, 2018
Nov 28, 2020
Apr 6, 2023
Mar 30, 2022
Dec 18, 2017
Jan 9, 2025
May 6, 2015
Dec 3, 2015
Oct 30, 2020
Jul 16, 2019
Mar 15, 2023
Sep 28, 2019
Aug 15, 2019
Jul 16, 2019
Dec 1, 2022
Jul 6, 2019
May 29, 2020
Mar 15, 2023
May 10, 2018

Repository files navigation

Imagine Sky Viewer

A web service to allow interactive browsing of data from the DESI Imaging Legacy Surveys (and other surveys) data releases.

Uses the LeafletJS library on the client side, the Django Python web framework on the server side, and a whack of code in between.

Running at https://www.legacysurvey.org/viewer

Running a copy

Dependencies include:

  • astrometry.net
  • tractor
  • legacypipe
  • astropy
  • Django

You will need to create a viewer/settings.py file for your site. There is a viewer/settings_common.py file with defaults, and settings files for a number of sites, as a guide.

Setting up layers

Each available layer (image layer) and overlay (catalog or markers) requires some data (not included in this repository). Many layers follow the pattern of having:

  • data/LAYER contains (symlinks to) the raw imaging data
  • data/tiles/LAYER contains pre-rendered JPEG tiles
  • data/scaled/LAYER contains scaled-down images

The overlays are less regular in their data layouts, but:

  • Gaia-DR2: we expect data/gaia-dr2/ to contain healpixed tiles named chunk-#####.fits