Dag,
Thanks for your tip. I didn't know that I could use a numpy array directly.
I tried that out, and it works like a charm. :-)
Jonathan,
Glad that you mentioned spacepy. I actually tried spacepy before I decided
to write my own wrapper. However, on the one hand, I can't install spacepy
on my
Hi,
I am developing a Python wrapper of the NASA CDF C library in Cython. I
have got a working version of it now, but it is slower than the counterpart
in IDL. For loading the same file, mine takes about 400 ms, whereas the IDL
version takes about 290 ms.
The main overhead in my code is caused by