Visualization SW is running at SLAC. No default image. load_image ffview /mnt/ramdisk/conn_flat_0100_20170504003759.fits will display one.
The “display latest” code is in the updateviewer branch for now. @jbpagliuco will move it to master.
Action:@tatianag will point to React and Redux docs (a talk/article by @roby).
Action: Stuart will update the SLAC installation and establish the connections to Python libraries (SciPy, etc), that are needed by the back end code. Some Firefly documentation is here.
Next meeting: Tuesday (May 30) at 11 AM (PDT) = 1 PM (CDT).
@tatianag I’ve been trying to figure out how to use the Firefly interface for creating tables, but the docs are a bit confusing. Also, I can’t tell if Firefly supports using raw data for the table, instead of a file. Any clarifications would be great, thanks.
Firefly can read comma-separated, FITS, or IPAC tables.
If the table is not on the server, the best way for now is to upload it. (We might need to expose file upload function for that.)
In theory, you can use dispatchTabelInsert on the client, but tableModel is not well documented and you loose table-chart connections built into Filrefly. Before we go too deep into it, let’s see what your use case is.
@tatianag, how should I format my return value from the task for a CSV file? I tried to do something basic and all I get is Fail to load table. Error: edu.caltech.ipac.firefly.server.query.DataAccessException: DataAccessException:Unexpected error from:unknown
@tatianag I’ve got everything working, but there’s a bug.
I have to delete the temp directory contents, otherwise the table won’t display new information (when I change the python task code). The directory I’m deleting is $CATALINA_HOME/temp/workarea/firefly/temp_files.
@jpagliuco Thank you for the report. Could you, please send me your table to tatianag at ipac.caltech.edu? It would help to debug why the last row is not displayed. (May be we have a bug when the last line is not new line terminated.)
As for caching, it’s probably not a good idea to disable cache for any table. Firefly considers two table search requests equal if all the parameters (excluding system parameters like “filters”, “sortInfo”, “pageSize”, “startIdx”, etc) are equal. Firefly thinks that if the requests are equal, the results should be the same. To create a distinct request consider adding a timestamp parameter. This way, the new request will be different for the purposes of getting the source table. However when getting second page or filtering the table from UI, Firefly would not have to call python to produce the same table again.