Closed prjemian closed 4 years ago
Please add attribute (string) config_version to entry/program_name We can start with version 1.0 reminder, saveFlyData.py is currently at version 1.2. This is important for future updates to bluesky as program_name.
File creator version currently written as file root attribute creator_version
: https://github.com/APS-USAXS/ipython-usaxs/blob/8c9ab660bbcf99eea7021c2b1035964eabdd15de/profile_bluesky/startup/usaxs_support/saveFlyData.py#L48 https://github.com/APS-USAXS/ipython-usaxs/blob/8c9ab660bbcf99eea7021c2b1035964eabdd15de/profile_bluesky/startup/usaxs_support/saveFlyData.py#L206
@jilavsky -- What does it mean to add SPEC_data_file
to a NeXus file for data collected by Bluesky?
sample:NXsample
name --> /entry/instrument/bluesky/streams/baseline/user_data_sample_title/value_start
thickness --> /entry/instrument/bluesky/streams/baseline/user_data_sample_thickness/value_start
/entry/sample/name
same link as /entry/title
:
title --> /entry/instrument/bluesky/streams/baseline/user_data_sample_title/value_start
New file name: 20200610-135050-S00049-uascan-78b4801.h5
for db["78b4801c"]
SPEC_data_file is name of the "spec" data file we are writing notes in. the one created by "NewSpecFile" command in BS. In soon-to-come future this will be related to user name. After this run we will change arrangement of data in 2020-09/09_21_UserName/09_21_UserName_usaxs (_saxs, _waxs). NX file needs to have "09_21_UserName" in there - and historically, this has been name of the "spec" file. I'll submit this as issue for the future so do not forget.
SPEC_data_file
is named user_data_spec_file
: /entry/instrument/bluesky/streams/baseline/user_data_spec_file/value
I'll link the value to /entry/SPEC_data_file
. Other place instead?
as noted in #352:
Metadata which are missing and are useful or needed:
SPEC_data_file
file name.sample name
in/entry/sample
. Should contain same thing as/entry/title
.sample thickness
-- critically needed./entry/program_name@config_version = "1.0"