db0f3f7cb6 | ||
---|---|---|
data | ||
examples | ||
img | ||
python | ||
sextractor | ||
.gitignore | ||
DOCKER.md | ||
Dockerfile | ||
LICENSE | ||
README-upstream.md | ||
README.md | ||
ROADMAP.md | ||
addwcs.c | ||
allnight.c | ||
angular.c | ||
calibrate.c | ||
confirm.c | ||
csv2tle.c | ||
dec2sex.c | ||
deep.c | ||
deproject.c | ||
detect.c | ||
dsmin.c | ||
fakeiod.c | ||
faketle.c | ||
ferror.c | ||
fitsheader.c | ||
fitskey.c | ||
forward.c | ||
geolon.c | ||
imgstat.c | ||
jpg2fits.c | ||
jpgstack.c | ||
launchtle.c | ||
makefile | ||
measure.c | ||
mvtle.c | ||
normal.c | ||
pass.c | ||
pgm2fits.c | ||
planscan.c | ||
plotfits.c | ||
pnmenc.patch | ||
posmatch.c | ||
posvel.c | ||
propagate.c | ||
pstrack.c | ||
rde2iod.c | ||
reduce.c | ||
residuals.c | ||
reverse.c | ||
runsched.c | ||
rv2tle.c | ||
satfit.c | ||
satid.c | ||
satmap.c | ||
satorbit.c | ||
satutl.c | ||
satutl.h | ||
sex2dec.c | ||
sgdp4.c | ||
sgdp4h.h | ||
simplex.c | ||
skymap.c | ||
slewto.c | ||
stviewer.c | ||
tle2ole.c | ||
tle2rv.c | ||
tleinfo.c | ||
tleupdate | ||
uk2iod.c | ||
vadd.c | ||
versafit.c | ||
waitfor.c | ||
wcsfit.c | ||
xyz2tle.c |
README.md
sattools
This is a fork of cbassa's sattools to try to get it to work with free software giza instead of proprietary and unmaintained pgplot.
Install
In Debian: libgiza0 giza-dev
etc.
Giza
Here are two examples of how skymap
should render, in this case using
pgplot
(thx Pierros and Cees):
This is how skymap
renders "out-of-the-box" using giza
as a
drop-in replacement for pgplot
:
Stars fix:
Text fix:
Rectangle fix, and grey:
More pgplot
colors.
Giza sizing needs fixing...
SatNOGS TLE loads and renders.
There is an error that spams out to the console:
%giza - Warning - giza_set_character_height: Invalid character height, character height not set
The character heights are set to various values, typically 0.6
, 0.8
, and
1.0
. Only 1.0
doesn't produce the error. But it renders much larger...
This has no errors, but looks bad. Overall need new font.
Satellite orbit lines rendering.
More, but not rendering so great...
Grid, but rendering with dots, not lines...
Rest of grid (blue background during day ??)
Works
Testing/dev in Debian Bookworm (testing), with giza
version 1.3.2
.
Out of box, this works:
- Sun.
- Moon.
- Besides the display, all the other functionality works.
Can load a
satnogs.tle
, get satellite info, schedule, etc.
Fixed
- Stars.
- Text header with date, observer, lat/lon/elevation.
- Footer with R, D etc.
- Rectangle.
- Apex renders, but as dots not lines.
- Grid renders, but as dots not lines.
- Satellites' colors.
- Orbit lines.
TODO
- Grid is dots not lines.
- Constellations only partially rendered.
- Apex rendering needs adjusting.
- FOV.
- Small window size with giza.
- Check license status of
sgdp4.c
andsgdp4h.h
. - Font.
Color
Colors 1-15 are used in the color index, documented here:
Colors are off because giza uses it's own palette by default.
What is needed is to add giza.h
and set this to use pgplot colors:
giza_set_colour_palette(1);
Upstream
See README-upstream.md
.
License
Same as upstream license, GPLv3.
Copyright (C) 2022, Jeff Moe