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

8 statements  

« prev     ^ index     » next       coverage.py v7.16.0, created at 2026-09-29 02:47 -0700

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] = { 

25 "instrument": "LSSTCam", 

26 "visit": 2025052000177, 

27 "detector": 85, 

28 "day_obs": 20250520, 

29 "physical_filter": "r_57", 

30 "band": "r", 

31} 

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

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

34 

35DP2_TEMPLATE_COADD_DATASETS = { 

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

37 "band": "r", 

38 "skymap": "lsst_cells_v2", 

39 "tract": 9571, 

40 "patch": 97, 

41 }, 

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

43 "band": "r", 

44 "skymap": "lsst_cells_v2", 

45 "tract": 9571, 

46 "patch": 98, 

47 }, 

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

49 "band": "r", 

50 "skymap": "lsst_cells_v2", 

51 "tract": 9813, 

52 "patch": 2, 

53 }, 

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

55 "band": "r", 

56 "skymap": "lsst_cells_v2", 

57 "tract": 9813, 

58 "patch": 3, 

59 }, 

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

61 "band": "r", 

62 "skymap": "lsst_cells_v2", 

63 "tract": 9813, 

64 "patch": 12, 

65 }, 

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

67 "band": "r", 

68 "skymap": "lsst_cells_v2", 

69 "tract": 9813, 

70 "patch": 13, 

71 }, 

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

73 "band": "r", 

74 "skymap": "lsst_cells_v2", 

75 "tract": 9813, 

76 "patch": 14, 

77 }, 

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

79 "band": "r", 

80 "skymap": "lsst_cells_v2", 

81 "tract": 9813, 

82 "patch": 22, 

83 }, 

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

85 "band": "r", 

86 "skymap": "lsst_cells_v2", 

87 "tract": 9813, 

88 "patch": 23, 

89 }, 

90}