code: def set_event(self,
                    simulation_start=None,
                    simulation_duration=None,
                    simulation_end=None,
                    rain_intensity=2,
                    rain_duration=timedelta(seconds=30*60),
                    event_type='EVENT',
                   ):
          
          # ADD TEMPORTAL EVENT INFORMAITON
          if event_type == 'LONG_TERM':
              self.event = LongTermMode(self.project_manager,
                                        self.db_session,
                                        self.project_directory,
                                        simulation_start=simulation_start,
                                        simulation_end=simulation_end,
                                        simulation_duration=simulation_duration,
                                       )
          else: # 'EVENT'
              self.event = EventMode(self.project_manager,
                                     self.db_session,
                                     self.project_directory,
                                     simulation_start=simulation_start,
                                     simulation_duration=simulation_duration,
                                     )
              self.event.add_uniform_precip_event(intensity=rain_intensity,
                                                  duration=rain_duration)
docs: Initializes event for GSSHA model