original_docstring: Produce a list of files corresponding to SPORT IVM.
  
      This routine is invoked by pysat and is not intended for direct use by the end user.
      
      Multiple data levels may be supported via the 'tag' input string.
      Currently defaults to level-2 data, or L2 in the filename.
  
      Parameters
      ----------
      tag : string ('')
          tag name used to identify particular data set to be loaded.
          This input is nominally provided by pysat itself.
      sat_id : string ('')
          Satellite ID used to identify particular data set to be loaded.
          This input is nominally provided by pysat itself.
      data_path : string
          Full path to directory containing files to be loaded. This
          is provided by pysat. The user may specify their own data path
          at Instrument instantiation and it will appear here.
      format_str : string (None)
          String template used to parse the datasets filenames. If a user
          supplies a template string at Instrument instantiation
          then it will appear here, otherwise defaults to None.
      
      Returns
      -------
      pandas.Series
          Series of filename strings, including the path, indexed by datetime.
      
      Examples
      --------
      ::
          If a filename is SPORT_L2_IVM_2019-01-01_v01r0000.NC then the template
          is 'SPORT_L2_IVM_{year:04d}-{month:02d}-{day:02d}_v{version:02d}r{revision:04d}.NC'
      
      Note
      ----
      The returned Series should not have any duplicate datetimes. If there are
      multiple versions of a file the most recent version should be kept and the rest
      discarded. This routine uses the pysat.Files.from_os constructor, thus
      the returned files are up to pysat specifications.
      
      
docstring: Produce a list of files corresponding to SPORT IVM.
  This routine is invoked by pysat and is not intended for direct use by the end user.
  
  Multiple data levels may be supported via the 'tag' input string.
  Currently defaults to level-2 data, or L2 in the filename.
  
  Parameters
  
  tag : string ('')
  tag name used to identify particular data set to be loaded.
  This input is nominally provided by pysat itself.
  sat_id : string ('')
  Satellite ID used to identify particular data set to be loaded.
  This input is nominally provided by pysat itself.
  data_path : string
  Full path to directory containing files to be loaded. This
  is provided by pysat. The user may specify their own data path
  at Instrument instantiation and it will appear here.
  format_str : string (None)
  String template used to parse the datasets filenames. If a user
  supplies a template string at Instrument instantiation
  then it will appear here, otherwise defaults to None.
  
  Returns
  
  pandas.Series
  Series of filename strings, including the path, indexed by datetime.
  
  Examples
docstring_tokens: Produce a list of files corresponding to SPORT IVM . This routine is invoked by pysat and is not intended for direct use by the end user . Multiple data levels may be supported via the ' tag ' input string . Currently defaults to level - 2 data or L2 in the filename . Parameters tag : string ( ' ' ) tag name used to identify particular data set to be loaded . This input is nominally provided by pysat itself . sat_id : string ( ' ' ) Satellite ID used to identify particular data set to be loaded . This input is nominally provided by pysat itself . data_path : string Full path to directory containing files to be loaded . This is provided by pysat . The user may specify their own data path at Instrument instantiation and it will appear here . format_str : string ( None ) String template used to parse the datasets filenames . If a user supplies a template string at Instrument instantiation then it will appear here otherwise defaults to None . Returns pandas . Series Series of filename strings including the path indexed by datetime . Examples
code: def list_files(tag=None, sat_id=None, data_path=None, format_str=None):
      """Produce a list of files corresponding to SPORT IVM.
  
      This routine is invoked by pysat and is not intended for direct use by the end user.
      
      Multiple data levels may be supported via the 'tag' input string.
      Currently defaults to level-2 data, or L2 in the filename.
  
      Parameters
      ----------
      tag : string ('')
          tag name used to identify particular data set to be loaded.
          This input is nominally provided by pysat itself.
      sat_id : string ('')
          Satellite ID used to identify particular data set to be loaded.
          This input is nominally provided by pysat itself.
      data_path : string
          Full path to directory containing files to be loaded. This
          is provided by pysat. The user may specify their own data path
          at Instrument instantiation and it will appear here.
      format_str : string (None)
          String template used to parse the datasets filenames. If a user
          supplies a template string at Instrument instantiation
          then it will appear here, otherwise defaults to None.
      
      Returns
      -------
      pandas.Series
          Series of filename strings, including the path, indexed by datetime.
      
      Examples
      --------
      ::
          If a filename is SPORT_L2_IVM_2019-01-01_v01r0000.NC then the template
          is 'SPORT_L2_IVM_{year:04d}-{month:02d}-{day:02d}_v{version:02d}r{revision:04d}.NC'
      
      Note
      ----
      The returned Series should not have any duplicate datetimes. If there are
      multiple versions of a file the most recent version should be kept and the rest
      discarded. This routine uses the pysat.Files.from_os constructor, thus
      the returned files are up to pysat specifications.
      
      """
          
      if format_str is None:
          if tag is '':
              tag = 'L2'
          format_str = 'SPORT_'+tag+'_IVM_{year:04d}-{month:02d}-{day:02d}_v{version:02d}r{revision:04d}.NC'
      return pysat.Files.from_os(data_path=data_path, format_str=format_str)
code_tokens: def list_files ( tag = None , sat_id = None , data_path = None , format_str = None ) : if format_str is None : if tag is '' : tag = 'L2' format_str = 'SPORT_' + tag + '_IVM_{year:04d}-{month:02d}-{day:02d}_v{version:02d}r{revision:04d}.NC' return pysat . Files . from_os ( data_path = data_path , format_str = format_str )
short_docstring: Produce a list of files corresponding to SPORT IVM.
short_docstring_tokens: Produce a list of files corresponding to SPORT IVM .
comment: """Produce a list of files corresponding to SPORT IVM.
  
      This routine is invoked by pysat and is not intended for direct use by the end user.
      
      Multiple data levels may be supported via the 'tag' input string.
      Currently defaults to level-2 data, or L2 in the filename.
  
      Parameters
      ----------
      tag : string ('')
          tag name used to identify particular data set to be loaded.
          This input is nominally provided by pysat itself.
      sat_id : string ('')
          Satellite ID used to identify particular data set to be loaded.
          This input is nominally provided by pysat itself.
      data_path : string
          Full path to directory containing files to be loaded. This
          is provided by pysat. The user may specify their own data path
          at Instrument instantiation and it will appear here.
      format_str : string (None)
          String template used to parse the datasets filenames. If a user
          supplies a template string at Instrument instantiation
          then it will appear here, otherwise defaults to None.
      
      Returns
      -------
      pandas.Series
          Series of filename strings, including the path, indexed by datetime.
      
      Examples
      --------
      ::
          If a filename is SPORT_L2_IVM_2019-01-01_v01r0000.NC then the template
          is 'SPORT_L2_IVM_{year:04d}-{month:02d}-{day:02d}_v{version:02d}r{revision:04d}.NC'
      
      Note
      ----
      The returned Series should not have any duplicate datetimes. If there are
      multiple versions of a file the most recent version should be kept and the rest
      discarded. This routine uses the pysat.Files.from_os constructor, thus
      the returned files are up to pysat specifications.
      
      """