spedas / bleeding_edge

IDL-based Space Physics Environment Data Analysis Software (bleeding edge)
http://www.spedas.org
Other
7 stars 0 forks source link

problems with wavetest.pro #201

Closed jameswilburlewis closed 3 days ago

jameswilburlewis commented 1 week ago

Scott Boardsen (scott.a.boardsen@nasa.gov) reported an issue:

I noticed that [wavetest.pro](http://wavetest.pro/) fails at period2 in SPEDAS,. Looks like a line was deleted by accident.
The github version works.

I see two issues: It seems to assume that the data file sst_nino3.dat is in the current directory. And there are several places where array indexing still uses () instead of [], in particular the period2 array, which I suspect is the issue Scott is seeing.

jameswilburlewis commented 3 days ago

Indexing issues and file location should now be fixed.