diff --git a/poetry.lock b/poetry.lock index f9c4497..0b4a449 100644 --- a/poetry.lock +++ b/poetry.lock @@ -68,54 +68,70 @@ test = ["coverage", "mypy", "pexpect", "ruff", "wheel"] [[package]] name = "astropy" -version = "5.3.4" +version = "6.0.0" description = "Astronomy and astrophysics core library" optional = false python-versions = ">=3.9" files = [ - {file = "astropy-5.3.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:a3a6c63abc95d094cd3062e32c1ebf80c07502e4f3094b1e276458db5ce6b6a2"}, - {file = "astropy-5.3.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:e85871ec762fc7eab2f7e716c97dad1b3c546bb75941ea7fae6c8eadd51f0bf8"}, - {file = "astropy-5.3.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8e82fdad3417b70af381945aa42fdae0f11bc9aaf94b95027b1e24379bf847d6"}, - {file = "astropy-5.3.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bbce56f46ec1051fd67a5e2244e5f2e08599a176fe524c0bee2294c62be317b3"}, - {file = "astropy-5.3.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:a489c2322136b76a43208e3e9b5a7947a7fd624a10e49d2909b94f12b624da06"}, - {file = "astropy-5.3.4-cp310-cp310-win32.whl", hash = "sha256:c713695e39f5a874705bc3bd262c5d218890e3e7c43f0b6c0b5e7d46bdff527c"}, - {file = "astropy-5.3.4-cp310-cp310-win_amd64.whl", hash = "sha256:2576579befb0674cdfd18f5cc138c919a109c6886a25aa3d8ed8ab4e4607c581"}, - {file = "astropy-5.3.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:4ce096dde6b86a87aa84aec4198732ec379fbb7649af66a96f85b96d17214c2a"}, - {file = "astropy-5.3.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:830fb4b19c36bf8092fdd74ecf9df5b78c6435bf571c5e09b7f644875148a058"}, - {file = "astropy-5.3.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9a707c534408d26d90014a1938af883f6cbf43a3dd78df8bb9a191d275c09f8d"}, - {file = "astropy-5.3.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f0bb2b9b93bc879bcd032931e7fc07c3a3de6f9546fed17f0f12974e0ffc83e0"}, - {file = "astropy-5.3.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:1fa4437fe8d1e103f14cb1cb4e8449c93ae4190b5e9fd97e9c61a5155de9af0d"}, - {file = "astropy-5.3.4-cp311-cp311-win32.whl", hash = "sha256:c656c7fd3d862bcb9d3c4a87b8e9488d0c351b4edf348410c09a26641b9d4731"}, - {file = "astropy-5.3.4-cp311-cp311-win_amd64.whl", hash = "sha256:4c4971abae8e3ddfb8f40447d78aaf24e6ce44b976b3874770ff533609050366"}, - {file = "astropy-5.3.4-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:887db411555692fb1858ae305f87fd2ff42a021b68c78abbf3fa1fc64641e895"}, - {file = "astropy-5.3.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:e4033d7a6bd2da38b83ec65f7282dfeb2641f2b2d41b1cd392cdbe3d6f8abfff"}, - {file = "astropy-5.3.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d2cc6503b79d4fb61ca80e1d37dd609fabca6d2e0124e17f831cc08c2e6ff75e"}, - {file = "astropy-5.3.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6f3f9fe1d76d151428a8d2bc7d50f4a47ae6e7141c11880a3ad259ac7b906b03"}, - {file = "astropy-5.3.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:6e0f7ecbb2a8acb3eace99bcaca30dd1ce001e6f4750a009fd9cc3b8d1b49c58"}, - {file = "astropy-5.3.4-cp312-cp312-win32.whl", hash = "sha256:d915e6370315a1a6a40c2576e77d0063f48cc3b5f8873087cad8ad19dd429d19"}, - {file = "astropy-5.3.4-cp312-cp312-win_amd64.whl", hash = "sha256:69f5a3789a8a4cb00815630b63f950be629a983896dc1aba92566ccc7937a77d"}, - {file = "astropy-5.3.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:d5d1a1be788344f11a94a5356c1a25b4d45f1736b740edb4d8e3a272b872a8fa"}, - {file = "astropy-5.3.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:ae59e4d41461ad96a2573bc51408000a7b4f90dce2bad07646fa6409a12a5a74"}, - {file = "astropy-5.3.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b4c4d3a14e8e3a33208683331b16a721ab9f9493ed998d34533532fdaeaa3642"}, - {file = "astropy-5.3.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d8f58f53294f07cd3f9173bb113ad60d2cd823501c99251891936202fed76681"}, - {file = "astropy-5.3.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:f79400dc6641bb0202a8998cfb08ad1afe197818e27c946491a292e2ffd16a1b"}, - {file = "astropy-5.3.4-cp39-cp39-win32.whl", hash = "sha256:fd0baa7621d03aa74bb8ba673d7955381d15aed4f30dc2a56654560401fc3aca"}, - {file = "astropy-5.3.4-cp39-cp39-win_amd64.whl", hash = "sha256:9ed6116d07de02183d966e9a5dabc86f6fd3d86cc3e1e8b9feef89fd757be8a6"}, - {file = "astropy-5.3.4.tar.gz", hash = "sha256:d490f7e2faac2ccc01c9244202d629154259af8a979104ced89dc4ace4e6f1d8"}, -] - -[package.dependencies] -numpy = ">=1.21,<2" + {file = "astropy-6.0.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:eedd46d5c50b977ebb368f8df6cd34a720999cb4fdfd4d2d6b459262a8ac8ec2"}, + {file = "astropy-6.0.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:5797f27b55d58ea122b076c3845dbd79445dc03020cea359ea949f619de1cdcf"}, + {file = "astropy-6.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a5d6c39cb2ac064b63fa5fcb320eac8ef81e2118d9cb79e263ee859e68a6d380"}, + {file = "astropy-6.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:aa5a38aa93e989abd696f9dec6c99bd07f69fc7821132748ce1f45da6e3f482d"}, + {file = "astropy-6.0.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:697e471ceb3e33c734f9cde817743f0ac429c930f151a8f02a8c9d81237480dd"}, + {file = "astropy-6.0.0-cp310-cp310-win32.whl", hash = "sha256:9a585ca35df1a57d35c49a4d581bc60059511dbe2badf0da50f78b43956c6a4f"}, + {file = "astropy-6.0.0-cp310-cp310-win_amd64.whl", hash = "sha256:e680e532a9eb7597c52c006afe52f79b3622fbc439362aa51f0da2e3d566d75f"}, + {file = "astropy-6.0.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6264acac941d98e2dc50a8b05b466497943972b3640a2de2e744e78a7ae51b4d"}, + {file = "astropy-6.0.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:77be4c661fe355a641dd4be7a2b4628b022d7998614117d03abb03b1b976368a"}, + {file = "astropy-6.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1a57af1d7ac2457408e2b0c8e07a7c5b9029db510bcefced0bc7d6ce2231b28d"}, + {file = "astropy-6.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:af67850f0476e04e78a1e5d96b767cd7f484c15fa9e684fed7f7c1277883bfbe"}, + {file = "astropy-6.0.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:3003a651a3735290d522b9ee512ca23bf66ed06cadfef5fad2e0c6ac91cd5f0c"}, + {file = "astropy-6.0.0-cp311-cp311-win32.whl", hash = "sha256:689abb4449dac9255801c84b365adae4fce29eb0d330f9910567b00f0d8b58fa"}, + {file = "astropy-6.0.0-cp311-cp311-win_amd64.whl", hash = "sha256:1fbc219fbf6c3d064b84442883ba8d7d8a41489fbdd506ac60d715807b5958c6"}, + {file = "astropy-6.0.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:3048a9cc8b11167758c9ee3f5bc0daebbe3d79f266eaf754e192f2847250eca3"}, + {file = "astropy-6.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:48a524ce4c2454c6f75a5ca6c81aeb7ea1d842defcf4885e2a62b4853942a7a6"}, + {file = "astropy-6.0.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fa10e80bd3ff8b053c56e402246d4171c6e9658da37341fe28d99212d809ebe4"}, + {file = "astropy-6.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4fa9f6115a8c8bf901ea66ba69b32b63acd5ccb2afc017b952326bce4250d1a8"}, + {file = "astropy-6.0.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:6d7a3eb98e250f0f41c62ed998317e64f8947ea819e56054ea256cccf9588d48"}, + {file = "astropy-6.0.0-cp312-cp312-win32.whl", hash = "sha256:63fc8a8ffb1f676c6607aeb5eaf472df78d4e25303615ca6c271442b5b9978b4"}, + {file = "astropy-6.0.0-cp312-cp312-win_amd64.whl", hash = "sha256:0b90a2424a9de69f202111851e336743c22875b21381687e47de62331c2fd642"}, + {file = "astropy-6.0.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:fcf2da6f59d3c9636872c533ee358293c743800fff953da3d57deb0d2ee0481f"}, + {file = "astropy-6.0.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:c5b6bebfc75f63ca232aaeca19e90414b53927eab0fe5ad413fb158649ee497f"}, + {file = "astropy-6.0.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e51c5c77f5853b436d64d33b95a2a3f0e33cf9bc5e465f74c3d80544800fffa4"}, + {file = "astropy-6.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c7ac75ccd9087a99e1f5cbc5b41154bdea6e52000a5e297bb32da8e8f16af33"}, + {file = "astropy-6.0.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:2e80f5b6c4c859ee241430cb1ee54b3c1d435e4b84b39122ab6e1cf745943e72"}, + {file = "astropy-6.0.0-cp39-cp39-win32.whl", hash = "sha256:84979ccb2306371ad6a1d3ed6ac9a5fadf73b34a2b2564cee114c878511ef9f1"}, + {file = "astropy-6.0.0-cp39-cp39-win_amd64.whl", hash = "sha256:d1b9dc9a3321699e0a49c2171f35f3ef0cceecce1d6f07661c5d3f4aac13e920"}, + {file = "astropy-6.0.0.tar.gz", hash = "sha256:03cd801a55305da523cd8d780d76359f57255dcdc59fe0bdd71fd5154fc777d9"}, +] + +[package.dependencies] +astropy-iers-data = ">=0.2023.10.30.0.29.53" +numpy = ">=1.22,<2" packaging = ">=19.0" pyerfa = ">=2.0" PyYAML = ">=3.13" [package.extras] -all = ["asdf (>=2.10.0)", "beautifulsoup4", "bleach", "bottleneck", "certifi", "dask[array]", "fsspec[http] (>=2022.8.2)", "h5py", "html5lib", "ipython (>=4.2)", "jplephem", "matplotlib (>=3.3,!=3.4.0,!=3.5.2)", "mpmath", "pandas", "pre-commit", "pyarrow (>=5.0.0)", "pytest (>=7.0,<8)", "pytz", "s3fs (>=2022.8.2)", "scipy (>=1.5)", "sortedcontainers", "typing-extensions (>=3.10.0.1)"] -docs = ["Jinja2 (>=3.0)", "matplotlib (>=3.3,!=3.4.0,!=3.5.2)", "pytest (>=7.0,<8)", "scipy (>=1.3)", "sphinx", "sphinx-astropy (>=1.6)", "sphinx-changelog (>=1.2.0)"] +all = ["asdf-astropy (>=0.3)", "astropy[recommended]", "beautifulsoup4", "bleach", "bottleneck", "certifi", "dask[array]", "fsspec[http] (>=2023.4.0)", "h5py", "html5lib", "ipython (>=4.2)", "jplephem", "mpmath", "pandas", "pre-commit", "pyarrow (>=5.0.0)", "pytest (>=7.0)", "pytz", "s3fs (>=2023.4.0)", "sortedcontainers", "typing-extensions (>=3.10.0.1)"] +docs = ["Jinja2 (>=3.0)", "astropy[recommended]", "pytest (>=7.0)", "sphinx", "sphinx-astropy[confv2] (>=1.9.1)", "sphinx-changelog (>=1.2.0)", "sphinx-design", "tomli"] recommended = ["matplotlib (>=3.3,!=3.4.0,!=3.5.2)", "scipy (>=1.5)"] -test = ["pytest (>=7.0,<8)", "pytest-astropy (>=0.10)", "pytest-astropy-header (>=0.2.1)", "pytest-doctestplus (>=0.12)", "pytest-xdist"] -test-all = ["coverage[toml]", "ipython (>=4.2)", "objgraph", "pytest (>=7.0,<8)", "pytest-astropy (>=0.10)", "pytest-astropy-header (>=0.2.1)", "pytest-doctestplus (>=0.12)", "pytest-xdist", "sgp4 (>=2.3)", "skyfield (>=1.20)"] +test = ["pytest (>=7.0)", "pytest-astropy (>=0.10)", "pytest-astropy-header (>=0.2.1)", "pytest-doctestplus (>=0.12)", "pytest-xdist"] +test-all = ["astropy[test]", "coverage[toml]", "ipython (>=4.2)", "objgraph", "sgp4 (>=2.3)", "skyfield (>=1.20)"] + +[[package]] +name = "astropy-iers-data" +version = "0.2023.11.27.0.30.38" +description = "IERS Earth Rotation and Leap Second tables for the astropy core package" +optional = false +python-versions = ">=3.8" +files = [ + {file = "astropy-iers-data-0.2023.11.27.0.30.38.tar.gz", hash = "sha256:23d17e64389222cc206cd335d8983158b846846074e7156392953b53d350d0e4"}, + {file = "astropy_iers_data-0.2023.11.27.0.30.38-py3-none-any.whl", hash = "sha256:c7a560b5225e90d064513a82396796b3d18844aa215888a3adc9edfa990b3bf8"}, +] + +[package.extras] +docs = ["pytest"] +test = ["hypothesis", "pytest", "pytest-remotedata"] [[package]] name = "asttokens" @@ -814,13 +830,13 @@ format-nongpl = ["fqdn", "idna", "isoduration", "jsonpointer (>1.13)", "rfc3339- [[package]] name = "jsonschema-specifications" -version = "2023.11.1" +version = "2023.11.2" description = "The JSON Schema meta-schemas and vocabularies, exposed as a Registry" optional = false python-versions = ">=3.8" files = [ - {file = "jsonschema_specifications-2023.11.1-py3-none-any.whl", hash = "sha256:f596778ab612b3fd29f72ea0d990393d0540a5aab18bf0407a46632eab540779"}, - {file = "jsonschema_specifications-2023.11.1.tar.gz", hash = "sha256:c9b234904ffe02f079bf91b14d79987faa685fd4b39c377a0996954c0090b9ca"}, + {file = "jsonschema_specifications-2023.11.2-py3-none-any.whl", hash = "sha256:e74ba7c0a65e8cb49dc26837d6cfe576557084a8b423ed16a420984228104f93"}, + {file = "jsonschema_specifications-2023.11.2.tar.gz", hash = "sha256:9472fc4fea474cd74bea4a2b190daeccb5a9e4db2ea80efcf7a1b582fc9a81b8"}, ] [package.dependencies] @@ -1973,21 +1989,24 @@ files = [ [[package]] name = "sdss-archon" -version = "0.11.6" +version = "0.12.0" description = "A library and actor to communicate with an STA Archon controller." optional = false -python-versions = ">=3.8,<3.13" +python-versions = ">=3.9,<3.13" files = [ - {file = "sdss_archon-0.11.6-py3-none-any.whl", hash = "sha256:7a2e93bb21240ed1f19f818f77dd0f95bd2cdee204a4d25b3c6d7e9471d18300"}, - {file = "sdss_archon-0.11.6.tar.gz", hash = "sha256:17738bcb3a845bd1fca81dc5e735e4bb6534306f7b73a4166882dd93c700911d"}, + {file = "sdss_archon-0.12.0-py3-none-any.whl", hash = "sha256:6c4fa6aadfe3d4abc8a1744e08afe7d39476a9753e05f7d888afbfb0f582c1a9"}, + {file = "sdss_archon-0.12.0.tar.gz", hash = "sha256:ecf4d009b5f734dc10a846e93a33adb370fbea0e853c6ca26e9b4e6d46530ec8"}, ] [package.dependencies] -astropy = ">=5.0,<6.0" +astropy = ">=6.0,<7.0" click-default-group = ">=1.2.2,<2.0.0" -numpy = ">=1.19.5,<2.0.0" +numpy = ">=1.26.1,<2.0.0" sdss-clu = ">=2.0.0b2,<3.0.0" -sdsstools = ">=1.0.2,<2.0.0" +sdsstools = ">=1.5.2,<2.0.0" + +[package.extras] +fitsio = ["fitsio (>=1.2.1,<2.0.0)"] [[package]] name = "sdss-clu" @@ -2015,13 +2034,13 @@ websocket = ["websockets (>=11.0.3,<12.0.0)"] [[package]] name = "sdsstools" -version = "1.4.0" +version = "1.5.2" description = "Small tools for SDSS products" optional = false -python-versions = ">=3.8,<4.0" +python-versions = ">=3.8,<3.13" files = [ - {file = "sdsstools-1.4.0-py3-none-any.whl", hash = "sha256:3ebd183fe6a7d67c53fbbcbdac192d3263bfefa57955ab0644612a5baeedda29"}, - {file = "sdsstools-1.4.0.tar.gz", hash = "sha256:cd1920f1d32d1bdf71be68c045d5c288955f947d47fc2cc7ca46debd6d49036a"}, + {file = "sdsstools-1.5.2-py3-none-any.whl", hash = "sha256:172b618145e2fe45b202582f4905e3d3689756bb99e2aab906bc64c33f1774ee"}, + {file = "sdsstools-1.5.2.tar.gz", hash = "sha256:d238f65b3562df8af6a3ce3307635799f363bf9c3e7e730ac77b9f67244ef0e6"}, ] [package.dependencies] @@ -2630,4 +2649,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = "^3.9,<3.13" -content-hash = "0efdfaf3d27714a2049888d24caedd399d510581e5b9ea0305d660290c6f1733" +content-hash = "901b7fb4f2cb12139aebe4e89f3c357545fbcb5bebd0309087397bc0ec67ae8c" diff --git a/pyproject.toml b/pyproject.toml index fb32512..6bc81bb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,7 @@ ln2fill = "lvmscp.ln2:ln2fill" [tool.poetry.dependencies] python = "^3.9,<3.13" click-default-group = "^1.2.2" -sdss-archon = "^0.11.6" +sdss-archon = "^0.12.0" sdss-clu = "^2.1.3" [tool.poetry.dev-dependencies] diff --git a/python/lvmscp/delegate.py b/python/lvmscp/delegate.py index f47fb63..10b67d8 100644 --- a/python/lvmscp/delegate.py +++ b/python/lvmscp/delegate.py @@ -195,23 +195,25 @@ async def post_process( now.location = self.location for hdu in hdus: - ccd = str(hdu.header["CCD"]) + ccd = str(hdu["header"]["CCD"]) - hdu.header["V_LVMSCP"] = __version__ - hdu.header["LMST"] = round(now.sidereal_time("mean").value, 6) + hdu["header"]["V_LVMSCP"][0] = __version__ + hdu["header"]["LMST"][0] = round(now.sidereal_time("mean").value, 6) # Update header with values collected during integration. for key in self.header_data: - hdu.header[key] = self.header_data[key] + hdu["header"][key][0] = self.header_data[key] # Add SDSS MJD. - hdu.header["SMJD"] = get_sjd("LCO") - hdu.header["PRESSURE"] = self.pressure_data.get(f"{ccd}_pressure", -999.0) + hdu["header"]["SMJD"][0] = get_sjd("LCO") + hdu["header"]["PRESSURE"][0] = self.pressure_data.get( + f"{ccd}_pressure", -999.0 + ) depth_camera = self.depth_data.get("camera", "") for ch in ["A", "B", "C"]: - depth = (self.depth_data[ch] if ccd == depth_camera else -999.0,) - hdu.header[f"DEPTH{ch}"] = depth + depth = self.depth_data[ch] if ccd == depth_camera else -999.0 + hdu["header"][f"DEPTH{ch}"][0] = depth return (controller, hdus) diff --git a/python/lvmscp/etc/lvmscp.yml b/python/lvmscp/etc/lvmscp.yml index 902e213..d7143ec 100644 --- a/python/lvmscp/etc/lvmscp.yml +++ b/python/lvmscp/etc/lvmscp.yml @@ -333,6 +333,7 @@ files: data_dir: '/data/spectro/lvm' split: true template: 'sdR-{hemisphere}-{ccd}-{exposure_no:08d}.fits.gz' + write_engine: astropy checksum: write: true diff --git a/tests/test_lvmscp.yml b/tests/test_lvmscp.yml index 57ec4ff..6338bc4 100644 --- a/tests/test_lvmscp.yml +++ b/tests/test_lvmscp.yml @@ -110,10 +110,36 @@ header: r2: ['mod2/tempb', 'Temperature of the sensor (HEATERX 2)', 2] b2: ['mod2/tempc', 'Temperature of the sensor (HEATERX 12)', 2] z2: ['mod12/tempb', 'Temperature of the sensor (HEATERX 12)', 2] - DATASEC: ['[1:4120,1:4080]', 'Section of the detector containing data'] - CCDSEC: ['[1:4120,1:4080]', 'Section of the detector read out'] - BIASSEC: ['[2041:2080,1:4080]', 'Section of calibration/bias data'] - TRIMSEC: ['[1:2040,1:4080],[2081:4120,1:4080]', 'Section with useful data'] + V_LVMSCP: [null, 'Version of lvmscp that took this image'] + LMST: [-999, 'Local mean sidereal time (approximate) [hr]'] + TELESCOP: 'SDSS 0.16m' + SURVEY: 'LVM' + OBJECT: ['', 'Name of the target observed'] + TRIMSEC1: ['[1:2043, 2041:4080]', 'Data section for quadrant 1'] + TRIMSEC2: ['[2078:4120, 2041:4080]', 'Data section for quadrant 2'] + TRIMSEC3: ['[1:2043, 1:2040]', 'Data section for quadrant 3'] + TRIMSEC4: ['[2078:4120, 1:2040]', 'Data section for quadrant 4'] + BIASSEC1: ['[2044:2060, 2041:4080]', 'Overscan section for quadrant 1'] + BIASSEC2: ['[2061:2077, 2041:4080]', 'Overscan section for quadrant 2'] + BIASSEC3: ['[2044:2060, 1:2040]', 'Overscan section for quadrant 3'] + BIASSEC4: ['[2061:2077, 1:2040]', 'Overscan section for quadrant 4'] + TILE_ID: [null, 'The tile_id of this observation'] + DPOS: [0, 'Dither position'] + BUFFER: [null, 'The buffer number read'] + SMJD: [null, 'SDSS Modified Julian Date (MJD+0.4)'] + HARTMANN: ['0 0', 'Left/right: 0=open 1=closed'] + ARGON: ['?', 'Status of lamp Argon'] + NEON: ['?', 'Status of lamp Neon'] + LDLS: ['?', 'Status of lamp LDLS'] + QUARTZ: ['?', 'Status of lamp Quartz'] + HGNE: ['?', 'Status of lamp HgNe'] + XENON: ['?', 'Status of lamp Xenon'] + PRESSURE: [null, 'Cryostat pressure [torr]'] + LABTEMP: [null, 'Lab temperature [C]'] + LABHUMID: [null, 'Lab relative humidity [%]'] + DEPTHA: [null, 'Depth probe A [mm]'] + DEPTHB: [null, 'Depth probe B [mm]'] + DEPTHC: [null, 'Depth probe C [mm]'] # This is the ACF configuration file to be loaded to the Archon including the # timing script. {archon_etc} gets completed with the path of the etc directory once diff --git a/typings/astropy/__init__.pyi b/typings/astropy/__init__.pyi new file mode 100644 index 0000000..e27843e --- /dev/null +++ b/typings/astropy/__init__.pyi @@ -0,0 +1,3 @@ +from typing import Any + +def __getattr__(name: str) -> Any: ... diff --git a/typings/astropy/coordinates/__init__.pyi b/typings/astropy/coordinates/__init__.pyi new file mode 100644 index 0000000..e27843e --- /dev/null +++ b/typings/astropy/coordinates/__init__.pyi @@ -0,0 +1,3 @@ +from typing import Any + +def __getattr__(name: str) -> Any: ... diff --git a/typings/astropy/io/__init__.pyi b/typings/astropy/io/__init__.pyi new file mode 100644 index 0000000..e27843e --- /dev/null +++ b/typings/astropy/io/__init__.pyi @@ -0,0 +1,3 @@ +from typing import Any + +def __getattr__(name: str) -> Any: ... diff --git a/typings/astropy/io/fits/__init__.pyi b/typings/astropy/io/fits/__init__.pyi new file mode 100644 index 0000000..e27843e --- /dev/null +++ b/typings/astropy/io/fits/__init__.pyi @@ -0,0 +1,3 @@ +from typing import Any + +def __getattr__(name: str) -> Any: ... diff --git a/typings/astropy/time/__init__.pyi b/typings/astropy/time/__init__.pyi new file mode 100644 index 0000000..e27843e --- /dev/null +++ b/typings/astropy/time/__init__.pyi @@ -0,0 +1,3 @@ +from typing import Any + +def __getattr__(name: str) -> Any: ...