File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 22
33Scripts in this repository generate images of the night sky as seen in Glasgow, UK using the [ Starplot] ( https://starplot.dev/ ) library.
44
5+ If you just want to generate plots, rather than contribute to the code, you can do so for free at: https://glasgow-starplot.streamlit.app/
6+
57# Examples
68
79![ A Zenith Star Plot from Glasgow] ( images/glasgow_zenith.png " A Zenith Star Plot from Glasgow ")
Original file line number Diff line number Diff line change 2020
2121"""
2222
23+ import os
2324import streamlit as st
2425from datetime import datetime , date
2526from zoneinfo import ZoneInfo
2627from scripts .glasgow_horizon import make_horizon_plot
2728from scripts .glasgow_zenith import make_zenith_plot
2829
30+ # Fix DuckDB/Starplot permissions
31+ os .makedirs ("duckdb_extensions" , exist_ok = True )
32+ os .environ ["IBIS_DUCKDB_LIBDIR" ] = os .path .abspath ("duckdb_extensions" )
33+
34+
2935st .title ("🌌 Glasgow Starplot Viewer" )
3036
3137# Sidebar: Plot type
You can’t perform that action at this time.
0 commit comments