CDF and HDF5 problems [message #88639] |
Thu, 22 May 2014 05:49  |
Matthew Argall
Messages: 286 Registered: October 2011
|
Senior Member |
|
|
I read both CDF and HDF5 files and am running into similar problems for each. There are two routines that slow things way down, CDF_OPEN and H5A_GET_NUM_ATTRS. My program gives
IDL> profiler, /report
Module Type Count Only(s) Avg.(s) Time(s) Avg.(s)
CDF_OPEN (S) 8 21.990163 2.748770 21.990163 2.748770
H5A_GET_NUM_ATTRS
(S) 184 16.309904 0.088641 16.309904 0.088641
However, if I try the same operations from the IDL prompt, this time is reduced to a fraction of a second. Does anyone know why this would be?
|
|
|
|