TOMToolkit / tom_base

The base Django project for a Target and Observation Manager
https://tom-toolkit.readthedocs.io
GNU General Public License v3.0
26 stars 46 forks source link

1019 add moon to aladin sky chart on target list page #1118

Open phycodurus opened 1 week ago

phycodurus commented 1 week ago

Sending you this draft PR to keep you in the loop.

phycodurus commented 1 week ago

This is ready for review now.

  1. Uses Astropy for Sun, Moon position and Astroplan for Moon illumination
  2. Sun, Moon data passed from inclusion tag to template via context
  3. Moon icon greyscale is a function of Moon illumination
  4. Also refactored Targets to be in a single Aladin catalog (vs. each target in its own catalog)

Looks like this: image