Metadata

Bluesky (the snippet below is taken from a complete example 11.1)

 
    #
    # metadata, per RE and per plan
    #
    RE.md[ 'user'] = 'p09user' # permanent metadata, lifetime of RE
    uid, = RE(scan([mg], eh_mot70, 0, 0.1, 3, md={ 'sample':'Gold'})) # metadata for this run 
    RE.md[ 'user'] = 'p09user' # permanent metadata, lifetime of RE
    uid, = RE(scan([mg], eh_mot70, 0, 0.1, 3, md={ 'sample':'Silver'})) # metadata for this run 
    #
    # locate data labeled 'p09user'
    #
    print( "\n*** p09user") 
    res = db( user='p09user')
    for hdr in res: 
        dumpHeader( hdr)

Sardana:

Metadata are handled within the framework “Sardana NeXus Recorder at DESY”. Details can be found here