You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a couple ways that the sunspot overlay images could be added to solarmonitor:
Simply grab the PNGs from the LMSAL directory every time solarmonitor runs and save them in the solarmonitor data directory tree (e.g., solarmonitor.org/data/2013/11/04/pngs/ssovr/*.png, for example).
Run the overlay code locally. The code is available here: https://github.com/pohuigin/max_millennium/tree/master/idl
The batch that runs the data getting/reading/image making: mmmotd_batch.pro
The data getting: mmmotd_find_data.pro
The reading/processing/image making: mmmotd_sunspot_overlay.pro
Another option is to hack the part of the code that does the actual overlaying and put that into ARM_REGIONS.PRO on solarmonitor as another type of cut-out image to make.
In my opinion the best option is #1, because I think we should be modularising the solarmontior data product creation, not adding more for ARM_BATCH to do...
To accomplish #1, you would have to write a batch file to:
-make a new SM data directory branch for the day's overlays
-search the remote image directory at LMSAL.com/... for new images
-compare the new images to the images that have already been downloaded to SM
-If new images are found, then copy the images that are found to the local directory
-Then somehow move the new files to the live solarmonitor data directory
Also, a change to the solarmonitor front end PHP will have to be done to display these new images.
I don't know enough about how the new version of the site operates to know what change has to be made...
Also if there is a better way I could be naming the PNG files for use on solarmonitor, let me know.
Originally reported by: pohuigin (Bitbucket: pohuigin, GitHub: pohuigin)
The sunspot overlay code has been running on my (p.higgins) machine at LMSAL steadily for a month or so. The code produces new images every 6 hours.
The output is viewable here:
http://www.mmmotd.solarsurfer.org/sunspot_overlays.php
The images are uploaded here:
http://lmsal.com/~higgins/max_millennium/sunspot_overlays/
There are a couple ways that the sunspot overlay images could be added to solarmonitor:
https://github.com/pohuigin/max_millennium/tree/master/idl
The batch that runs the data getting/reading/image making: mmmotd_batch.pro
The data getting: mmmotd_find_data.pro
The reading/processing/image making: mmmotd_sunspot_overlay.pro
In my opinion the best option is #1, because I think we should be modularising the solarmontior data product creation, not adding more for ARM_BATCH to do...
To accomplish #1, you would have to write a batch file to:
-make a new SM data directory branch for the day's overlays
-search the remote image directory at LMSAL.com/... for new images
-compare the new images to the images that have already been downloaded to SM
-If new images are found, then copy the images that are found to the local directory
-Then somehow move the new files to the live solarmonitor data directory
Also, a change to the solarmonitor front end PHP will have to be done to display these new images.
I don't know enough about how the new version of the site operates to know what change has to be made...
Also if there is a better way I could be naming the PNG files for use on solarmonitor, let me know.
The text was updated successfully, but these errors were encountered: