Skip to content

Commit

Permalink
Merge branch 'swathoutline-shapefile' of github.com:adybbroe/pytroll-…
Browse files Browse the repository at this point in the history
…schedule into swathoutline-shapefile
  • Loading branch information
Adam.Dybbroe committed Dec 2, 2024
2 parents 22f689e + dfebf59 commit ba59c38
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions trollsched/satpass.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@
def create_pass(satname, instrument, starttime, endtime, tle_filename=None):
"""Create a satellite pass given a start and an endtime."""
tle = tlefile.Tle(satname, tle_file=tle_filename)
cpass = Pass(satname, starttime, endtime, instrument=instrument, tle1=tle.line1, tle2=tle.line2)
return cpass
return Pass(satname, starttime, endtime, instrument=instrument, tle1=tle.line1, tle2=tle.line2)

class SimplePass:
"""A pass: satellite, risetime, falltime, (orbital)."""
Expand Down

0 comments on commit ba59c38

Please sign in to comment.