Pre-APSU Beamlines
Names defined on 2020-07-10:
$ apsbss beamlines
1-BM-B,C 8-ID-I 15-ID-B,C,D 23-BM-B
1-ID-B,C,E 9-BM-B,C 16-BM-B 23-ID-B
2-BM-A,B 9-ID-B,C 16-BM-D 23-ID-D
2-ID-D 10-BM-A,B 16-ID-B 24-ID-C
2-ID-E 10-ID-B 16-ID-D 24-ID-E
3-ID-B,C,D 11-BM-B 17-BM-B 26-ID-C
4-ID-C 11-ID-B 17-ID-B 27-ID-B
4-ID-D 11-ID-C 18-ID-D 29-ID-C,D
5-BM-C 11-ID-D 19-BM-D 30-ID-B,C
5-BM-D 12-BM-B 19-ID-D 31-ID-D
5-ID-B,C,D 12-ID-B 20-BM-B 32-ID-B,C
6-BM-A,B 12-ID-C,D 20-ID-B,C 33-BM-C
6-ID-B,C 13-BM-C 21-ID-D 33-ID-D,E
6-ID-D 13-BM-D 21-ID-E 34-ID-C
7-BM-B 13-ID-C,D 21-ID-F 34-ID-E
7-ID-B,C,D 13-ID-E 21-ID-G 35-ID-B,C,D,E
8-BM-B 14-BM-C 22-BM-D
8-ID-E 14-ID-B 22-ID-D
runs
----
List the names of APS runs defined.
.. code-block:: bash
usage: apsbss runs [-h] [-f] [-a]
options:
-h, --help show this help message and exit
-f, --full full report including dates (default is compact)
-a, --ascending full report by ascending names (default is descending)
That list, as of 2024-12:
.. code-block:: bash
$ apsbss runs
2008-3 2011-2 2014-1 2016-3 2019-2
2009-1 2011-3 2014-2 2017-1 2019-3
2009-2 2012-1 2014-3 2017-2 2020-1
2009-3 2012-2 2015-1 2017-3 2020-2
2010-1 2012-3 2015-2 2018-1
2010-2 2013-1 2015-3 2018-2
2010-3 2013-2 2016-1 2018-3
2011-1 2013-3 2016-2 2019-1
Pick the run of interest. Here, we pick ``2020-2``.
To print the full report (including start and end of each run):
.. code-block:: bash
$ apsbss runs --full
====== =================== ===================
run start end
====== =================== ===================
2020-2 2020-06-09 07:00:00 2020-10-01 07:00:00
2020-1 2020-01-28 08:00:00 2020-06-09 07:00:00
2019-3 2019-09-24 07:00:00 2020-01-28 08:00:00
2019-2 2019-05-21 07:00:00 2019-09-24 07:00:00
... ... ...
2009-1 2009-01-21 08:00:00 2009-05-20 07:00:00
2008-3 2008-09-24 07:00:00 2009-01-21 08:00:00
====== =================== ===================
list
----
List the proposals for a specific beamline and run.
.. code-block:: bash
$ apsbss list -h
usage: apsbss list [-h] [-r RUN] beamlineName
positional arguments:
beamlineName Beamline name
options:
-h, --help show this help message and exit
-r RUN, --run RUN APS run name. One of the names returned by 'apsbss runs' or one of these ('past', 'prior', 'previous') for the previous run,
('current' or 'now') for the current run, ('future' or 'next') for the next run, or 'recent' for the past two years.
Such as:
.. code-block:: bash
$ apsbss list -r 2024-3 19-ID-D
Proposal(s): beam line 19-ID-D, run: 2024-3
== === ===== === ======= =====
id run start end user(s) title
== === ===== === ======= =====
== === ===== === ======= =====
ESAF(s): sector 19, run(s) 2024-3
====== ======== ====== ========== ========== ==================== ========================================
id status run start end user(s) title
====== ======== ====== ========== ========== ==================== ========================================
276922 Approved 2024-3 2024-11-22 2024-12-19 Wieghold,Mercado ... 19-ID-A,C,D Technical Commissioning
276575 Approved 2024-3 2024-10-31 2024-12-19 Wieghold,Lai,Luo,... 19-ID-C,D,E Operations Commissioning
276558 Approved 2024-3 2024-10-25 2024-12-19 Lai,Guerrero,Luo,... 19-ID-A Temporary Technical Commissio...
275933 Approved 2024-3 2024-10-24 2024-12-19 Wieghold,Luo,Mase... 19-ID-A Operations Commissioning
====== ======== ====== ========== ========== ==================== ========================================
Note: No proposals for this beamline in run 2024-3. New beamline commissioning
started during this run.
now
---
List the proposals and ESAFS active now.
.. code-block:: bash
$ apsbss now -h
usage: apsbss now [-h] beamlineName
positional arguments:
beamlineName Beamline name
options:
-h, --help show this help message and exit
Such as:
.. code-block:: bash
$ apsbss now 19-ID-D
Proposal(s): beam line 19-ID-D, 2024-12-17 12:08:19.891573-06:00
== === ===== === ======= =====
id run start end user(s) title
== === ===== === ======= =====
== === ===== === ======= =====
ESAF(s): sector 19, 2024-12-17 12:08:19.891573-06:00
====== ======== ====== ========== ========== ==================== ========================================
id status run start end user(s) title
====== ======== ====== ========== ========== ==================== ========================================
276922 Approved 2024-3 2024-11-22 2024-12-19 Wieghold,Mercado ... 19-ID-A,C,D Technical Commissioning
276575 Approved 2024-3 2024-10-31 2024-12-19 Wieghold,Lai,Luo,... 19-ID-C,D,E Operations Commissioning
276558 Approved 2024-3 2024-10-25 2024-12-19 Lai,Guerrero,Luo,... 19-ID-A Temporary Technical Commissio...
275933 Approved 2024-3 2024-10-24 2024-12-19 Wieghold,Luo,Mase... 19-ID-A Operations Commissioning
====== ======== ====== ========== ========== ==================== ========================================
To get details on a specific proposal or ESAF, see the subcommand for each.
proposal
--------
List the proposal details for a specific beamline and run.
.. code-block:: bash
$ apsbss proposal -h
usage: apsbss proposal [-h] proposalId run beamlineName
positional arguments:
proposalId proposal ID number
run APS run name
beamlineName Beamline name
options:
-h, --help show this help message and exit
Note the run name here is required (not an option). Such as:
.. code-block:: bash
$ apsbss proposal 78674 2022-2 12-ID-B
activities:
- duration: 108000
endTime: '2022-07-20 14:00:00-05:00'
startTime: '2022-07-19 08:00:00-05:00'
duration: 108000
endTime: '2022-07-20 14:00:00-05:00'
experimenters:
- badge: '87100'
email: ychoi@anl.gov
firstName: Yongseong
id: 516580
instId: 3927
institution: Argonne National Laboratory
lastName: Choi
id: 78674
mailInFlag: N
proprietaryFlag: N
startTime: '2022-07-19 08:00:00-05:00'
submittedDate: '2022-03-01 10:16:27-06:00'
title: National School on Neutron and X-ray Scattering, experimental tutorials, 12-ID-B
totalShiftsRequested: 12
esaf
----
.. code-block:: bash
$ apsbss esaf 258638
description: In the practical sessions for X-ray summer school student, we will demonstrate
and practice on surface X-ray diffraction and coherent Bragg rod measurements and
data processing. We will only ex-situ measure a few representative oxide or 2D materials
thin films for the practical session. No other chemicals are included. No need to
use the chemical room at 433 E030.
esafId: 258638
esafStatus: Approved
esafTitle: National School on Neutron and X-ray Scattering, experimental tutorials,
12-ID-D
experimentEndDate: '2022-07-22 16:00:00'
experimentStartDate: '2022-07-21 08:00:00'
experimentUsers:
- badge: '87100'
badgeNumber: '87100'
email: ychoi@anl.gov
firstName: Yongseong
lastName: Choi
piFlag: 'Yes'
- badge: '1234567890'
badgeNumber: '1234567890'
email: r.e.searcher@example.org
firstName: R.E.
lastName: Searcher
piFlag: 'No'
- other experimentUsers omitted here
sector: '12'
.. _subcommand.search:
search
------
Search for ESAFs and Proposals. See
:meth:`~apsbss.server_interface.Server.search` for more hints about how to
search.
.. code-block:: bash
usage: apsbss search [-h] [-r RUN] beamlineName query
positional arguments:
beamlineName Beamline name
query query
options:
-h, --help show this help message and exit
-r RUN, --run RUN APS run name. One of the names returned by 'apsbss runs' or one of these ('past', 'prior', 'previous') for the previous run,
('current' or 'now') for the current run, ('future' or 'next') for the next run, or 'recent' for the past two years.
Example (2024-12-18):
.. code-block:: bash
$ apsbss search 12-ID-B "title:School AND pi:Choi"
Search: beamline='12-ID-B' runs='recent' query='title:School AND pi:Choi'
====== ============================== ====== ======================================== ========
id pi run title type
====== ============================== ====== ======================================== ========
78674 Yongseong Choi