Presentation is loading. Please wait.

Presentation is loading. Please wait.

Standalone Firefly Tools with an embedded Tomcat 7 No additional dependencies besides Java 1.8.

Similar presentations


Presentation on theme: "Standalone Firefly Tools with an embedded Tomcat 7 No additional dependencies besides Java 1.8."— Presentation transcript:

1 Standalone Firefly Tools with an embedded Tomcat 7 No additional dependencies besides Java 1.8

2 Where is it? https://github.com/lsst/firefly/releases/ OR https://github.com/lsst/firefly then click ‘releases’ tab

3 Steps Download fftools-exec.war from github Override properties with./config/fftools/app.prop Launch Firefly Server: java -jar fftools-exec.war

4 Options java -jar fftools-exec.war --help -extractDirectory -httpPort -Xmx -Dserver_config_dir=

5 External Task Launcher allows Firefly to get Image, Table or JSON from an external process allows user to extend Firefly server capabilities

6 Python Launcher – now and then For now, Python launcher is an executable on the same machine started with the same UID as Firefly server Later, Python launcher is local or remote need to handle both scenarios

7 Sample Python Task Launcher at Firefly Github src/firefly/python/SamplePythonLauncher.py Illustrates communication protocol between Firefly and Python code: -d DIR work directory -i FILE json file with task params -n TASK task name (no spaces) -o DIR output file directory

8 Setting Python Launcher Location Override the property: config/fftools/app.prop python.exe= python Pass it to Firefly Tools with embedded Tomcat: java -httpPort 8000 -Xmx8g -jar fftools-exec.war -Dserver_config_dir=./config

9 JavaScript API Image Viewer with an image from external task Table or XY Plot Viewer with a table from external task Getting JSON data from an external task and passing them to - Firefly widget - another JS visualization tool

10 JavaScript API: JSON

11 Documentation On LSST Firefly Github: https://github.com/lsst/firefly Check “Adding Python Launcher to Firefly”

12 JavaScript API: FITS

13 JavaScript API: Table


Download ppt "Standalone Firefly Tools with an embedded Tomcat 7 No additional dependencies besides Java 1.8."

Similar presentations


Ads by Google