dcf21 / star-charter Goto Github PK
View Code? Open in Web Editor NEWA command-line tool for producing vector-graphics charts of the night sky in SVG, PDF and PNG formats.
License: GNU General Public License v3.0
A command-line tool for producing vector-graphics charts of the night sky in SVG, PDF and PNG formats.
License: GNU General Public License v3.0
It seems like some of the tiles are being excluded from the field of view. I've attached a parameter file where this effect is visible. There is a fairly clear cutoff of faint stars above Orion's belt
wide.txt
.
For now I've worked around the issue by commenting out both uses of test_if_title_in_field_of_view()
in astroGraphics/stars.c
.
Amazing tool! I just wanted to let you know that the referring website (https://in-the-sky.org/data/constellations_map.php) links to this page as https://https//github.com/dcf21/star-charter
with an extra https.
Fresh installs with setup.sh in Docker result in the following error:
Error: Fatal Error encounted in src/astroGraphics/stars.c at line 87:
Error: Could not open Tycho ASCII catalogue
Note that this is even after correcting for the broken file link issue as recommended by @jackschmidt in #4 (comment)
Hi!
I'm trying to get an A4 chart of Gemini per the included example.
It works fine up to angular_width=22.2. When I push it to 22.3 or beyond, Castor's label disappears.
Fiddling with the center of the chart or font_size may bring it back in some cases, but it's finicky.
Am I missing some configuration tweak?
Regards,
L
# Default settings which affect all the charts below
DEFAULTS
ra_central=7.25
dec_central=20
angular_width=40.0
mag_min=7
width=17.8
aspect=1.36
ra_dec_lines=1
constellation_boundaries=1
constellation_sticks=1
constellation_stick_design=rey
coords=ra_dec
projection=gnomonic
star_names=1
star_flamsteed_labels=0
constellation_names=1
plot_galaxy_map=1
plot_equator=0
plot_ecliptic=0
plot_galactic_plane=1
font_size=1.2
dso_label_mag_min=6
# Produce a PDF copy of this star chart
CHART
output_filename=output/gemini.pdf
After installing star-charter running under Ubuntu in VirtualBox the first example run was the orion.sch example provided. The code quickly crashed with the following errors after running the command
../bin/starchart.bin orion.sch
Error : Fatal Error encountered in src/astroGraphics/constellations.c at line 146:
Error: Could not open constellation stick figures
Each time I run the setup shell there is a compiling code error at the same place during producing output data catalogues.
Sorting list of stars in order of brightness
Producing output data catalogues
Compiling code
mkdir -p obj obj/astroGraphics obj/coreUtils obj/listTools obj/mathsTools obj/settings obj/vectorGraphics
cc -Wall -Wno-format-truncation -Wno-unused-result -g -fopenmp -c -I
/Astronomy/star-charter-master/src -O3 -D DEBUG=0 -D MEMDEBUG1=0 -D MEMDEBUG2=0 -D DCFVERSION="3.0" -D DATE="09/06/2019" -D PATHLINK="/" -D SRCDIR="/Astronomy/star-charter-master/src/" src/astroGraphics/constellations.c -o obj/astroGraphics/constellations.o
clang: error: unsupported option '-fopenmp'
make: *** [obj/astroGraphics/constellations.o] Error 1
Running ephem.bin raises a file not found error relating to bound_20,dat.
According to the admin of this site, the domain cdsarc.u-strasbg.fr is considered obsolete; the certificate does not get refreshed. Instead, cdsarc.cds.unistra.fr should be used
sh: 1: ../bin/starchart.bin: not found
No /bin folder at all.
I downloaded the package, installed the dependencies, also downloaded the new versions of empty star database (ftp://cdsarc.u-strasbg.fr/pub/cats/I/239/hip_main.dat). The catalogue merge script exits:
(...)
Warning: moving mag 10.4 star TYC 4640-232-1 by 0.010 deg (tycho1 --> tycho2)
Warning: moving mag 7.5 star TYC 2521-2279-1 by 0.012 deg (hipparcos --> tycho2)
./setup.sh: 57. sor: 23683 Kilőve ./catalogue_merge.py
Compiling code
make: Nothing to be done for 'all'.
I see the following error during the program run using sample data:
mint20@mint20-virtual-machine:~/Letöltések/star-charter-master/examples$ ../bin/starchart.bin orion.sch
Error: Fatal Error encounted in src/astroGraphics/stars.c at line 87:
Error: Could not open Tycho ASCII catalogue
Please advise, thank you!
Would you be interested in a PR to add man-made satellites to your charts?
It's relatively straightforward to get the TLEs for satellites, then use that to compute the pass.
I think it would be useful to mention in the README file that there is a date cutoff when requiring the paths of solar system objects.
The cutoff dates are mentionned in the ephemerisCompute repository but I think a reminder in the star-charter project would be informative, maybe providing the actual JD range that is OK to use.
I tried plotting paths outside of that range and got unexpected results. The program could also log a warning in this case so users know about it.
Is it possible for a contributor to add a mode that outputs the data to the command line in a way that can be panned around?
I'm from Bristol Braille and we and a Braillist are working on creating a fully tactile map of the night sky. We will be using the Canute Console which is a 40 cell by 9 line tactile output which precisely mirrors the terminal output. If star-docker could output directly to the command line, and be panned around from the command line, then the Canutr Console's built in conversion will do the rest and that will create one of the first fully spacial and digital tactile maps of the night sky for blind people.
From README the constellation stick width attribute is absent.
The "E" and "W" cardinal direction labels in the alt_az chart are not aligned vertically. I believe the label_positions should be as follows:
chart_label(p, s, black, "N",
&(label_position) {-dh * sin(a), -dv * cos(a), 0, 0, -1}, 1,
0, 0, 2.5, 1, 0, 0, -1);
chart_label(p, s, black, "E",
&(label_position) {-dh * sin(a + DEG90), -dv * cos(a + DEG90), 0, 1, 0}, 1,
0, 0, 2.5, 1, 0, 0, -1);
chart_label(p, s, black, "S",
&(label_position) {-dh * sin(a + DEG180), -dv * cos(a + DEG180), 0, 0, 1}, 1,
0, 0, 2.5, 1, 0, 0, -1);
chart_label(p, s, black, "W",
&(label_position) {-dh * sin(a + DEG270), -dv * cos(a + DEG270), 0, -1, 0}, 1,
0, 0, 2.5, 1, 0, 0, -1);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.