GNU Astronomy Utilities - Bugs: bug #59469, Gaia server returns fits.gz, but...
You are not allowed to post comments on this tracker with your current authentication level.
bug #59469: Gaia server returns fits.gz, but output written as .fits
Submitter: | Mohammad Akhlaghi <makhlaghi> | ||
Submitted: | Tue 17 Nov 2020 01:49:54 AM UTC | ||
Category: | Query | Severity: | 3 - Normal |
Item Group: | Output not reasonable | Status: | Fixed |
Privacy: | Public | Assigned to: | makhlaghi |
Open/Closed: | Closed |
Sat 19 Dec 2020 01:54:14 AM UTC, comment #1: |
Mohammad Akhlaghi <makhlaghi> |
Tue 17 Nov 2020 01:49:54 AM UTC, original submission:
Currently when the 'astquery' program downloads a table from Gaia, Gaia actually sends a compressed FITS file ('.fits.gz'). However, the default name (when the user doesn't specify an '--output' option) is 'query.fits'! This can be misleading and cause confusion.
|
Mohammad Akhlaghi <makhlaghi> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2020-12-19 | makhlaghi | Status | Confirmed | Fixed | |
Assigned to | None | makhlaghi | |||
Open/Closed | Open | Closed | |||
2020-11-17 | makhlaghi | Carbon-Copy | - | Added -email is unavailable- |
Powered by Savane 3.13-d3ae.
Corresponding source code
This bug has been fixed as part of Commit 6ef71c2fd39f (November 19th, 2020).
The raw downloaded table is no longer directly returned to the user. Query immediately opens the downloaded table after downloading it and writes it into the user's desired output file, then deletes the raw downloaded file.
But this can lead to potentially loosing important database-specific metadata. So I just defined task #15843 to allow users to preserve the raw downloaded file if they want.