Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • Thanks, FelixIP! Your script works for sequence number very well. But what if I need to give non-sequence numbers? like change 1, 2, 3, 4, 5, 6 into 12, 42, 11, 68, 54, 10? Commented Jan 21, 2016 at 3:00
  • 1
    Create second list and pick from it using [m] Commented Jan 21, 2016 at 3:06
  • 1
    Your comment and question are mismatch. One thing reclass using interval (Question) and very different is reclass using lookup (Comment) Commented Jan 21, 2016 at 3:09
  • Sorry for my misleading description. I will edit my question. Commented Jan 21, 2016 at 3:28
  • @ FelixIP Does breaks[i] >= depth: considers the first label(i.e. 5) since then it needs <5? Commented Jan 21, 2016 at 6:49