Calling SSWIDL from a Python session
Solarsoft is a mainly IDL codebase for the analysis of solar physics data. To use Solarsoft, you need to setup the appropriate environment variables, etc in IDL and on your machine. This setup is commonly referred to as SSWIDL, and that’s what I will call this from now on.
So, I’ve hacked some code together which will allow you to call an SSWIDL session from a Python of session. The code comes in two parts:
- pIDLy – this is the package that does all the hard work establishing the connection between Python and IDL, written by Anthony Smith,
- pySSWIDL – some simple Python code I put together that turns the pIDLy IDL session into a SSWIDL session.
Download and install pIDLy as instructed. Then download pySSWIDL and follow the instructions in the readme file.
If anyone has a smarter way of doing calling SSWIDL from inside a Python session, please let me know!