I would love to do some moon-bounce!  Looks like so much fun and lots to
learn.  I have a pi-star here on the bench to build but haven't gotten
around to it yet, but I do stay pretty active on All-Star.  Usually
connected to the East Coast Reflector.

 While I've been a programmer for 25+ years(IBM mainframes), this project
is actually my first Python attempt and basically my first experience with
object oriented taboot.   Below is what I've got so far for building the
next few passes of the ISS.

Perhaps you could explain to me the difference in "passes through the
minimum elevation" vs. at the horizon?

I'm trying to get any pass that goes over 10deg.  The only issue I'm having
is it giving me a rise and set time and degree that are below 10, so
perhaps I'm not calling it correctly.


from skyfield.api import Topos, load
from datetime import timedelta

# Load TLE Information Feed
tle_url = 'http://celestrak.com/NORAD/elements/stations.txt'
satellites = load.tle(tle_url, reload=True)

# Create ISS object
iss = satellites['ISS (ZARYA)']

# Create Corbett object
corbett = Topos('45.27 N', '122.40 W')

# Create Timescale object
ts = load.timescale()

# Calculate/Output TLE Epoch Staleness value
current_time = ts.now()
epoch_stale_days = current_time - iss.epoch
if epoch_stale_days > 0:
  epoch_stale_direction = 'past'
else:
  epoch_stale_direction = 'before'
print('{:.3f} days {} ISS TLE Epoch'.format(epoch_stale_days,
epoch_stale_direction))


# Calculate passes over the next X days
to_time = ts.utc(current_time.utc_datetime() + timedelta(days=2))
t, events = iss.find_events(corbett, current_time, to_time,
altitude_degrees=10.0)
for ti, event in zip(t, events):
        name = ('Rise', 'Culminate','Set')[event]
        difference = iss - corbett
        topocentric = difference.at(ti)
        alt, az, distance = topocentric.altaz()
        print('{} @ {} -  Bearing: {}  Altitude:
{}'.format(name,ti.utc_iso(),int(az.degrees),int(alt.degrees)))

On Mon, Feb 3, 2020 at 5:33 PM Susan Mackay <[email protected]> wrote:

> Had my 40m WSPR transmitter running last night and made it to just south
>> of you,  into Tasmania to VK7JJ; 13127 km away from me using 200 mw!
>>
> Very impressive! I've not got into WSPR myself - I'm more of a D-Star
> girl. Next you should try a moon bounce.
> I've been playing with the 'find_events' function (it is brand new; as in
> only a few days old) and it gives you the rise and set times of the
> satellite as it passes through the minimum elevation that you set - and NOT
> the actual rise and set times at the horizon. I've communicated with the
> author about this to suggest that there should be an option as to which
> rise/set times it gives you. I'm also looking at the source code to see if
> there is an easy way around this.
> Susan VK3ANZ
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/9be14a75-9358-444b-b444-c2e26aa9d95e%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/9be14a75-9358-444b-b444-c2e26aa9d95e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAHiQ_B1X3aNRahRZYaxK6kLEFq_obEjgzP_1H3vTrqgKjEejfw%40mail.gmail.com.

Reply via email to