Derive pysynphot obsmode keyword from a filter name, where UVIS filters end in ‘u’
pysynphot
get_filter_obsmode()