parameters: (self)
docstring: Check the processes.
docstring_summary: Check the processes.
docstring_tokens: Check the processes .
function: def Check(self):
          '''Check the processes.'''
          self.hdf5_import.Check()
          self.hdf5_process.Check()
          free_surface_is_present = False
          height_is_present = False
          for variable in self.variables:
              if variable == SW.FREE_SURFACE_ELEVATION:
                  free_surface_is_present = True
              if variable == SW.HEIGHT:
                  height_is_present = True
          if free_surface_is_present and not height_is_present:
              self.variables.append(SW.HEIGHT)
function_tokens: def Check ( self ) : self . hdf5_import . Check ( ) self . hdf5_process . Check ( ) free_surface_is_present = False height_is_present = False for variable in self . variables : if variable == SW . FREE_SURFACE_ELEVATION : free_surface_is_present = True if variable == SW . HEIGHT : height_is_present = True if free_surface_is_present and not height_is_present : self . variables . append ( SW . HEIGHT )