Group Abstract Group Abstract

Message Boards Message Boards

Evolution of Stars: Hertzsprung-Russell diagram

POSTED BY: Marco Thiel
4 Replies
Posted 9 years ago

Thanks for this post Marco. Unfortunately I was unable to reproduce your beautiful first plot. I get the following error: The front end encountered an error while processing a "NotebookPredictions" packet. I'm running Mathematica 11.0.1 for Linux x86 (64-bit) (September 21, 2016).

One other thing that you may want to mention in your post (or maybe think about lowering the number of stars?): it took over 6 hours to download the data for the 10000 stars (60000 data items). It was not due to a slow connection on my end. I wonder if Wolfram purposely slows down data for large requests or if the request is coming from someone (like me) who only has the Home Edition of Mathematica? The data started coming down fairly fast but got slower and slower. By the end the "downloading" box was counting 1 data item about every 3 seconds!

Thanks again, Joe

POSTED BY: Joe Gilray

Dear Joe,

I am sorry to hear that you are having trouble downloading the data. I have just run the code again (on MMA 11.1.1) and do not have any indication that anything is going wrong. I do not get an error when I run the code. (There was however, one typo, I just noticed. It was \Transpose in one line instead of //Transpose; fixed now.)

enter image description here

And you are right that downloading can take some time, but it is far below 6 hours for me. I think that it depends a bit on where you are and which server is used to provide the data to you. You are in Oregon (?), and I am not sure which server Wolfram use for you. I am in Scotland and I have to wait a little bit, but after 13 minutes I am done downloading. Here is a screenshot of the results:

enter image description here

I am not sure how to help with the server issue. Have you tried using a proxy-server to another location? The amount of data transferred is rather low.

starData // ByteCount

is just under 10 MB. So, if you get a better server, that might help. Another thing is that there might be a bit of load balancing going on. I am about to post another thing where I use a lot of data from Wolfram servers - not 10000 but rather 100000s of data points. I have noticed that downloading them in smaller batches helps (and probably eats up more points for API requests).

Best wishes,

Marco

POSTED BY: Marco Thiel
Posted 9 years ago

Hi Marco,

Thanks for your thoughts. I fixed the typo and got your code to run on 1000 stars... very nice. Thanks for a thought-provoking article!

Regards, -Joe

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