Addressing: See Our Sun
- Tom Lavenziano - https://github.com/TomLavenziano
- Rajendra Bhagroo - https://github.com/RajendraBhagroo
- Connor Couetil - https://github.com/couetilc
- Peter Locharernkul - https://github.com/pichya
The Solar Dynamics Observatory takes photographs of the Sun 24/7. These photos are publically available, yet large and difficult to obtain. Historically, OpenSpace has been unable to utilize these photographs, but with our project it can.
The core challenge was comprised of two parts. The first challenge was to get the sun data from NASA and transform it to be used in OpenSpace. This was achieved by creating an npm package called Solis. This package operates as either an npm module that can be imported into any new or existing OpenSpace script, or as a standalone executable CLI application. It takes in parameters from the user regarding which source to use specifically and at which wavelength. Solis finds the associated sun data/files from the Helioviewer API and retrieves the files, at which point they're moved into either a user designated output folder or into a default ./output folder.
The second challenge that we solved was to build an interface within OpenSpace that allows the user to retrieve the sun data while remaining in the same system. This was achieved by adding a custom secondary interface to OpenSpace's WebGuiFrontend component. This was done by utilizing the pre-loaded ReactJS framework to build out the UI. After the user enters their desired parameters into the ReactJS interface, the internal NodeJS server executed a script stored in the WebGuiBackend to activate the Solis module and retrive the data. The data is subsequently loaded into OpenSpace and the sun is rendered with this near-live data.
Add the "solis" package using npm:
npm install @tomlavenziano/solis
Requires a pull request to https://github.com/OpenSpace/OpenSpace-WebGuiFrontend.
The files within OpenSpace-WebGuiFrontend are the only modified files from the original repo.
Requires a pull request to https://github.com/OpenSpace/OpenSpace-WebGuiBackend
The files within OpenSpace-WebGuiBackend are the only modified files from the original repo.