# S6 - Generation of spectral indexes

**URL:** <https://openplanetary.discourse.group/t/s6-generation-of-spectral-indexes/439>\
**Category:** GMAP-PLANMAP 2021\
**Created:** [February 4, 2021, 2:56pm UTC](https://openplanetary.discourse.group/t/s6-generation-of-spectral-indexes/439 "2021-02-04T14:56:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RElbertsen](https://avatars.discourse-cdn.com/v4/letter/r/e68b1a/32.png) [@RElbertsen](https://openplanetary.discourse.group/u/RElbertsen)\
**Post date:** [February 4, 2021, 2:56pm UTC](https://openplanetary.discourse.group/t/s6-generation-of-spectral-indexes/439/1 "2021-02-04T14:56:05Z")

</div>

Hi,

I don’t know about this IDL program, but it keeps crashing for me. After crashing it stops working, so I have to delete everything and download the .zip files again, because even the old .zip files seem to get corrupted. I’ve dowloaded everything four times now, but I can’t get anything working…

---

<div class="post-metadata">

**Author:** ![mariodamore](https://yyz2.discourse-cdn.com/free1/user_avatar/openplanetary.discourse.group/mariodamore/32/13_2.png) [@mariodamore](https://openplanetary.discourse.group/u/mariodamore)\
**Post date:** [February 4, 2021, 5:39pm UTC](https://openplanetary.discourse.group/t/s6-generation-of-spectral-indexes/439/2 "2021-02-04T17:39:55Z")

</div>

Hi,  
the biggest problem is that IDL doesn’t handle any kind of error, it simply crashes.

You need to follow the presentation :

1. set the wavenumber and iteration
2. click step 1 and select the data

If you cannot use it, I wrote some python code to do the same activity [github.com/mariodamore/spectral\_indexes\_generation](https://github.com/mariodamore/spectral_indexes_generation)

good luck!
