spedas / bleeding_edge

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

IDL 8.8.3 problem with THEMIS ESA processing #76

Open jameswilburlewis opened 1 year ago

jameswilburlewis commented 1 year ago

From Jim M:

I'm sure that this hasn't come up yet in processing because we don't use IDL 8.8.3.

But the functions that return the 3d data structures for individual times (GET_TH?_PEER) have a problem with omnidirectional PEER data. When creating L2 moments, there is a string of error messages and an interactive prompt.

% Temporary variables are still checked out - cleaning up...

FLOAT = 1.00000 % Temporary variables are still checked out - cleaning up... FLOAT = 1.00000 % Temporary variables are still checked out - cleaning up... FLOAT = 1.00000 % Temporary variables are still checked out - cleaning up... FLOAT = 1.00000 % Temporary variables are still checked out - cleaning up... FLOAT = 1.00000 % Temporary variables are still checked out - cleaning up... FLOAT = 1.00000 % Temporary variables are still checked out - cleaning up... FLOAT = 1.00000 % Temporary variables are still checked out - cleaning up... FLOAT = 1.00000 % Temporary variables are still checked out - cleaning up... FLOAT = 1.00000 % Temporary variables are still checked out - cleaning up... < Press Spacebar to continue, ? for help > I think this only happens for cases with nbins = 1, single angular bins, and is related to replicate and reform calls in the get_th?_peer functions, so I can fix this instance, but I wonder if this is a larger problem with IDL 8.8.3.
jameswilburlewis commented 11 months ago

Jim, can you add a code snippet that reproduces the issue? I'd like to see what happens on IDL 8.8.1 and 8.9.

jimm02 commented 11 months ago

This is pretty easy to reproduce:

timespan, '2012-21-11' thm_load_esa_pkt, probe = 'a' ;Use a loop to mimic the process in thm_part_products For j = 0, 1000 Do data = get_tha_peer(index=j)

;then we get the series of % Temporary variables are still checked out - cleaning up...

;and the interactive prompt.

Note that I have already fixed this for THEMIS E, but my concern is that this may be lurking somewhere else.

jimm02 commented 11 months ago

I checked IDL 8.9, no problems there....