Blog List View

10.0.2 可運算, 自10.1 發表後原程式碼不可運算 ! 

2015-04-04 04:45:01
1361 次阅读

I am using Raspberry Pi, Mathematica 10

(* This line Not function correct *)
date1 = PlanetaryMoonData["Moon", EntityProperty["PlanetaryMoon", "RiseTime", {"Date" -> #}]] & /@DateObject[{2015, 4, 4}]

(* Next codes function correct *)
moon = EntityList[EntityClass["PlanetaryMoon", "EarthMoon"]]
ret = PlanetaryMoonData[moon, EntityProperty["PlanetaryMoon", "RiseTime", {"Date" -> #}]] & /@DateObject[{2015, 4, 4}]
ret = ret`1`
ret = ret`1`

Out[38]= DateObject[Missing["NotAvailable"]]
Out[39]= {Entity["PlanetaryMoon", "Moon"]}
Out[40]= DateObject[{DateObject[{2015, 4, 4}, TimeObject[{18, 9}], TimeZone -> 8.]}]
Out[41]= {DateObject[{2015, 4, 4}, TimeObject[{18, 9}], TimeZone -> 8.]}
Out[42]= DateObject[{2015, 4, 4}, TimeObject[{18, 9}], TimeZone -> 8.]

(* These codes function correct *)
consID = ConstellationData[] // Sort;
sirius = ConstellationData[consID`14`, "BrightStars"]`1`;
procyon = ConstellationData[consID`15`, "BrightStars"]`1`;

(* This line Not function correct *)
StarData[procyon, EntityProperty["Star", "Altitude", {"Date" -> ret, "Location" -> GeoPosition[{23.73, 120.3}]}]

发表评论

相关讨论