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

Can now pass in the top level observatory, and skeleton support for RHESSI #22

Closed wafels closed 3 years ago

wafels commented 3 years ago

The existing version of JP2Gen is awkward when it comes to writing data from SOHO and STEREO. In order for data to be written in to the correct output directories a variable in a file had to be changed, SSWIDL started up, and that version of that file was used. SSWIDL then loads in all the code blocks in to that session. To write SOHO and STEREO files simultaneously would require manual changes to that file - two parallel sessions that differ in one slightly different file.

This made it difficult develop scripts what would re-start in a nice way when the machine that these scripts run on re-boot. A lot of handholding was required.

This PR fixes that issue - the top level observatory must be specified for SOHO and STEREO. This removes the need to manually edit files to have SOHO and STEREO processing at the same time.

Skeleton support for RHESSI is also included. This code is included for completeness. It is liable to change in the future now that RHESSI is in Phase F.