desihub / qlf

Developement of the QLF framework for DESI
BSD 3-Clause "New" or "Revised" License
4 stars 4 forks source link

Adding footprint object type count #222

Closed felipelm closed 6 years ago

felipelm commented 6 years ago

How to test

Expecting exposure 3905 processed.

Footprint: http://localhost:8001/dashboard/get_footprint?start=20191001&end=20191017&program=gray

Should return one red dot inside the blue area.

Statistics: http://localhost:8001/dashboard/footprint_object_type_count?start=20191001&end=20191017&program=gray

Should see something like:

{"objects": ["ELG", "LRG", "QSO", "STAR"], "total": [451, 0, 0, 8], "good": [902, 0, 0, 16], "bad": [0, 0, 0, 0]}