dindgen with GDL python module

Help
2012-11-05
2013-06-03
  • Gökhan Sever
    Gökhan Sever
    2012-11-05

    Hello,

    Something seems to be not right, while calling dindgen function from Python. findgen looks fine.

    >>> import GDL
    >>> GDL.function('dindgen', 10)
    array([ 0.,  1.,  2.,  3.,  4.,  0.,  0.,  0.,  0.,  0.])
    >>> GDL.function('findgen', 10)
    array([ 0.,  1.,  2.,  3.,  4.,  5.,  6.,  7.,  8.,  9.], dtype=float32)
    

    This is tested on:

    $ gdl -version
    GDL - GNU Data Language, Version 0.9.2
    $ python -version
    Python 2.7.3
    uname -a
    Linux 3.6.2-1.fc16.x86_64 GNU/Linux

    Any ideas?

    Thanks.