It is currently March 28th, 2024, 9:49 pm

Any solar weather widgets?

General topics related to Rainmeter.
Yakov
Posts: 11
Joined: August 10th, 2013, 6:07 am

Any solar weather widgets?

Post by Yakov »

Anyone know of Rainmeter widgets (widgets?) that give the latest satellite images of the sun, via provided SDO AIA or other image updates?

Image
User avatar
fonpaolo
Moderator
Posts: 1387
Joined: April 11th, 2013, 8:08 pm
Location: Italy

Re: Any solar weather widgets?

Post by fonpaolo »

With Rainmeter there's almost no limitation, you can build a skin using WebParser and download from a link the images you want to display, updated as you need (or at least as they are updated on that site).
User avatar
Mordasius
Posts: 1167
Joined: January 22nd, 2011, 4:23 pm
Location: GMT +8

Re: Any solar weather widgets?

Post by Mordasius »

Here is a bare bones skin to display the latest image and update it every hour:

Code: Select all

[RainMeter]
DynamicWindowSize=1

[Variables]
ImageSize=512
; SatNum=0193
SatNum=HMIIC

[mImageDownload]
Measure=Plugin
Plugin=WebParser
Url=http://sdo.gsfc.nasa.gov/assets/img/latest/latest_#ImageSize#_#SatNum#.jpg
FinishAction=!UpdateMeter  DisplayImage
StringIndex=1
Download=1
UpdateRate=3600

[DisplayImage]
Meter=IMAGE
MeasureName=mImageDownload
UpdateDivider=-1
You can vary the size and satellite image by changing the variables #ImageSize#
and #SatNum# to correspond to those on http://sdo.gsfc.nasa.gov/data/
choronzon
Posts: 2
Joined: September 5th, 2014, 4:21 am

Re: Any solar weather widgets?

Post by choronzon »

i'm trying to make an animated solar skin with the auto-updating composite image specifically
http://sdo.gsfc.nasa.gov/data/aiahmi/latest.php?t=COMP211193171&r=1024
how do i do that. i've tried playing around with the script and i've tried looking it up but i can't seem to get anywhere.
User avatar
Mordasius
Posts: 1167
Joined: January 22nd, 2011, 4:23 pm
Location: GMT +8

Re: Any solar weather widgets?

Post by Mordasius »

What you are trying to do is not impossible, but it is far from simple.

The page you linked is running a java script to make a movie from images stored in daily directories such as http://sdo.gsfc.nasa.gov/assets/img/browse/2014/09/04/ and http://sdo.gsfc.nasa.gov/assets/img/browse/2014/09/05/ (containing yesterday's and today's images). The 1024 x 1024 composite images for the 211-193-171 channels begin with the date and end with 1024_211193171.jpg e.g. 20140904_005659_1024_211193171.jpg The problem is the _005659_ bit in the middle which is presumably the time the image was taken and the sequence of which changes each day.

So, unless you can predict the time the images are being taken each day, you'll have to use a lua script to read http://sdo.gsfc.nasa.gov/assets/img/browse every 10-15 minutes, update a table of the images available and download any new ones. A series of the most recent images can then be 'played' using regular image meters updated with SKIN:Bang !SetOption ImageNames in the lua script.

Note that if you get this working you should attribute the source of the images as "Courtesy of NASA/SDO and the AIA, EVE, and HMI science teams."
choronzon
Posts: 2
Joined: September 5th, 2014, 4:21 am

Re: Any solar weather widgets?

Post by choronzon »

and there in lies the problem i'm really bad with scripts in general. i would need to know how to make the lau script. also this is for personal use only so i wouldn't be the one to upload it. i figured that the kiosk function of the target site would be auto updating was i wrong? can you help me with the scripting or point me in the right direction of where to learn it? however i'm not averse to collaboration. (i've got adobe CS6 non-royalty/visual studio 2013/ office 2013 and an arse load of fonts. story of my life though, all the tools and ideas just no clue what i'm doing.)
ScottK
Posts: 12
Joined: August 18th, 2017, 8:37 am

Re: Any solar weather widgets?

Post by ScottK »

Sorry to be late to the conversation, but I may have some options available here.

Things have changed in regards to data products made available via both NASA's Goddard Space Flight Center (GSFC) and it's SDO Data, and the SOHO Datasets as well.

For example, current videos for SOHO's Coronagraph views can be viewed directly via:

https://sohowww.nascom.nasa.gov/data/LATEST/current_c2.gif (Closer view)
https://sohowww.nascom.nasa.gov/data/LATEST/current_c3.gif (Larger field of view)

For SDO's content, here's a view of the Sun at the 171 Angstrom wavelength - MP4:

https://sdo.gsfc.nasa.gov/assets/img/latest/mpeg/latest_512_0171.mp4

To get *any* images you need that are CURRENT, you can actually free-browse this folder:

https://sdo.gsfc.nasa.gov/assets/img/latest/mpeg/

For current content for SOHO imagery, you can't free-browse the content tree / folders. You can start at:

https://sohowww.nascom.nasa.gov/data/realtime-images.html

and make some fair deductions from there. For moving images / videos, the "GIF Movies" menu selection is the best bet.

(I got pretty adept at navigating both SOHO & SDO images while I was trying to modify / re-write some very-old Vista / 7 Sidebar/Desktop Gadgets when SOHO changed from producing MPEGs to GIFs.)

Enjoy!