How to input weather data into Max

trbeverly's icon

Hello,

So I have this weather data from the McDonald Observatory in West Texas:

It is coming from this page:

I information updates every 5 min on the website. I am trying to find an elegant way to import some of the variables (wind speed, temp, etc...) into Max to do some live processing for a piece I am composing. I would like to create a way to do this in real time without having to manually input the values myself.

Does anyone have any suggestion on how best to do this?

Thanks,

Thomas Beverly

metamax's icon

Here ya go.. I never did this before so I'm sure there are easier ways, but it seems to work. This approach uses the [jit.uldl] object and updates with [metro] and [date].

Max Patch
Copy patch and select New From Clipboard in Max.

trbeverly's icon

Metamax,

You help me with some code last year. I am trying to do a similar thing of getting some weather data into Max, but this time from a more complex site. Could you help me with making sense of the data once it is downloaded into the jit.textfile?

Max Patch
Copy patch and select New From Clipboard in Max.

Here is the code:

Karen Brown's icon

I am tying to do something similar here. I need to get the score number off of this site http://analysis.cpuchess.com I'd like to nab the move list too but the score number is what I need. It is an open source site so you can find the html code just by highlighting the source number and using "inspect element" in firefox. Anyway, I'm just trying to import that number into max and have it change in max as it changes on the site.

Thanks for your help in advance
Ken

mzed's icon

The jasch objects might be old now. Let me know if this needs updating.