[udf-dlm-develop] nasty problem 2.
Brought to you by:
esm
From: Harald F. <hf...@ap...> - 2000-02-02 23:05:16
|
In response to Ed's email: * I had 0.51 running, but even now with 0.52 the same problem persists. * I am as sure as you can be with UDF, that I have the right key. * From a brand new IDL session the command fh = udf_open(key, [1999,337,7,21,11,530], [1999,337,7,27,21,538]) works just fine. * Here is the log of my latest try, which interestingly enough, now also happens to crash from the IDL prompt. So I don't need my widget program anymore. My comments are shown with ***** IDL> key=UDF_Key(vinst_to_full_path('IMF12LSI')) IDL> fh = udf_open(key, [1999,337,7,21,11,530], [1999,337,7,27,21,538]) IDL> help,key,fh KEY ULONG = 101220482 FH INT = 601 IDL> d=udf_read(fh) IDL> udf_close,fh ****** First try in new session just fine. ****** IDL> key=UDF_Key(vinst_to_full_path('IMF12LSI')) IDL> fh = udf_open(key, [1999,337,7,21,11,530], [1999,337,7,27,21,538]) IDL> help,key,fh KEY ULONG = 101220482 FH INT = 601 IDL> udf_close,fh ******* The same file again and everything is fine ****** IDL> key=UDF_Key(vinst_to_full_path('IMF12LSI')) IDL> fh = udf_open(key, [1999,186,1,42,16,686], [1999,186,2,56,26,798]) IDL> d=udf_read(fh) IDL> udf_close,fh ****** Second try with going back in time was successful too. ****** IDL> key=UDF_Key(vinst_to_full_path('IMF12LSI')) IDL> fh = udf_open(key, [1999,189,12,54,5,447], [1999,189,18,52,15,730]) % UDF_OPEN: no data for this time period % Execution halted at: $MAIN$ IDL> help,key,fh KEY ULONG = 101220482 FH INT = 601 ****** Now going forward in time does not work. ****** IDL> exit image1 [25] idl IDL Version 5.3 (sunos sparc). (c) 1999, Research Systems, Inc. Installation number: 8082. Licensed for use by: Space Physics Research Group ******** Opening a new IDL session ****** IDL> key=UDF_Key(vinst_to_full_path('IMF12LSI')) IDL> fh = udf_open(key, [1999,189,12,54,5,447], [1999,189,18,52,15,730]) IDL> d=udf_read(fh) IDL> help,key,fh KEY ULONG = 101220482 FH INT = 601 IDL> udf_close,fh ******** The previous problem is no problem in the new session ****** IDL> key=UDF_Key(vinst_to_full_path('IMF12LSI')) IDL> fh = udf_open(key, [1999,337,7,21,11,530], [1999,337,7,27,21,538]) % UDF_OPEN: no data for this time period % Execution halted at: $MAIN$ ******** The very first try of the previous session is now a problem, because it ******** is later than the previously called time period. Another interesting by-product is, that we rebuilt our UDF database. With the command times=udf_times(key) I previously got 12 starting and ending times (for 5 files), and now I get 18 starting and ending times. Each time is shown 5 times, except the last one, which is only 2 times in the database. May not be related to the problem, but who knows this for sure with UDF? Harald ========================================================= Harald U. Frey Space Sciences Lab phone: 510-643-3323 University of California fax: 510-643-2624 Berkeley, CA 94720-7450 email: hf...@ss... |