Skip to content

Add flexibility in GCData manipulation - recent merged PR causes failure when trying to vstack 2 GCData tables #696

Description

@combet

I used to be able to vstack (from astropy) 2 GCData galaxy catalogs, but after updating my CLMM version to the latest main branch (1.16.7), doing:

from astropy.table import vstack
galcat_all = vstack([gc_object1.galcat, gc_object2.galcat])

gives the following error

ValueError: coordinate_system must be changed via update_coordinate_system method

I guess this is related to the added protection that was added to the metadata of GCData in a recent PR. I think being able to merge 2 galcat tables is a useful functionality to preserve. @caioolivv , @m-aguena

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions