Group Abstract Group Abstract

Message Boards Message Boards

0
|
9.6K Views
|
2 Replies
|
1 Total Like
View groups...
Share
Share this post:

Get AircraftData Data?

Posted 9 years ago
POSTED BY: Megri Youcef
2 Replies

You should very specific and give your code, timings, facts. It is obviously cacheing for me:

Exit
sample = AircraftData["SampleEntities"];

First[AbsoluteTiming[AircraftData[sample, "Manufacturer"]]]
(*0.845078`*)

First[AbsoluteTiming[AircraftData[sample, "Manufacturer"]]]
(*0.001413`*)

Exit
sample = AircraftData["SampleEntities"];
First[AbsoluteTiming[AircraftData[sample, "Manufacturer"]]]
(*0.006283`*)

$Version
(*"11.1.0 for Mac OS X x86 (64-bit) (March 13, 2017)"*)
POSTED BY: Sam Carrettie

I have encountered similar behavior. I have never seen any documentation describing this behavior.

Also you can only tell what is going on based on a popup that is dismissed at the end of the operation.

Non-empirically I have found some XXXData functions cache their data, others even download the data more than once in a single invocation.

I think it is also related to the fact that some of the data is hosted in WolframAlpha.

So until this behavior is rationalized across data stores, we can only guess how it works.

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