Skip to content
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

Object table has tid field in extra_fields #21

Open
JavierArredondo opened this issue Dec 1, 2021 · 0 comments
Open

Object table has tid field in extra_fields #21

JavierArredondo opened this issue Dec 1, 2021 · 0 comments

Comments

@JavierArredondo
Copy link
Contributor

The problem is this line:

response["tid"] = df_min.tid

Where we store the discovery telescope. we want to save all tid?

Also we repeat the field _id into extra_fields.

{
    "_id" : "AL21kmlwxleekvmrs",
    "aid" : "AL21kmlwxleekvmrs",
    "oid" : [ 
        "1000010880254332928"
    ],
    "lastmjd" : 59547.320167,
    "firstmjd" : 59547.320167,
    "ndet" : 1,
    "loc" : {
        "type" : "Point",
        "coordinates" : [ 
            -179.95466, 
            -25.72581
        ]
    },
    "meanra" : 0.04534,
    "meandec" : -25.72581,
    "extra_fields" : {
        "e_ra" : 0.168831437826157,
        "e_dec" : 0.140000000596046,
        "tid" : "ATLAS-01a", # this one 
        "_id" : "AL21kmlwxleekvmrs" # and this one
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant