code: def get_higher_eq_freq_feature(
      instruments,
      fields,
      start_time=None,
      end_time=None,
      freq="day",
      disk_cache=1,
  ):
      """get the feature with higher or equal frequency than `freq`.
      Returns
      -------
      pd.DataFrame
          the feature with higher or equal frequency
      """
  
      from ..data.data import D  # pylint: disable=C0415
  
      try:
          _result = D.features(
              instruments,
              fields,
              start_time,
              end_time,
              freq=freq,
              disk_cache=disk_cache,
          )
          _freq = freq
      except (ValueError, KeyError) as value_key_e:
          _, norm_freq = Freq.parse(freq)
          if norm_freq in [
              Freq.NORM_FREQ_MONTH,
              Freq.NORM_FREQ_WEEK,
              Freq.NORM_FREQ_DAY,
          ]:
              try:
                  _result = D.features(
                      instruments,
                      fields,
                      start_time,
                      end_time,
                      freq="day",
                      disk_cache=disk_cache,
                  )
                  _freq = "day"
              except (ValueError, KeyError):
                  _result = D.features(
                      instruments,
                      fields,
                      start_time,
                      end_time,
                      freq="1min",
                      disk_cache=disk_cache,
                  )
                  _freq = "1min"
          elif norm_freq == Freq.NORM_FREQ_MINUTE:
              _result = D.features(
                  instruments,
                  fields,
                  start_time,
                  end_time,
                  freq="1min",
                  disk_cache=disk_cache,
              )
              _freq = "1min"
          else:
              raise ValueError(
                  f"freq {freq} is not supported"
              ) from value_key_e
      return _result, _freq
  
file_path: qlib/qlib/utils/resam.py
imports: import numpy
  import pandas
  from functools import partial
  from typing import Union, Callable
  from .None import lazy_sort_index
  from .time import Freq, cal_sam_minute
  from ..config import C
label_desc: Use image node_id 2 for calling a global function with example usage: get_higher_eq_freq_feature(instruments, fields, start_time, end_time, freq, disk_cache) and returns: _result,  _freq