Group Abstract Group Abstract

Message Boards Message Boards

Get data faster while using PlanetData?

Posted 8 years ago
POSTED BY: Tomáš Hruš
3 Replies
POSTED BY: Ian Williams
Posted 8 years ago

Sometimes it is faster, sometimes slower:

In[5]:= Table[((PlanetData["Mars", 
        Dated["HelioCoordinates", Today + (Tomorrow - Today) #]] & /@ 
      Range[7]) // Timing)[[1]], 20]

Out[5]= {6.42188, 7.875, 8.78125, 8.59375, 6.84375, 6.84375, 6.89063, 6.8125, 7.125, 8.79688, 6.79688, 6.79688, 6.79688, 6.8125, 7.,  7.51563, 7.1875, 6.82813, 7.71875, 6.70313}
POSTED BY: Tomáš Hruš

With my computer access is faster {4.28125, {{Quantity[0.756971, "AstronomicalUnit"], Quantity[-1.17878, "AstronomicalUnit"], Quantity[-0.0432617, "AstronomicalUnit"]},

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard