コード例 #1
0
 def year_2_month_4(self,
                    month: List[BabylonianDay]) -> List[AbstractQuery]:
     range = SearchRange.x_plus(month, 10)
     return [
         PlanetaryEventQuery(self.db, SATURN, OuterPlanetPhenomena.LA,
                             range)
     ]
コード例 #2
0
 def year_68_month_7(self,
                     month: List[BabylonianDay]) -> List[AbstractQuery]:
     # 4'  Month VII, the 11+[xth, ....]
     # 5'  ⅔ of the disk to tota[lity ....]
     # 6'  not total, it set eclipsed.
     # 7'  The north wind which was set to the west side
     # 8'  blew. 5°
     # 9'  in front of η Tauri it was eclipsed.
     # 10' At 14° before [sunrise].
     # Comment: V' 5': the missing word at the end of the line may have meant "was missing"
     # Visibility description kind of unclear
     range = SearchRange.x_plus(month, 11)
     eclipse_time = FirstContactTime(14,
                                     FirstContactRelative.BEFORE_SUNRISE)
     location = EclipsePosition(ALCYONE, 0, 15, EclipticPosition.AHEAD)
     res1 = LunarEclipseQuery(self.db, eclipse_time,
                              ExpectedEclipseType.UNKNOWN, None, location,
                              range)
     return [res1]