Helioviewer-Project / jp2gen

IDL based tools to convert FITS data into JPEG2000 files for use with Helioviewer Project clients.
2 stars 5 forks source link

Add the ability to transfer images to more than one helioviewer server #36

Open wafels opened 2 years ago

wafels commented 2 years ago

There are currently two helioviewer servers at GSFC. Both need to be receiving new images from the JP2 generation computer. Therefore the JP2Gen generation computer needs to be able to transfer to multiple machines. Currently JP2Gen can only move data to a single machine.

A potential solution is to change the values in the remote structure (https://github.com/Helioviewer-Project/jp2gen/blob/master/idl/local/EXAMPLE_hv_writtenby.pro#L52) into arrays, and then have the transfer script hv_transfer_jp2.pro (https://github.com/Helioviewer-Project/jp2gen/blob/master/idl/gen/hv_jp2_transfer.pro#L73) step through all the remote locations indicated in the modified hv_writtenby.pro file. I think a simple for...endfor loop to index the remote location data should be sufficient.

dzarro commented 2 years ago

This looks like something Jonathan can tackle.

On 3/24/2022 12:31 PM, Jack Ireland wrote:

There are currently two helioviewer servers at GSFC. Both need to be receiving new images from the JP2 generation computer. Therefore the JP2Gen generation computer needs to be able to transfer to multiple machines. Currently JP2Gen can only move data to a single machine.

A potential solution is to change the values in the |remote| structure (https://github.com/Helioviewer-Project/jp2gen/blob/master/idl/local/EXAMPLE_hv_writtenby.pro#L52) into arrays, and then have the transfer script |hv_transfer_jp2.pro| (https://github.com/Helioviewer-Project/jp2gen/blob/master/idl/gen/hv_jp2_transfer.pro#L73) step through all the remote locations indicated in the modified |hv_writtenby.pro| file. I think a simple |for...endfor| loop to index the remote location data should be sufficient.

— Reply to this email directly, view it on GitHub https://github.com/Helioviewer-Project/jp2gen/issues/36, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5DDNPHC4YQNVK34ZE4H4DVBSKG7ANCNFSM5RRUORWQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>

jonltsang3 commented 2 years ago

I'm on it now

dgarciabriseno commented 1 year ago

I don't think this was ever completed, and it didn't meet our deadline back in May anyway. I've pretty much worked around this by adding helioviewer.org itself as a source for certain images. Mirrors can use the hv_* server definitions to pull data from helioviewer. This is how I get STEREO and SOHO data onto the beta server. With that, we can probably close this unless you can think of a good reason for still needing it.