code: def prepare_gag(self):
          
          if self._prepare_lsm_gag:
              self.event_manager.prepare_gag_lsm(self.lsm_precip_data_var,
                                                 self.lsm_precip_type,
                                                 self.precip_interpolation_type)
              self.simulation_modified_input_cards.append("PRECIP_FILE")
          else:
              log.info("Gage file preparation skipped due to missing parameters ...")
docs: Prepare gage data for simulation