[analysis] bugfix for filename using obs_type