From acd0f3cb824b651e9507478cd99949230d2a06ce Mon Sep 17 00:00:00 2001 From: BO ZHANG Date: Mon, 10 Oct 2022 18:21:11 +0800 Subject: [PATCH] updated access code --- doc/source/build.rst | 1 + doc/source/csst_common/csst_common.rst | 15 ++++++++++----- doc/source/packaging.rst | 4 ---- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/doc/source/build.rst b/doc/source/build.rst index 9114d6f..ae62310 100644 --- a/doc/source/build.rst +++ b/doc/source/build.rst @@ -57,6 +57,7 @@ The build log includes 6 sections. coverage run -m pytest --import-mode=importlib [6/6] ``Numpydoc`` validation of interfaces + The status will be non-zero if the following code are unsuccessfully executed .. code-block:: bash diff --git a/doc/source/csst_common/csst_common.rst b/doc/source/csst_common/csst_common.rst index 89014c1..149b5b2 100644 --- a/doc/source/csst_common/csst_common.rst +++ b/doc/source/csst_common/csst_common.rst @@ -75,12 +75,17 @@ raw 0 ``dm.l0_detector(detector=detector)`` raw 0 ``dm.l0_crs(detector=detector)`` cosmic ray image raw 0 ``dm.l0_cat(detector=detector)`` input catalog raw 0 ``dm.l0_log(detector=detector)`` log file -``csst_ms_mbi_instrument`` 1 ``dm.l1_detector(detector=detector, post="img.fits")`` corrected image -``csst_ms_mbi_instrument`` 1 ``dm.l1_detector(detector=detector, post="flg.fits")`` flag image -``csst_ms_mbi_instrument`` 1 ``dm.l1_detector(detector=detector, post="wht.fits")`` weight image -``csst_ms_mbi_instrument`` 1 ``dm.l1_detector(detector=detector, post="img.head")`` L0 fits header +``csst_ms_mbi_instrument`` -- ``dm.l1_detector(detector=detector, post="img.fits")`` corrected image +``csst_ms_mbi_instrument`` -- ``dm.l1_detector(detector=detector, post="flg.fits")`` flag image +``csst_ms_mbi_instrument`` -- ``dm.l1_detector(detector=detector, post="wht.fits")`` weight image +``csst_ms_mbi_instrument`` -- ``dm.l1_detector(detector=detector, post="img.head")`` L0 fits header ``DFS`` -- ``dm.l1_file(name="gaia_dfs.fits")`` reference catalog ``csst_ms_mbi_distortion`` -- ``dm.l1_detector(detector=detector, post="wcs.head")`` fits head with WCS +``csst_ms_mbi_position`` -- ``dm.l1_detector(detector=detector, post="img.acat")`` photometry catalog +``csst_ms_mbi_position`` -- ``dm.l1_detector(detector=detector, post="img.rcat")`` reference catalog +``csst_ms_mbi_flux`` 1 ``dm.l1_detector(detector=detector, post="img_L1.fits")`` sci image (L1) +``csst_ms_mbi_flux`` 1 ``dm.l1_detector(detector=detector, post="flg_L1.fits")`` flag image (L1) +``csst_ms_mbi_flux`` 1 ``dm.l1_detector(detector=detector, post="wht_L1.fits")`` weight image (L1) ========================== ===== ========================================================== ================== @@ -93,7 +98,7 @@ raw 0 ``dm.l0_detector(detector=detector)`` raw 0 ``dm.l0_crs(detector=detector)`` cosmic ray image raw 0 ``dm.l0_cat(detector=detector)`` input catalog raw 0 ``dm.l0_log(detector=detector)`` log file -``csst_ms_sls_instrument`` 1 ``dm.l1_detector(detector=detector, post="flt.fits")`` corrected image +``csst_ms_sls_instrument`` -- ``dm.l1_detector(detector=detector, post="flt.fits")`` corrected image ========================== ===== ========================================================== ================== diff --git a/doc/source/packaging.rst b/doc/source/packaging.rst index 6d971cf..0f88f4a 100644 --- a/doc/source/packaging.rst +++ b/doc/source/packaging.rst @@ -55,10 +55,6 @@ Developers should use ``Python 3.9.X`` to implement algorithms. The base docker image will be ``continuumio/anaconda3``, which uses ``Python 3.9.12``. -However, in this example, ``python_requires='>=3.8'`` is because -``readthedocs.io`` only supports ``Python 3.8.X``. - - Relative import --------------- When import a class / function within the same package, a ``relative import`` -- GitLab