-
Notifications
You must be signed in to change notification settings - Fork 16
Firefly 1354 timeseries save table filename #1802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good, I made a comment about mission names possibly being capitalized. But even after that, a potential filename would look like:
table_WISE-Input-Data.tbl
Per the guide on confluence, I think the part WISE-Input-Data
is fine as WISE
is the mission name and Input Data
is the table name, and since they're space separated, we use hyphens in the file name as mentioned in the guide.
But I think firefly's makeFileRequest
adds the table_
prefix which not only looks awkward as is but also uses underscore (which when combined with hyphens in the file name is odd). If you want, I can take a look at that if it falls outside scope of this ticket.
For unspecified missions, I think it's fine to have table
in there (but possibly still better to just have the actual table name, in this case Input Data
), but that again is probably a fix in makeFileRequest
in firefly.
@@ -281,7 +281,7 @@ export function* lcManager(params={}) { | |||
function updateRawTableChart(timeCName, fluxCName, converterId) { | |||
|
|||
if (timeCName && fluxCName) { | |||
|
|||
const missionName = getConverter(converterId).missionName; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: should we capitalize mission name so that ztf
becomes ZTF
, wise becomes WISE
, and so on?
still broken for me -- see video -- it happens when i launch the timeseries tool from ztf search results. video1446798995.mp4 |
@lrebull Now I understand you are send the ts data from Gator to ts tool not with the ts upload panel. I will look into the api call sent to ts from backend ( the g2p cgi call). |
@kpuriIpac I thought about using upper case for mission name, but in the case of sending ts api from catalog search we have to use convertId which is defined in lower case. For the consistency, we just have them in lower case, if there is no strong objection |
Yes, I'm good with that! |
@kpuriIpac currently save table and chart files are prefixed with |
I think since we change any spaces in file names to hyphens (like |
looks great to me. |
View ticket for details. I added two test files in the ticket for testing purpose.
To test:
https://firefly-1354-ts.irsakudev.ipac.caltech.edu/irsaviewer/ts.html