GNU Astronomy Utilities - Tasks: task #14986, Match: Include columns with no...
You are not allowed to post comments on this tracker with your current authentication level.
task #14986: Match: Include columns with no match in output
Submitter: | Mohammad Akhlaghi <makhlaghi> | ||
Submitted: | Mon 16 Jul 2018 10:01:02 PM UTC | ||
Should Start On: | Sun 15 Jul 2018 10:00:00 PM UTC | Should be Finished on: | Sun 15 Jul 2018 10:00:00 PM UTC |
Category: | Match | Priority: | 5 - Normal |
Item Group: | Enhancement | Status: | Postponed |
Privacy: | Public | Assigned to: | makhlaghi |
Percent Complete: | 70% | Open/Closed: | Open |
Effort: | 0.00 |
Sun 27 Jun 2021 03:19:09 AM UTC, comment #1: |
Mohammad Akhlaghi <makhlaghi> |
Mon 16 Jul 2018 10:01:02 PM UTC, original submission:
Juan Molina: "Try to add a flag to the match procedure in which the non-matched sources are added as additional ‘rows’ in the final catalog file. But at the same moment keeping the useful information from the two original catalogs (i.e., by adding new columns to the new catalog file). The objects with no information in some columns may have assigned a “nan” value."
|
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 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2021-06-27 | makhlaghi | Percent Complete | 0% | 70% | |
Assigned to | None | makhlaghi | |||
2018-07-16 | makhlaghi | Carbon-Copy | - | Added -email is unavailable- |
Powered by Savane 3.13-f8d8.
Corresponding source code
With Commit 0fc33aa193 it is now possible to construct the output by adding non-matching rows of second input to all the rows of the first input. Therefore allowing easy merging of many catalogs into one, without having any repetition.
When both inputs have the same number of columns and same column names and same column data types (for each same name), it is possibly to simply use '--outcols=_all' to fully merge non-matching rows of both tables into one.
However, currently, it doesn't allow differing columns: It doesn't add extra columns to each table (and fill them with blanks where necessary) as Juan had original proposed. So the task isn't 100% complete.
The most recent Gnuastro book and tarball (that implement this feature) are available in the links below. For more on this new feature, see the description of '--outcols' in the Match program of the book below (on page 369-370 as of this commit).
http://akhlaghi.org/gnuastro.pdf
http://akhlaghi.org/gnuastro-latest.tar.lz