Modify read_mosfire_spec