code: def ND_SDR_available(ID, SDR):
      
      for i in range(len(np.array(ID_SDR_all_available(SDR)))):
          if np.array(ID_SDR_all_available(SDR))[i] >= (ID.to(u.inch)).magnitude:
              return ND_all_available()[i]
docs: Return an available ND given an ID and a schedule.
  
      Takes the values of the array, compares to the ID, and finds the index
      of the first value greater or equal.