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

Duplicate date/time data for XMM-Newton #36

Open
ronaldbradford opened this issue Apr 27, 2013 · 0 comments
Open

Duplicate date/time data for XMM-Newton #36

ronaldbradford opened this issue Apr 27, 2013 · 0 comments
Labels

Comments

@ronaldbradford
Copy link
Collaborator

Looking at what satellites are doing now, I get two entries for XMM-Newton.

I suspect the updated schedule was changed, and we do not delete any existing data as the observation ids are not different. We need a way to delete data (for the range of date/time we are reloading)

db.schedules.find({ start: { $lt: new Date()}, end: { $gt: new Date()}})
{ "_id" : "XMM-Newton|0693741201", "b" : -56.48579396751591, "dec_str" : "-25d59m54.00s", "ra_str" : "22h21m5.00000000002s", "end" : ISODate("2013-04-27T19:14:37Z"), "target" : "2PIGG_1752", "start" : ISODate("2013-04-27T14:31:16Z"), "l" : 26.133878946914766, "source" : "XMM-Newton", "ra" : 335.2708333333334, "dec" : -25.998333333333335 }
{ "_id" : "Suzaku|2013 04 27 10 42 00", "b" : -45.06340263969753, "dec_str" : "-72d1m52.68s", "ra_str" : "1h4m1.992s", "end" : ISODate("2013-04-28T05:38:00Z"), "target" : "E0102-72", "start" : ISODate("2013-04-27T10:42:00Z"), "l" : 301.55728405264074, "source" : "Suzaku", "ra" : 16.0083, "dec" : -72.03130000000002 }
{ "_id" : "INTEGRAL|0920015 / 0040", "b" : -0.0002398227088541849, "dec_str" : "-15d54m10.80s", "ra_str" : "18h17m51.84s", "end" : ISODate("2013-04-27T17:34:23Z"), "target" : "Scutum/Sagittarius", "start" : ISODate("2013-04-27T13:52:35Z"), "l" : 15.00060269046036, "source" : "INTEGRAL", "ra" : 274.466, "dec" : -15.902999999999983 }
{ "_id" : "Herschel|1342271010", "b" : -21.8868029265499, "dec_str" : "+27d15m13.60s", "ra_str" : "22h0m41.6s", "end" : ISODate("2013-04-27T15:49:27Z"), "target" : "TYC2211-1309-1", "start" : ISODate("2013-04-27T15:21:21Z"), "l" : 82.42549633332058, "source" : "Herschel", "ra" : 330.17333333333335, "dec" : 27.253777777777785 }
{ "_id" : "XMM-Newton|0701981601", "b" : 20.935862722713388, "dec" : -4.088333333333325, "dec_str" : "-4d5m18.00s", "end" : ISODate("2013-04-27T22:53:47Z"), "image" : true, "l" : 229.29874954771023, "ra" : 128.90833333333333, "ra_str" : "8h35m38.0s", "source" : "XMM-Newton", "start" : ISODate("2013-04-27T04:20:27Z"), "target" : "NGC2617" }
{ "_id" : "Swift|74878|19", "b" : -28.231047644054872, "dec_str" : "-8d0m00.00s", "ra_str" : "5h4m37.68s", "end" : ISODate("2013-04-27T15:45:00Z"), "target" : "saa-cold-117-03", "start" : ISODate("2013-04-27T15:21:00Z"), "l" : 209.85825171511866, "source" : "Swift", "ra" : 76.15700000000001, "dec" : -9.99999999999999 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant