Coverage for python/lsst/images/tests/_data_ids.py: 100%

8 statements  

« prev     ^ index     » next       coverage.py v7.15.0, created at 2026-07-08 09:10 +0000

1# This file is part of lsst-images. 

2# 

3# Developed for the LSST Data Management System. 

4# This product includes software developed by the LSST Project 

5# (https://www.lsst.org). 

6# See the COPYRIGHT file at the top-level directory of this distribution 

7# for details of code ownership. 

8# 

9# Use of this source code is governed by a 3-clause BSD-style 

10# license that can be found in the LICENSE file. 

11 

12from __future__ import annotations 

13 

14__all__ = ( 

15 "DP2_COADD_DATA_ID", 

16 "DP2_COADD_MISSING_CELL", 

17 "DP2_TEMPLATE_COADD_DATASETS", 

18 "DP2_VISIT_DETECTOR_DATA_ID", 

19) 

20 

21import uuid 

22from typing import Any 

23 

24DP2_VISIT_DETECTOR_DATA_ID: dict[str, Any] = {"instrument": "LSSTCam", "visit": 2025052000177, "detector": 85} 

25DP2_COADD_DATA_ID: dict[str, Any] = {"skymap": "lsst_cells_v2", "tract": 9813, "patch": 43, "band": "r"} 

26DP2_COADD_MISSING_CELL: dict[str, int] = {"i": 8, "j": 6} 

27 

28DP2_TEMPLATE_COADD_DATASETS = { 

29 uuid.UUID("019d7854-1c93-7a5e-a594-c0ecbd16ad75"): { 

30 "band": "r", 

31 "skymap": "lsst_cells_v2", 

32 "tract": 9571, 

33 "patch": 97, 

34 }, 

35 uuid.UUID("019d7854-34d9-781c-829c-6ba851899d5d"): { 

36 "band": "r", 

37 "skymap": "lsst_cells_v2", 

38 "tract": 9571, 

39 "patch": 98, 

40 }, 

41 uuid.UUID("019d7854-339d-7767-8b5e-d81eaed45041"): { 

42 "band": "r", 

43 "skymap": "lsst_cells_v2", 

44 "tract": 9813, 

45 "patch": 2, 

46 }, 

47 uuid.UUID("019d7854-12ca-7bd2-96f3-f036b9d6db97"): { 

48 "band": "r", 

49 "skymap": "lsst_cells_v2", 

50 "tract": 9813, 

51 "patch": 3, 

52 }, 

53 uuid.UUID("019d7854-3110-784f-9fd8-13594bf3f230"): { 

54 "band": "r", 

55 "skymap": "lsst_cells_v2", 

56 "tract": 9813, 

57 "patch": 12, 

58 }, 

59 uuid.UUID("019d7854-1036-7f97-838f-0c50719d0986"): { 

60 "band": "r", 

61 "skymap": "lsst_cells_v2", 

62 "tract": 9813, 

63 "patch": 13, 

64 }, 

65 uuid.UUID("019d7854-2fcd-72a3-86c4-20f9dedd7f1c"): { 

66 "band": "r", 

67 "skymap": "lsst_cells_v2", 

68 "tract": 9813, 

69 "patch": 14, 

70 }, 

71 uuid.UUID("019d7854-0db2-7f63-9487-1c888a64bcc1"): { 

72 "band": "r", 

73 "skymap": "lsst_cells_v2", 

74 "tract": 9813, 

75 "patch": 22, 

76 }, 

77 uuid.UUID("019d7854-389e-7cd4-9464-a9e1e584c4ae"): { 

78 "band": "r", 

79 "skymap": "lsst_cells_v2", 

80 "tract": 9813, 

81 "patch": 23, 

82 }, 

83}