Fix convert_units()
not keeping attrs
#916
Merged
convert_units()
not keeping attrs
#916