Closed slayoo closed 12 months ago
Posting here the recent message from SF.net discussion by cosmicbruce:
Dear Alain and developer community:
I don't find any of (colon operator, *gen keyword, implicit print, issues) important for my use, nor do I know others who extensively use it. But it is in simple examples in on-line materials now, so might be good to address this.
breakpoint, on the other hand, is really valuable.
My recommendations (for what they are worth):
Fix colon operator, findgen, indgen,.. keywords, implicit print issues -----------> Zero Allocation of Resources (live with it)
Publish above as "gdl / idl incompatibility issues" -----> Worth doing: Put on the net where it can be found with a detailed search in < 1 minutes of work. Later, when someone has time, make a nice, as complete as possible list of incompatibilities- this would be a valuable reference.
Breakpoint: I feel this is in a different category entirely. For me, IDL / gdl power is strictly and only live-time debugging. For example, the command ".skip", as far as I can tell, is completely unique among all languages I've heard of. So, enhancing such capabilities is important to keeping gdl relevant.
I would say .step is a basic building block of live-time debugging. Breakpoint allows one to precisely apply .step in a very long program. So, to me, the live-time debugging capabilities of gdl will take a significant step up if this is implemented. --------->I would humbly request developers please consider working on this.
Example: you are not sure if some error in the answer comes from the statement in line 50 of your code, or line 350 or 550. You can easily look in your editor and note these linenumbers, and apply breakpoint. But you have to count statements, not line numbers, to use .step. If there are some 150 statements or so between locations where you want to stop and look at values, .step is not practical because of the inconvenience of converting the number of statements (required by .step) to line numbers (that you see in your editor). Without breakpoint, you need to add stop statements, which you have to remove again later, re-compile, and re-run. So, breakpoint is much faster, more interactive, and more convenient.,
IDLwave does work with gdl, but of course, you can't use it's nice button for the breakpoint statement. So, increased compatibility with IDLwave will also result.
Thanks,
-Bruce
indeed, .breakpoint and .stepover, (along with correct behaviour of CHECK_MATH() ) is desirable. But as GDL is firstly made to run IDL "proven" code, this is not yet in our radar...
I stopped trying to use GDL because it would fail on proven IDL code and without breakpoint it has proven to difficult to isolate the problems.
Indeed. I probably misused the term "proven". Nevertheless, it would be useful to signal what code fails to run with GDL. My experience is that a few "stop" added in a procedure are sufficient to identify where the problem is. Cumbersome, certainly, but useful as once the problem is solved, it is solved everywhere. This is a worthy contribution.
GDL has proven to be a moving target with my RHESSI code. I have had code break that worked in earlier versions. And I have tried many times reducing the problem and spending so much time using stop and step. Knowing that you have no interest in breakpoint makes my decisions simpler as I had been waiting for it. I don't normally work in Linux so making the current build with all of the features on a virtual machine again adds time. Maybe I'll return to it again but for now I'm more hopeful about the Fawlty implementation in Windows.
Hi,
I worked on that code with @rschwartz70 long time ago, and yes we had a severe problem. And yes I never succeed to catch it or even located it :scream:
For sure it is time to go back on it. And we learn a lot, may be we can go quickly to the source of the problem ?
But conversely I also have few examples where GDL help to improve IDL "proven" codes, in quality (see change in BESEL behavior in IDL ...) or in speed or in numerical accuracy (see INTERPOLATE 8.2.3 | Added DOUBLE keyword.) We also show that some numerical code are not good in IDL in some case (please run test_qromo with IDL, I have also an example in SVDV).
If we stick to the trail "GDL should run proven existing code" (somewhat a second choice dictated by the paucity of serious contributors) then as stated above it would be cumbersome, but useful for all, to make yet another "proven" code (here RHESSI) work with GDL.
Please let me know if you implement breakpoint. I have broken this code down looking for a place to stop but the code in which it stops is highly re-entrant which is why using STOP is too frustrating. The next generation here at GSFC is determined to become Python enabled and we are exporting data products from RHESSI to reduce any dependence on legacy code. My interest now is more academic in getting GDL to work.
Hi, I've installed RHESSI and a first glimpse found a bug in (very probably) ptr-valid() while calling 'hessi'. Already a positive return, even if it is a bug. I'll find probably more if I had a few simple rhessi commands associated with infos to what data to retrieve and use ( sorry but the documentation apparently lacks test examples?) @acoulais and @rschwartz70 may have some suggestions.
Have you installed the RHESSI software including environment variables? Assuming that you have, I'll prepare a script that unpacks the Level 0 files and returns our eventlist data structure. If that succeeds, the script will produce a backprojection image.
;pro test im=hsi_bproj(obs_time='20-feb-02 '+['11:06:00','11:06:30'], energy_band=[6.,25], time_range=[0,34] ) evd = im->getdata(class='hsi_eventlist') help, evd help, evd[0] help, evd[300000L]
;IDL> help, evd ;EVD STRUCT = -> HSI_EVENT Array[326079] ;IDL> help, evd,/st ; Structure HSI_EVENT, 4 tags, length=16, data length=12: ;TIME LONG64 606 ;A2D_INDEX BYTE 10 ;CHANNEL INT 103 ;COINCID_MASK BYTE 0 ;IDL> help, evd[300000L],/st ; Structure HSI_EVENT, 4 tags, length=16, data length=12: ;TIME LONG64 32402244 ;A2D_INDEX BYTE 3 ;CHANNEL INT 80 ;COINCID_MASK BYTE 0 ; if ~(is_struct( evd ) && n_elements( evd ) eq 326079) then stop obe = im->getdata(class='hsi_binned_eventlist')
print, ptr_valid( obe ) if total( ptr_valid( obe )) ne 9 then stop
cbe = im->getdata(class='hsi_calib_eventlist') help, cbe ; CBE POINTER = Array[9] print, ptr_valid( cbe ) ; 0 0 0 1 1 1 1 1 0 help, *cbe[3],/st ; * Structure HSI_CALIB_EVENT, 13 tags, length=52, data length=47: ; DX FLOAT 511.519 ; DY FLOAT 94.3121 ; ROLL_ANGLE FLOAT 222.275 ; MODAMP FLOAT 0.638837 ; PHASE_MAP_CTR FLOAT -81.5596 ; GRIDTRAN FLOAT 0.262800 ; FLUX_VAR FLOAT 0.522913 ; BACKGROUND FLOAT 0.000000 ; ATTEN_STATE INT 1 ; TIME LONG 1024 ; COUNT FLOAT 1.00000 ; LIVETIME FLOAT 0.969837 ; GAP BYTE 0 help, (cbe[3])[100],/st ; ** Structure HSI_CALIB_EVENT, 13 tags, length=52, data length=47: ; DX FLOAT 564.878 ; DY FLOAT 37.7588 ; ROLL_ANGLE FLOAT 222.558 ; MODAMP FLOAT 0.570661 ; PHASE_MAP_CTR FLOAT -34.9453 ; GRIDTRAN FLOAT 0.284218 ; FLUX_VAR FLOAT 0.523372 ; BACKGROUND FLOAT 0.000000 ; ATTEN_STATE INT 1 ; TIME LONG 205824 ; COUNT FLOAT 0.000000 ; LIVETIME FLOAT 0.000000 ; GAP BYTE 1
if total(ptr_valid( cbe )) ne 5 then stop map = im->getdata(time_range=fltarr(2)) if n_elements( map ) ne 65*67 then stop help, map ; MAP FLOAT = Array[65, 67] pmm, map ;-18071.0 60542.1 print, total(map) ;-5.99580e+006 print, map[30:34,30:34] ;37034.1 38887.2 37751.2 35123.0 32148.9 ;44336.9 45514.1 43296.6 39464.5 35667.4 ;49622.0 50187.1 46972.5 42288.6 38203.4 ;53390.5 53368.6 49213.7 44085.2 39764.2 ;56601.4 56017.4 51188.2 45452.9 40505.2 ; tvscl, congrid(map, 512,512)
set_plot, 'ps' device,/color, bits=8, file = 'imtest_image.ps' plot_image, map device, /close set_plot,'win plot_image, map WRITE_JPEG, 'imtest_image.jpg', TVRD(), QUALITY= 75 end
``
Let me know if you succeed with that script to produce that image.
Also on Github
On Mon, Jan 6, 2020 at 7:40 AM GillesDuvert notifications@github.com wrote:
Hi, I've installed RHESSI and a first glimpse found a bug in (very probably) ptr-valid() while calling 'hessi'. Already a positive return, even if it is a bug. I'll find probably more if I had a few simple rhessi commands associated with infos to what data to retrieve and use ( sorry but the documentation apparently lacks test examples?) @acoulais https://github.com/acoulais and @rschwartz70 https://github.com/rschwartz70 may have some suggestions.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gnudatalanguage/gdl/issues/425?email_source=notifications&email_token=ADMUMX6SS7ZWIVO5MOMKSRLQ4MRFLA5CNFSM4FKLRTGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIFKTCQ#issuecomment-571124106, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMUMXYZXUXV5LIHPKU2Y2TQ4MRFLANCNFSM4FKLRTGA .
You'll need to enable the network search for the level 0 telemetry file IDL> search_network or I'll attach the file
ftp://ftp.astro.gla.ac.uk/2002/02/20/hsi_20020220_104040_006.fits is the data file needed to run this. I think it works in the local directory or in $HSI_DATA_ARCHIVE or $HSI_DATA_USER
of course it fails now on IDLNETURL that is not in GDL.
[gildas@merbozo ~]$ sswidl
--------------------------------------------------------
Running SSW, Last Updated: Wed Nov 2 22:22:51 GMT 2005
PROBLEMS? - e-mail TO: freeland@penumbra.nascom.nasa.gov
--------------------------------------------------------
GDL - GNU Data Language, Version 1.0.0-rc.1 git
- For basic information type HELP,/INFO
- Please report bugs, feature or help requests and patches at:
https://github.com/gnudatalanguage/gdl
Executing SSW IDL_STARTUP for: GEN
% SET_OLDPATH: Ambiguous: Variable is undefined: FINDFILE or: Function not found: FINDFILE
Executing SSW IDL_STARTUP for: SITE
Executing SSW IDL_STARTUP: (Personal)
% PREF_SET: Unknown preference: IDL_RBUF_SIZE
% PREF_SET: Unknown preference: IDL_MORE
GDL> !PATH="/usr/local/share/gnudatalanguage/lib:"+!PATH
GDL> search_network
% Compiled module: SEARCH_NETWORK.
% Compiled module: MKLOG.
GDL> im=hsi_bproj(obs_time='20-feb-02 '+['11:06:00','11:06:30'], energy_band=[6.,25],time_range=[0,34] )
% Compiled module: HSI_BPROJ.
% Compiled module: HSI_BPROJ__DEFINE.
% Compiled module: STRATEGY_HOLDER_PASSIVE__DEFINE.
% Compiled module: STRATEGY_HOLDER__DEFINE.
% Compiled module: STRATEGY_HOLDER_TOOLS__DEFINE.
% Compiled module: FRAMEWORK__DEFINE.
% Compiled module: HSI_MODUL_PATTERN.
% Compiled module: HSI_MODUL_PATTERN__DEFINE.
% Compiled module: HSI_CALIB_EVENTLIST.
% Compiled module: HSI_CALIB_EVENTLIST__DEFINE.
% Compiled module: HSI_XYOFFSET__DEFINE.
% Compiled module: HSI_FILEANDRAW__DEFINE.
% Compiled module: HSI_BINNED_EVENTLIST__DEFINE.
% Compiled module: HSI_SRM__DEFINE.
% Compiled module: CHECKVAR.
% Compiled module: HSI_SRM_INFO__DEFINE.
% Compiled module: HSI_SRM_CONTROL.
% Compiled module: HSI_SRM_CONTROL__DEFINE.
% Compiled module: ADMIN_CONTROL__DEFINE.
% Compiled module: FREE_VAR.
% Compiled module: STRUCTURE_MANAGER__DEFINE.
% Compiled module: SAME_DATA.
% Compiled module: SAME_DATA2.
% Compiled module: FRAMEWORK_GET_DEBUG.
% Compiled module: HSI_SPECTROGRAM__DEFINE.
% Compiled module: HSI_BINNED_EVENTLIST_INFO__DEFINE.
% Compiled module: HSI_SPECTROGRAM_INFO__DEFINE.
% Compiled module: HSI_OFFSET_GAIN_STR__DEFINE.
% Compiled module: HSI_BINNED_EVENTLIST_CONTROL.
% Compiled module: HSI_SPECTROGRAM_CONTROL.
% Compiled module: HSI_SPECTROGRAM_CONTROL__DEFINE.
% Compiled module: HSI_USE_SIM.
% Compiled module: HSI_BINNED_EVENTLIST_CONTROL__DEFINE.
% Compiled module: HSI_EVENTLIST.
% Compiled module: HSI_EVENTLIST__DEFINE.
% Compiled module: HSI_PACKET.
% Compiled module: HSI_PACKET__DEFINE.
% Compiled module: HSI_PACKET_CONTROL.
% Compiled module: HSI_PACKET_CONTROL__DEFINE.
% Compiled module: HSI_PACKET_INFO__DEFINE.
% Compiled module: IS_NUMBER.
% Compiled module: CHKTAG.
% Compiled module: NULL.
% Compiled module: IS_STRUCT.
% Compiled module: UNIQ.
% Compiled module: HSI_FITS__DEFINE.
% Compiled module: HSI_PACKET_FILE__DEFINE.
% Compiled module: SELECTION_MANAGER__DEFINE.
% Compiled module: HSI_PACKET_FILE_CONTROL.
% Compiled module: HSI_PACKET_FILE_CONTROL__DEFINE.
% Compiled module: HSI_PACKET_FILE_INFO__DEFINE.
% Compiled module: IS_NUMBER2.
% Compiled module: HSI_EVENTLIST_CONTROL__DEFINE.
% Compiled module: HSI_EVENTLIST_PACKET__DEFINE.
% Compiled module: HSI_EVENTLIST_STRATEGY__DEFINE.
% Compiled module: HSI_EVENTLIST_STRATEGY_INFO__DEFINE.
% Compiled module: HESSI_SCTIME_FULL__DEFINE.
% Compiled module: HSI_EVENTLIST_STRATEGY_CONTROL.
% Compiled module: HSI_EVENTLIST_STRATEGY_CONTROL__DEFINE.
% Compiled module: HSI_DATA_GAP_CONTROL__DEFINE.
% Compiled module: HSI_DP_CUTOFF__DEFINE.
% Compiled module: HSI_DP_EXTEND__DEFINE.
% Compiled module: HSI_DATA_GAP_CONTROL.
% Compiled module: HSI_DP_CUTOFF_CONTROL.
% Compiled module: HSI_DP_EXTEND_CONTROL.
% Compiled module: ANYTIM.
% Compiled module: STR_LASTPOS.
% Compiled module: STR2UTC.
% Compiled module: VALID_NUM.
% Compiled module: DELVARX.
% Compiled module: DELVARX2.
% Compiled module: DESTROY.
% Compiled module: BOOST_ARRAY.
% Compiled module: UTC2INT.
% Compiled module: TAG_EXIST.
% Compiled module: DATE2MJD.
% Compiled module: CHECK_INT_TIME.
% Compiled module: GET_LEAP_SEC.
% Compiled module: UTIME2STR.
% Compiled module: GETUTBASE.
% Compiled module: GETUT.
% Compiled module: INT2EX.
% Compiled module: DAYCNV.
% Compiled module: EX2INT.
% Compiled module: JDCNV.
% Compiled module: INT2SEC.
% Compiled module: HSI_OBS_SOURCE.
% Compiled module: HSI_OBS_SOURCE__DEFINE.
% Compiled module: HSI_OBS_SUMMARY__DEFINE.
% Compiled module: HSI_OBS_SUMMARY_CONTROL__DEFINE.
% Compiled module: HSI_OBS_SUMM_RATE__DEFINE.
% Compiled module: HSI_QLOOK__DEFINE.
% Compiled module: HSI_QLOOK_VERSION_CONTROL.
% Compiled module: HSI_QLOOK_CONTROL__DEFINE.
% Compiled module: DEFAULT.
% Compiled module: HSI_ASPECT_SOLUTION__DEFINE.
% Compiled module: HSI_ASPECT_SOLUTION_CONTROL.
% Compiled module: HSI_ASPECT_SOLUTION_CONTROL__DEFINE.
% Compiled module: HSI_USE_ASPECT_SIM.
% Compiled module: HSI_ASPECT_SOLUTION_INFO__DEFINE.
% Compiled module: HSI_AS_QUALITY__DEFINE.
% Compiled module: HSI_CALIB_EVENTLIST_CONTROL.
% Compiled module: HSI_CALIB_EVENTLIST_CONTROL__DEFINE.
% Compiled module: HSI_PHZ_STACKER_CONTROL__DEFINE.
% Compiled module: HSI_XYOFFSET_CONTROL__DEFINE.
% Compiled module: HSI_PHZ_STACKER_CONTROL.
% Compiled module: COPY_STRUCT.
% Compiled module: HSI_XYOFFSET_CONTROL.
% Compiled module: HSI_CALIB_EVENTLIST_INFO__DEFINE.
% Compiled module: HSI_MODUL_PATTERN_CONTROL.
% Compiled module: HSI_MODUL_PATTERN_CONTROL__DEFINE.
% Compiled module: HSI_MODUL_PATTERN_INFO__DEFINE.
% Compiled module: HSI_ANNSEC_PATTERN__DEFINE.
% Compiled module: HSI_MODUL_PATTERN_STRATEGY__DEFINE.
% Compiled module: HSI_ANNSEC_PATTERN_CONTROL.
% Compiled module: HSI_ANNSEC_PATTERN_CONTROL__DEFINE.
% Compiled module: HSI_MODUL_PATTERN_STRATEGY_CONTROL__DEFINE.
% Compiled module: HSI_MODUL_PATTERN_STRATEGY_CONTROL.
% Compiled module: HSI_ANNSEC_PATTERN_INFO__DEFINE.
% Compiled module: TAG_DEREFERENCE.
% Compiled module: STR_SUBSET.
% Compiled module: STR_TAGINFO.
% Compiled module: IS_NONZERO.
% Compiled module: HSI_BPROJ_INFO__DEFINE.
% Compiled module: FRAMEWORK_FIND_CLASS.
% Compiled module: ADD_TAG.
% Compiled module: MATCH_STRUCT.
% Compiled module: MATCH.
% Compiled module: EDGE_PRODUCTS.
% Compiled module: REPRODUCE.
% Compiled module: HSI_ENERGY_EDGE.
% Compiled module: GET_EDGES.
% Compiled module: TIMSTR2EX.
% Compiled module: HSI_FILEDB_FILENAME.
% Compiled module: HSI_GET_DEBUG.
% Compiled module: HSI_FILEDB_READ.
% Compiled module: HSI_MONTHLY_FILENAME.
% Compiled module: BREAK_FILE.
% Compiled module: INT2UTC.
% Compiled module: MJD2DATE.
% Compiled module: UTC2STR.
% Compiled module: TIME2FILE.
% Compiled module: LAST_ITEM.
% Compiled module: FILE2TIME.
% Compiled module: EXTRACT_FID.
% Compiled module: EXTRACT_FIDS.
% Compiled module: STRMIDS.
% Compiled module: STRSPECIAL.
% Compiled module: STRLASTCHAR.
% Compiled module: WC_WHERE.
% Compiled module: STRMATCH.
% Compiled module: LOC_FILE.
% Compiled module: TEST_OPEN.
% Compiled module: GET_FITS_EXTNO.
% Compiled module: FITS_OPEN.
% Compiled module: SXPAR.
% Compiled module: GETTOK.
% Compiled module: SXDELPAR.
% Compiled module: FITS_CLOSE.
% Compiled module: MRDFITS.
% Compiled module: FXPOSIT.
% Compiled module: FXMOVE.
% Compiled module: MRD_HREAD.
% Compiled module: FXPAR.
% Compiled module: MRD_SKIP.
% Compiled module: IDL_VALIDNAME.
% Compiled module: MRD_STRUCT.
% Compiled module: LMGR.
% Compiled module: HSI_FILEDB_VERSION_CONTROL.
% Compiled module: HSI_FILEDB__DEFINE.
% Compiled module: HSI_FILEDB_SORT.
% Compiled module: BSORT.
% Compiled module: FILE_BREAK.
% Compiled module: HSI_BPROJ_ANNSEC__DEFINE.
% Compiled module: HSI_BPROJ_STRATEGY__DEFINE.
% Compiled module: HSI_BPROJ_STRATEGY_CONTROL.
% Compiled module: HSI_BPROJ_STRATEGY_CONTROL__DEFINE.
% Compiled module: HSI_GRID_PARAMETERS.
% Compiled module: HSI_LOC_FILE.
% Compiled module: STR_EXPAND.
% Compiled module: GET_PATH_DELIM.
% Compiled module: FINDFILE.
This functionality is obsolete.
You are adviced to use FILE_SEARCH() instead.
% Compiled module: FCHECK.
% Compiled module: GET_RECENT_FILE.
% Compiled module: UNIQO.
% Compiled module: HSI_RD_GRID_PARM_TABLE.
% Compiled module: STR_SEP.
% Compiled module: HSI_GRID_PARAMETERS__DEFINE.
GDL> evd = im->getdata(class='hsi_eventlist')
% Compiled module: VALID_RANGE.
% Compiled module: HSI_FIND_FILE.
% Compiled module: HSI_FILE2DIR.
% Compiled module: HESSI_DATA_PATHS.
% Compiled module: GET_UNIQ.
% Compiled module: SSW_UNIQ.
% Compiled module: FIND_ALL_DIR.
% Compiled module: BREAK_PATH.
% Compiled module: PATH_SEP.
% Compiled module: CURDIR.
% Compiled module: CHECK_NETWORK.
% Compiled module: ALLOW_SOCKETS.
% Compiled module: HSI_SOCK_COPY.
% Compiled module: HSI_SOCK_SERVER.
% Compiled module: STRUP.
% Compiled module: UT_DIFF.
% Compiled module: SYSTIM.
% Compiled module: HAVE_NETWORK.
% Compiled module: URL_FIX.
% Compiled module: HAS_URL_SCHEME.
% Compiled module: URL_PARSE.
% Compiled module: SOCK_CHECK.
% Compiled module: SOCK_HEAD.
% Compiled module: IS_URL.
% Compiled module: IS_FTP.
% Compiled module: IS_SSL.
% Compiled module: IDLNETURL2__DEFINE.
% IDLNETURL2__DEFINE: Procedure not found: IDLNETURL__DEFINE
% Execution halted at: IDLNETURL2__DEFINE 257 /home/gildas/PACKAGES/ssw/gen/idl/objects/idlneturl2__define.pro
% SOCK_HEAD 99 /home/gildas/PACKAGES/ssw/gen/idl/atest/sock_head.pro
% SOCK_CHECK 43 /home/gildas/PACKAGES/ssw/gen/idl/atest/sock_check.pro
% HAVE_NETWORK 118 /home/gildas/PACKAGES/ssw/gen/idl/atest/have_network.pro
% HSI_SOCK_SERVER 97 /home/gildas/PACKAGES/ssw/hessi/idl/gen/hsi_sock_server.pro
% HSI_SOCK_COPY 41 /home/gildas/PACKAGES/ssw/hessi/idl/gen/hsi_sock_copy.pro
% HSI_FIND_FILE 218 /home/gildas/PACKAGES/ssw/hessi/idl/atest/hsi_find_file.pro
% HSI_PACKET_FILE::PROCESS 818 /home/gildas/PACKAGES/ssw/hessi/idl/util/hsi_packet_file__define.pro
% HSI_PACKET_FILE::SELECT 320 /home/gildas/PACKAGES/ssw/hessi/idl/util/hsi_packet_file__define.pro
% SELECTION_MANAGER::GETSELECTION 111 /home/gildas/PACKAGES/ssw/gen/idl/objects/framework/selection_manager__define.pro
% HSI_PACKET_FILE::GETDATA 539 /home/gildas/PACKAGES/ssw/hessi/idl/util/hsi_packet_file__define.pro
% HSI_PACKET::GETDATA 180 /home/gildas/PACKAGES/ssw/hessi/idl/util/hsi_packet__define.pro
% HSI_EVENTLIST_PACKET::PROCESS_HOOK 359 /home/gildas/PACKAGES/ssw/hessi/idl/util/hsi_eventlist_packet__define.pro
% HSI_EVENTLIST_STRATEGY::PROCESS 508 /home/gildas/PACKAGES/ssw/hessi/idl/util/hsi_eventlist_strategy__define.pro
% FRAMEWORK::GETDATA 838 /home/gildas/PACKAGES/ssw/gen/idl/objects/framework/framework__define.pro
% HSI_EVENTLIST_STRATEGY::GETDATA 418 /home/gildas/PACKAGES/ssw/hessi/idl/util/hsi_eventlist_strategy__define.pro
% HSI_EVENTLIST_PACKET::GETDATA 256 /home/gildas/PACKAGES/ssw/hessi/idl/util/hsi_eventlist_packet__define.pro
% STRATEGY_HOLDER_TOOLS::GETDATA 331 /home/gildas/PACKAGES/ssw/gen/idl/objects/framework/strategy_holder_tools__define.pro
% HSI_EVENTLIST::GETDATA 323 /home/gildas/PACKAGES/ssw/hessi/idl/util/hsi_eventlist__define.pro
% FRAMEWORK::GETDATA 814 /home/gildas/PACKAGES/ssw/gen/idl/objects/framework/framework__define.pro
% STRATEGY_HOLDER_TOOLS::GETDATA 315 /home/gildas/PACKAGES/ssw/gen/idl/objects/framework/strategy_holder_tools__define.pro
% $MAIN$
I don't think search_network is called if you have the level 0 FITS file in your working directory. I can't be certain but you should try that if you haven't already.
On Mon, Jan 6, 2020 at 11:46 AM GillesDuvert notifications@github.com wrote:
of course it fails now on IDLNETURL that is not in GDL.
[gildas@merbozo ~]$ sswidl
Running SSW, Last Updated: Wed Nov 2 22:22:51 GMT 2005
PROBLEMS? - e-mail TO: freeland@penumbra.nascom.nasa.gov
GDL - GNU Data Language, Version 1.0.0-rc.1 git
- For basic information type HELP,/INFO
- Please report bugs, feature or help requests and patches at: https://github.com/gnudatalanguage/gdl
Executing SSW IDL_STARTUP for: GEN % SET_OLDPATH: Ambiguous: Variable is undefined: FINDFILE or: Function not found: FINDFILE Executing SSW IDL_STARTUP for: SITE Executing SSW IDL_STARTUP: (Personal) % PREF_SET: Unknown preference: IDL_RBUF_SIZE % PREF_SET: Unknown preference: IDL_MORE GDL> !PATH="/usr/local/share/gnudatalanguage/lib:"+!PATH GDL> search_network % Compiled module: SEARCH_NETWORK. % Compiled module: MKLOG. GDL> im=hsi_bproj(obs_time='20-feb-02 '+['11:06:00','11:06:30'], energy_band=[6.,25],time_range=[0,34] ) % Compiled module: HSI_BPROJ. % Compiled module: HSI_BPROJDEFINE. % Compiled module: STRATEGY_HOLDER_PASSIVEDEFINE. % Compiled module: STRATEGY_HOLDERDEFINE. % Compiled module: STRATEGY_HOLDER_TOOLSDEFINE. % Compiled module: FRAMEWORKDEFINE. % Compiled module: HSI_MODUL_PATTERN. % Compiled module: HSI_MODUL_PATTERNDEFINE. % Compiled module: HSI_CALIB_EVENTLIST. % Compiled module: HSI_CALIB_EVENTLISTDEFINE. % Compiled module: HSI_XYOFFSET__DEFINE. % Compiled module: HSI_FILEANDRAWDEFINE. % Compiled module: HSI_BINNED_EVENTLISTDEFINE. % Compiled module: HSI_SRMDEFINE. % Compiled module: CHECKVAR. % Compiled module: HSI_SRM_INFODEFINE. % Compiled module: HSI_SRM_CONTROL. % Compiled module: HSI_SRM_CONTROL__DEFINE. % Compiled module: ADMIN_CONTROLDEFINE. % Compiled module: FREE_VAR. % Compiled module: STRUCTURE_MANAGERDEFINE. % Compiled module: SAME_DATA. % Compiled module: SAME_DATA2. % Compiled module: FRAMEWORK_GET_DEBUG. % Compiled module: HSI_SPECTROGRAM__DEFINE. % Compiled module: HSI_BINNED_EVENTLIST_INFODEFINE. % Compiled module: HSI_SPECTROGRAM_INFODEFINE. % Compiled module: HSI_OFFSET_GAIN_STR__DEFINE. % Compiled module: HSI_BINNED_EVENTLIST_CONTROL. % Compiled module: HSI_SPECTROGRAM_CONTROL. % Compiled module: HSI_SPECTROGRAM_CONTROLDEFINE. % Compiled module: HSI_USE_SIM. % Compiled module: HSI_BINNED_EVENTLIST_CONTROLDEFINE. % Compiled module: HSI_EVENTLIST. % Compiled module: HSI_EVENTLISTDEFINE. % Compiled module: HSI_PACKET. % Compiled module: HSI_PACKETDEFINE. % Compiled module: HSI_PACKET_CONTROL. % Compiled module: HSI_PACKET_CONTROLDEFINE. % Compiled module: HSI_PACKET_INFODEFINE. % Compiled module: IS_NUMBER. % Compiled module: CHKTAG. % Compiled module: NULL. % Compiled module: IS_STRUCT. % Compiled module: UNIQ. % Compiled module: HSI_FITSDEFINE. % Compiled module: HSI_PACKET_FILEDEFINE. % Compiled module: SELECTION_MANAGERDEFINE. % Compiled module: HSI_PACKET_FILE_CONTROL. % Compiled module: HSI_PACKET_FILE_CONTROLDEFINE. % Compiled module: HSI_PACKET_FILE_INFO__DEFINE. % Compiled module: IS_NUMBER2. % Compiled module: HSI_EVENTLIST_CONTROLDEFINE. % Compiled module: HSI_EVENTLIST_PACKETDEFINE. % Compiled module: HSI_EVENTLIST_STRATEGYDEFINE. % Compiled module: HSI_EVENTLIST_STRATEGY_INFODEFINE. % Compiled module: HESSI_SCTIME_FULLDEFINE. % Compiled module: HSI_EVENTLIST_STRATEGY_CONTROL. % Compiled module: HSI_EVENTLIST_STRATEGY_CONTROLDEFINE. % Compiled module: HSI_DATA_GAP_CONTROLDEFINE. % Compiled module: HSI_DP_CUTOFFDEFINE. % Compiled module: HSI_DP_EXTEND__DEFINE. % Compiled module: HSI_DATA_GAP_CONTROL. % Compiled module: HSI_DP_CUTOFF_CONTROL. % Compiled module: HSI_DP_EXTEND_CONTROL. % Compiled module: ANYTIM. % Compiled module: STR_LASTPOS. % Compiled module: STR2UTC. % Compiled module: VALID_NUM. % Compiled module: DELVARX. % Compiled module: DELVARX2. % Compiled module: DESTROY. % Compiled module: BOOST_ARRAY. % Compiled module: UTC2INT. % Compiled module: TAG_EXIST. % Compiled module: DATE2MJD. % Compiled module: CHECK_INT_TIME. % Compiled module: GET_LEAP_SEC. % Compiled module: UTIME2STR. % Compiled module: GETUTBASE. % Compiled module: GETUT. % Compiled module: INT2EX. % Compiled module: DAYCNV. % Compiled module: EX2INT. % Compiled module: JDCNV. % Compiled module: INT2SEC. % Compiled module: HSI_OBS_SOURCE. % Compiled module: HSI_OBS_SOURCEDEFINE. % Compiled module: HSI_OBS_SUMMARYDEFINE. % Compiled module: HSI_OBS_SUMMARY_CONTROL__DEFINE. % Compiled module: HSI_OBS_SUMM_RATEDEFINE. % Compiled module: HSI_QLOOKDEFINE. % Compiled module: HSI_QLOOK_VERSION_CONTROL. % Compiled module: HSI_QLOOK_CONTROLDEFINE. % Compiled module: DEFAULT. % Compiled module: HSI_ASPECT_SOLUTIONDEFINE. % Compiled module: HSI_ASPECT_SOLUTION_CONTROL. % Compiled module: HSI_ASPECT_SOLUTION_CONTROLDEFINE. % Compiled module: HSI_USE_ASPECT_SIM. % Compiled module: HSI_ASPECT_SOLUTION_INFODEFINE. % Compiled module: HSI_AS_QUALITYDEFINE. % Compiled module: HSI_CALIB_EVENTLIST_CONTROL. % Compiled module: HSI_CALIB_EVENTLIST_CONTROLDEFINE. % Compiled module: HSI_PHZ_STACKER_CONTROLDEFINE. % Compiled module: HSI_XYOFFSET_CONTROLDEFINE. % Compiled module: HSI_PHZ_STACKER_CONTROL. % Compiled module: COPY_STRUCT. % Compiled module: HSI_XYOFFSET_CONTROL. % Compiled module: HSI_CALIB_EVENTLIST_INFODEFINE. % Compiled module: HSI_MODUL_PATTERN_CONTROL. % Compiled module: HSI_MODUL_PATTERN_CONTROLDEFINE. % Compiled module: HSI_MODUL_PATTERN_INFODEFINE. % Compiled module: HSI_ANNSEC_PATTERNDEFINE. % Compiled module: HSI_MODUL_PATTERN_STRATEGYDEFINE. % Compiled module: HSI_ANNSEC_PATTERN_CONTROL. % Compiled module: HSI_ANNSEC_PATTERN_CONTROLDEFINE. % Compiled module: HSI_MODUL_PATTERN_STRATEGY_CONTROL__DEFINE. % Compiled module: HSI_MODUL_PATTERN_STRATEGY_CONTROL. % Compiled module: HSI_ANNSEC_PATTERN_INFODEFINE. % Compiled module: TAG_DEREFERENCE. % Compiled module: STR_SUBSET. % Compiled module: STR_TAGINFO. % Compiled module: IS_NONZERO. % Compiled module: HSI_BPROJ_INFODEFINE. % Compiled module: FRAMEWORK_FIND_CLASS. % Compiled module: ADD_TAG. % Compiled module: MATCH_STRUCT. % Compiled module: MATCH. % Compiled module: EDGE_PRODUCTS. % Compiled module: REPRODUCE. % Compiled module: HSI_ENERGY_EDGE. % Compiled module: GET_EDGES. % Compiled module: TIMSTR2EX. % Compiled module: HSI_FILEDB_FILENAME. % Compiled module: HSI_GET_DEBUG. % Compiled module: HSI_FILEDB_READ. % Compiled module: HSI_MONTHLY_FILENAME. % Compiled module: BREAK_FILE. % Compiled module: INT2UTC. % Compiled module: MJD2DATE. % Compiled module: UTC2STR. % Compiled module: TIME2FILE. % Compiled module: LAST_ITEM. % Compiled module: FILE2TIME. % Compiled module: EXTRACT_FID. % Compiled module: EXTRACT_FIDS. % Compiled module: STRMIDS. % Compiled module: STRSPECIAL. % Compiled module: STRLASTCHAR. % Compiled module: WC_WHERE. % Compiled module: STRMATCH. % Compiled module: LOC_FILE. % Compiled module: TEST_OPEN. % Compiled module: GET_FITS_EXTNO. % Compiled module: FITS_OPEN. % Compiled module: SXPAR. % Compiled module: GETTOK. % Compiled module: SXDELPAR. % Compiled module: FITS_CLOSE. % Compiled module: MRDFITS. % Compiled module: FXPOSIT. % Compiled module: FXMOVE. % Compiled module: MRD_HREAD. % Compiled module: FXPAR. % Compiled module: MRD_SKIP. % Compiled module: IDL_VALIDNAME. % Compiled module: MRD_STRUCT. % Compiled module: LMGR. % Compiled module: HSI_FILEDB_VERSION_CONTROL. % Compiled module: HSI_FILEDB__DEFINE. % Compiled module: HSI_FILEDB_SORT. % Compiled module: BSORT. % Compiled module: FILE_BREAK. % Compiled module: HSI_BPROJ_ANNSECDEFINE. % Compiled module: HSI_BPROJ_STRATEGYDEFINE. % Compiled module: HSI_BPROJ_STRATEGY_CONTROL. % Compiled module: HSI_BPROJ_STRATEGY_CONTROLDEFINE. % Compiled module: HSI_GRID_PARAMETERS. % Compiled module: HSI_LOC_FILE. % Compiled module: STR_EXPAND. % Compiled module: GET_PATH_DELIM. % Compiled module: FINDFILE. This functionality is obsolete. You are adviced to use FILE_SEARCH() instead. % Compiled module: FCHECK. % Compiled module: GET_RECENT_FILE. % Compiled module: UNIQO. % Compiled module: HSI_RD_GRID_PARM_TABLE. % Compiled module: STR_SEP. % Compiled module: HSI_GRID_PARAMETERSDEFINE. GDL> evd = im->getdata(class='hsi_eventlist') % Compiled module: VALID_RANGE. % Compiled module: HSI_FIND_FILE. % Compiled module: HSI_FILE2DIR. % Compiled module: HESSI_DATA_PATHS. % Compiled module: GET_UNIQ. % Compiled module: SSW_UNIQ. % Compiled module: FIND_ALL_DIR. % Compiled module: BREAK_PATH. % Compiled module: PATH_SEP. % Compiled module: CURDIR. % Compiled module: CHECK_NETWORK. % Compiled module: ALLOW_SOCKETS. % Compiled module: HSI_SOCK_COPY. % Compiled module: HSI_SOCK_SERVER. % Compiled module: STRUP. % Compiled module: UT_DIFF. % Compiled module: SYSTIM. % Compiled module: HAVE_NETWORK. % Compiled module: URL_FIX. % Compiled module: HAS_URL_SCHEME. % Compiled module: URL_PARSE. % Compiled module: SOCK_CHECK. % Compiled module: SOCK_HEAD. % Compiled module: IS_URL. % Compiled module: IS_FTP. % Compiled module: IS_SSL. % Compiled module: IDLNETURL2DEFINE. % IDLNETURL2DEFINE: Procedure not found: IDLNETURLDEFINE % Execution halted at: IDLNETURL2DEFINE 257 /home/gildas/PACKAGES/ssw/gen/idl/objects/idlneturl2define.pro % SOCK_HEAD 99 /home/gildas/PACKAGES/ssw/gen/idl/atest/sock_head.pro % SOCK_CHECK 43 /home/gildas/PACKAGES/ssw/gen/idl/atest/sock_check.pro % HAVE_NETWORK 118 /home/gildas/PACKAGES/ssw/gen/idl/atest/have_network.pro % HSI_SOCK_SERVER 97 /home/gildas/PACKAGES/ssw/hessi/idl/gen/hsi_sock_server.pro % HSI_SOCK_COPY 41 /home/gildas/PACKAGES/ssw/hessi/idl/gen/hsi_sock_copy.pro % HSI_FIND_FILE 218 /home/gildas/PACKAGES/ssw/hessi/idl/atest/hsi_find_file.pro % HSI_PACKET_FILE::PROCESS 818 /home/gildas/PACKAGES/ssw/hessi/idl/util/hsi_packet_filedefine.pro % HSI_PACKET_FILE::SELECT 320 /home/gildas/PACKAGES/ssw/hessi/idl/util/hsi_packet_filedefine.pro % SELECTION_MANAGER::GETSELECTION 111 /home/gildas/PACKAGES/ssw/gen/idl/objects/framework/selection_managerdefine.pro % HSI_PACKET_FILE::GETDATA 539 /home/gildas/PACKAGES/ssw/hessi/idl/util/hsi_packet_filedefine.pro % HSI_PACKET::GETDATA 180 /home/gildas/PACKAGES/ssw/hessi/idl/util/hsi_packet__define.pro % HSI_EVENTLIST_PACKET::PROCESS_HOOK 359 /home/gildas/PACKAGES/ssw/hessi/idl/util/hsi_eventlist_packetdefine.pro % HSI_EVENTLIST_STRATEGY::PROCESS 508 /home/gildas/PACKAGES/ssw/hessi/idl/util/hsi_eventlist_strategydefine.pro % FRAMEWORK::GETDATA 838 /home/gildas/PACKAGES/ssw/gen/idl/objects/framework/frameworkdefine.pro % HSI_EVENTLIST_STRATEGY::GETDATA 418 /home/gildas/PACKAGES/ssw/hessi/idl/util/hsi_eventlist_strategydefine.pro % HSI_EVENTLIST_PACKET::GETDATA 256 /home/gildas/PACKAGES/ssw/hessi/idl/util/hsi_eventlist_packetdefine.pro % STRATEGY_HOLDER_TOOLS::GETDATA 331 /home/gildas/PACKAGES/ssw/gen/idl/objects/framework/strategy_holder_toolsdefine.pro % HSI_EVENTLIST::GETDATA 323 /home/gildas/PACKAGES/ssw/hessi/idl/util/hsi_eventlistdefine.pro % FRAMEWORK::GETDATA 814 /home/gildas/PACKAGES/ssw/gen/idl/objects/framework/frameworkdefine.pro % STRATEGY_HOLDER_TOOLS::GETDATA 315 /home/gildas/PACKAGES/ssw/gen/idl/objects/framework/strategy_holder_tools__define.pro % $MAIN$
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gnudatalanguage/gdl/issues/425?email_source=notifications&email_token=ADMUMXZA4T3WQH6SEAQY3TDQ4NN73A5CNFSM4FKLRTGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIGAUIA#issuecomment-571214368, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMUMXYWF2VABGXE2T6QTBLQ4NN73ANCNFSM4FKLRTGA .
with the file in local, I can go further of course. Here the errors sections only:
GDL> obe = im->getdata(class='hsi_binned_eventlist')
% Compiled module: JOIN_STRUCT.
% Compiled module: HESSI_CONSTANT__DEFINE.
% Compiled module: GT_TAGVAL.
% Compiled module: STR_TAGVAL.
% Compiled module: TAG_INDEX.
% Compiled module: EDGE2BIN.
% Compiled module: F_DIV.
% Compiled module: POLY.
% Compiled module: ERR_STATE.
% ADD_TAG: BaseGDL::Assign(...) called.
% ADD_TAG: BaseGDL::Assign(...) called.
% ADD_TAG: BaseGDL::Assign(...) called.
% ADD_TAG: BaseGDL::Assign(...) called.
% ADD_TAG: BaseGDL::Assign(...) called.
% ADD_TAG: BaseGDL::Assign(...) called.
% Compiled module: PTR_EXIST.
% HSI_SPECTROGRAM::PROCESS: Tag name: REGROUP is undefined for STRUCT.
% Execution halted at: HSI_SPECTROGRAM::PROCESS 777 /home/gildas/PACKAGES/ssw/hessi/idl/atest/hsi_spectrogram__define.pro
% FRAMEWORK::GETDATA 838 /home/gildas/PACKAGES/ssw/gen/idl/objects/framework/framework__define.pro
% HSI_BINNED_EVENTLIST::GETDATA 461 /home/gildas/PACKAGES/ssw/hessi/idl/atest/hsi_binned_eventlist__define.pro
% FRAMEWORK::GETDATA 814 /home/gildas/PACKAGES/ssw/gen/idl/objects/framework/framework__define.pro
% STRATEGY_HOLDER_TOOLS::GETDATA 315 /home/gildas/PACKAGES/ssw/gen/idl/objects/framework/strategy_holder_tools__define.pro
% $MAIN$
GDL> cbe = im->getdata(class='hsi_calib_eventlist')
% Compiled module: STR_INDEX.
% INTERPOL: QUADRATIC keyword not supported yet (FIXME!)
% Error occurred at: INTERPOL 50 /usr/local/share/gnudatalanguage/lib/interpol.pro
and GDL> map = im->getdata(time_range=fltarr(2))
PMTRAS_ANALYSIS: Using roll solution database.
% INTERPOL: QUADRATIC keyword not supported yet (FIXME!)
% Error occurred at: INTERPOL 50 /usr/local/share/gnudatalanguage/lib/interpol.pro
OK, Interpol SHOULD provide quadratIc --- GDL people have a tendency to leave things unfinished, do not they?
When ignoring the Interpol issue, we finally end on
GDL> map = im->getdata(time_range=fltarr(2))
This functionality is obsolete.
You are adviced to use FILE_SEARCH() instead.
% INTERPOL: QUADRATIC keyword not supported yet (FIXME!)
% INTERPOL: QUADRATIC keyword not supported yet (FIXME!)
% Compiled module: HSI_ASPECT_SOLUTION::POINTING_ERROR.
% Compiled module: HSI_AS_DELTAPOL.
% Compiled module: HSI_RADIAL_COORD.
% Compiled module: STDEV.
% Compiled module: HSI_TIME_BIN_AUTO.
% ADD_TAG: BaseGDL::Assign(...) called.
% ADD_TAG: BaseGDL::Assign(...) called.
% ADD_TAG: BaseGDL::Assign(...) called.
% ADD_TAG: BaseGDL::Assign(...) called.
% ADD_TAG: BaseGDL::Assign(...) called.
% ADD_TAG: BaseGDL::Assign(...) called.
% HSI_SPECTROGRAM::PROCESS: Tag name: REGROUP is undefined for STRUCT.
% Execution halted at: HSI_SPECTROGRAM::PROCESS 777 /home/gildas/PACKAGES/ssw/hessi/idl/atest/hsi_spectrogram__define.pro
Which goes back to the bug seen before.
You are making progress. Thanks
On Mon, Jan 6, 2020 at 12:03 PM GillesDuvert notifications@github.com wrote:
with the file in local, I can go further of course. Here the errors sections only:
GDL> obe = im->getdata(class='hsi_binned_eventlist') % Compiled module: JOIN_STRUCT. % Compiled module: HESSI_CONSTANT__DEFINE. % Compiled module: GT_TAGVAL. % Compiled module: STR_TAGVAL. % Compiled module: TAG_INDEX. % Compiled module: EDGE2BIN. % Compiled module: F_DIV. % Compiled module: POLY. % Compiled module: ERR_STATE. % ADD_TAG: BaseGDL::Assign(...) called. % ADD_TAG: BaseGDL::Assign(...) called. % ADD_TAG: BaseGDL::Assign(...) called. % ADD_TAG: BaseGDL::Assign(...) called. % ADD_TAG: BaseGDL::Assign(...) called. % ADD_TAG: BaseGDL::Assign(...) called. % Compiled module: PTR_EXIST. % HSI_SPECTROGRAM::PROCESS: Tag name: REGROUP is undefined for STRUCT. % Execution halted at: HSI_SPECTROGRAM::PROCESS 777 /home/gildas/PACKAGES/ssw/hessi/idl/atest/hsi_spectrogramdefine.pro % FRAMEWORK::GETDATA 838 /home/gildas/PACKAGES/ssw/gen/idl/objects/framework/frameworkdefine.pro % HSI_BINNED_EVENTLIST::GETDATA 461 /home/gildas/PACKAGES/ssw/hessi/idl/atest/hsi_binned_eventlistdefine.pro % FRAMEWORK::GETDATA 814 /home/gildas/PACKAGES/ssw/gen/idl/objects/framework/frameworkdefine.pro % STRATEGY_HOLDER_TOOLS::GETDATA 315 /home/gildas/PACKAGES/ssw/gen/idl/objects/framework/strategy_holder_tools__define.pro % $MAIN$
- this is probably a bug*
GDL> cbe = im->getdata(class='hsi_calib_eventlist')
% Compiled module: STR_INDEX. % INTERPOL: QUADRATIC keyword not supported yet (FIXME!) % Error occurred at: INTERPOL 50 /usr/local/share/gnudatalanguage/lib/interpol.pro
and GDL> map = im->getdata(time_range=fltarr(2))
PMTRAS_ANALYSIS: Using roll solution database. % INTERPOL: QUADRATIC keyword not supported yet (FIXME!) % Error occurred at: INTERPOL 50 /usr/local/share/gnudatalanguage/lib/interpol.pro
OK, Interpol SHOULD provide quadratIc --- GDL people have a tendency to leave things unfinished, do not they?
When ignoring the Interpol issue, we finally end on
GDL> map = im->getdata(time_range=fltarr(2)) This functionality is obsolete. You are adviced to use FILE_SEARCH() instead. % INTERPOL: QUADRATIC keyword not supported yet (FIXME!) % INTERPOL: QUADRATIC keyword not supported yet (FIXME!) % Compiled module: HSI_ASPECT_SOLUTION::POINTING_ERROR. % Compiled module: HSI_AS_DELTAPOL. % Compiled module: HSI_RADIAL_COORD. % Compiled module: STDEV. % Compiled module: HSI_TIME_BIN_AUTO. % ADD_TAG: BaseGDL::Assign(...) called. % ADD_TAG: BaseGDL::Assign(...) called. % ADD_TAG: BaseGDL::Assign(...) called. % ADD_TAG: BaseGDL::Assign(...) called. % ADD_TAG: BaseGDL::Assign(...) called. % ADD_TAG: BaseGDL::Assign(...) called. % HSI_SPECTROGRAM::PROCESS: Tag name: REGROUP is undefined for STRUCT. % Execution halted at: HSI_SPECTROGRAM::PROCESS 777 /home/gildas/PACKAGES/ssw/hessi/idl/atest/hsi_spectrogram__define.pro
Which goes back to the bug seen before.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gnudatalanguage/gdl/issues/425?email_source=notifications&email_token=ADMUMX3GKGRS43TRCZF57GDQ4NP7HA5CNFSM4FKLRTGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIGCK3Y#issuecomment-571221359, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMUMX7LQX3SOB4SL63Z6G3Q4NP7HANCNFSM4FKLRTGA .
This little exercise permitted to find and cure 3 GDL bugs :smile:
see #699
needs however to compile IDL's interpol.pro as GDL's do not support the QUADRATIC option. on my machine, im=hsi_bproj() takes 0.2 s when procedures are already compiled. im->getdata() takes 30 seconds (probably very slow, this is interesting as we may find the culprit code for this slowness) and complains a lot about:
% VALUE_LOCATE: Warning : input array is NOT monotonically increasing or decreasing
% Input conversion error.
% Input conversion error.
Probably yet another GDL 'feature'.
Wow. That's great news. I'll see what I need to do to make a basic build on our Linux server that could support some of our other standard tasks. Getting to this stage already has tested our most complicated utilization of pointers. If you'd like I could give you a few more test scripts to run our data extractions. Beyond that, what would your expectation be if we tried our GUI in GDL? Almost all of our GUI was developed by IDL 6.4.
Thank you Richard Schwartz
On Wed, Jan 8, 2020 at 12:46 PM GillesDuvert notifications@github.com wrote:
This little exercise permitted to find and cure 3 GDL bugs 😄
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gnudatalanguage/gdl/issues/425?email_source=notifications&email_token=ADMUMX5O6DWXDGEQMQAYGVLQ4YGQTA5CNFSM4FKLRTGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEINMPDI#issuecomment-572180365, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMUMX3AD27B5CQT3FCJRUTQ4YGQTANCNFSM4FKLRTGA .
Can you tell me at which step value_locate warning occurs? The first argument must be monotonic for value_locate or it should throw an error. Thanks
On Wed, Jan 8, 2020 at 1:02 PM GillesDuvert notifications@github.com wrote:
needs however to compile IDL's interpol.pro as GDL's do not support the QUADRATIC option. on my machine, im=hsi_bproj() takes 0.2 s when procedures are already compiled. im->getdata() takes 30 seconds (probably very slow, this is interesting as we may find the culprit code for this slowness) and complains a lot about:
% VALUE_LOCATE: Warning : input array is NOT monotonically increasing or decreasing % Input conversion error. % Input conversion error.
Probably yet another GDL 'feature'.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gnudatalanguage/gdl/issues/425?email_source=notifications&email_token=ADMUMXZB5JTID7X5YUROIO3Q4YIKDA5CNFSM4FKLRTGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEINN6AY#issuecomment-572186371, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMUMX7XWERJ52XJODZWD5TQ4YIKDANCNFSM4FKLRTGA .
Good point. It concerns some 'X' values passed to this function by IDL's interpol.pro, used, e.g., in
cbe = im->getdata(class='hsi_calib_eventlist')
The warning itself exists only in GDL's version of value_locate() ad has been added by @acoulais, a useful addition in retrospect.
However it must be said that numerical results are not entirely identical between IDL and GDL on this example. This may be due to absent files, as I see:
% HSI_QLOOK::GETDATA: No Files Found
% HSI_SPECTROGRAM::GET_OBS: Could not find observing summary data
% HSI_DECIMATION_ANOMALY: No Decimation before 19-mar-2002 05:58
% HSI_DECIMATION_ANOMALY: Rsetting Idpu_version to 0 for 2 packets
% HSI_QLOOK::GETDATA: file: hsi_obssumm_20020220_154.fits NOT found
% HSI_QLOOK::GETDATA: Searching For Old versions
Are you able to update your SSW? There is a new version of search_network to help you take care of missing files. I've also attached it to this email With the new version for gdl without the socket support: search_network, /glasgow (we still have ftp there)
I've also attached the hsi_obssumm_20020220_137.fits which should work instead of _154.fits
On Wed, Jan 8, 2020 at 6:10 PM GillesDuvert notifications@github.com wrote:
Good point. It concerns some 'X' values passed to this function by IDL's interpol.pro, used, e.g., in cbe = im->getdata(class='hsi_calib_eventlist') The warning itself exists only in GDL's version of value_locate() ad has been added by @acoulais https://github.com/acoulais, a useful addition in retrospect. However it must be said that numerical results are not entirely identical between IDL and GDL on this example. This may be due to absent files, as I see:
% HSI_QLOOK::GETDATA: No Files Found % HSI_SPECTROGRAM::GET_OBS: Could not find observing summary data % HSI_DECIMATION_ANOMALY: No Decimation before 19-mar-2002 05:58 % HSI_DECIMATION_ANOMALY: Rsetting Idpu_version to 0 for 2 packets % HSI_QLOOK::GETDATA: file: hsi_obssumm_20020220_154.fits NOT found % HSI_QLOOK::GETDATA: Searching For Old versions
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gnudatalanguage/gdl/issues/425?email_source=notifications&email_token=ADMUMX55TDTP6QRUWHHBXV3Q4ZMPFA5CNFSM4FKLRTGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIOKIFQ#issuecomment-572302358, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMUMXZRI2P47R3KQNO3KJDQ4ZMPFANCNFSM4FKLRTGA .
hi, I've realized that the idlneturl object in GDL was very poor. The sswidl package is a good exercise. To be continued.
If you want more scripts to exercise GDL look here: https://hesperia.gsfc.nasa.gov/rhessi_extras/flare_images/hsi_flare_image_archive.html
Those links go to processed RHESSI flare images and the scripts used to produce them. For example, for the flare you just imaged: https://hesperia.gsfc.nasa.gov/rhessi_extras/flare_images/2002/02/20/20020220_1104_1116/hsi_20020220_1104_1116.html
Here you will find scripts where you see the text "Image Creation Scripts"
Start with something simple:
And then using visibilities:
If you have questions, I'm here. Richard
On Mon, Jan 13, 2020 at 1:46 PM GillesDuvert notifications@github.com wrote:
hi, I've realized that the idlneturl object in GDL was very poor. The sswidl package is a good exercise. To be continued.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gnudatalanguage/gdl/issues/425?email_source=notifications&email_token=ADMUMX4N2D53CREFFIL3Z4DQ5SZH7A5CNFSM4FKLRTGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIZ2XRY#issuecomment-573811655, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMUMX43HFZCUC7HDQ3W76TQ5SZH7ANCNFSM4FKLRTGA .
Hi, hessi and ssw seem to make a point to use every possible tricks of idl, do not they? :smile:
Well, at the moment even idl has a problem with the simple procedure above:
IDL> .compile ~/hsi_image_script_nondefault_params_clean_20020220_1104_8tx5e
% Compiled module: HSI_IMAGE_SCRIPT_NONDEFAULT_PARAMS_CLEAN_20020220_1104_8TX5E.
IDL> HSI_IMAGE_SCRIPT_NONDEFAULT_PARAMS_CLEAN_20020220_1104_8TX5E, obj=obj
% Compiled module: HSI_IMAGE.
(...)
% Compiled module: HSI_DETSEG2A2D.
IDL> data = obj->getdata()
% Compiled module: HSI_BPROJ_CART__DEFINE.
(...)
% Compiled module: N_DIMENSIONS.
****** making vis for None 12.0000 to 25.0000 keV
% Compiled module: HSI_VIS_GEN.
(...)
% Compiled module: HSI_ASPECT_SOLUTION::NEED_UPDATE.
HSI_ASPECT_SOLUTION::PROCESS: Can't read aspect packets. File not found.
% Compiled module: FRAMEWORK_IS_OBJ_NESTED.
HSI_ASPECT_SOLUTION::GETDATA: Aborting
% HSI_VIS_GEN: Aborting
% Compiled module: HSI_VIS.
(...)
% Compiled module: MATCH_INTERVALS.
HSI_VISIBILITY::GETDATA: No vis corresponding to requested time: 20-Feb-2002 11:04:16.200 to 11:06:05.800
% Compiled module: SSW_STRSPLIT.
(...)
% Compiled module: FITS_EXTENSION__DEFINE.
PMTRAS_ANALYSIS: Using roll solution database.
% Compiled module: INTERPOL.
(...)
% Compiled module: STRPAD.
% SOCK_ERROR: Status code = 404. URL not found - http://soleil.i4ds.ch/hessidata/metadata/catalog/hsi_obssumm_20020220_154.fits
% HSI_QLOOK::GETDATA: File not found:
/home/gildas/DATA/RHESSI/hsi_obssumm_20020220_154.fits
% HSI_SPECTROGRAM::GET_OBS: Could not find observing summary data
% Compiled module: HSI_PACKET::GETIDPU.
% HSI_DECIMATION_ANOMALY: No Decimation before 19-mar-2002 05:58
% HSI_DECIMATION_ANOMALY: Rsetting Idpu_version to 0 for 2 packets
% Compiled module: HSI_EVL_STATE_FILTER_TIME.
% Compiled module: TIMSTR2EX.
% HSI_SPECTROGRAM::GET_OBS: Could not find observing summary data
% HSI_DECIMATION_ANOMALY: No Decimation before 19-mar-2002 05:58
% HSI_DECIMATION_ANOMALY: Rsetting Idpu_version to 0 for 2 packets
% Compiled module: HSI_DECIM_CORRECTION.
(...)
% Compiled module: SIGMA.
CLEAN: averaged correction: 0.79 standard deviation : 0.0043 sigma/average : 0.0055 Stop reason: neg maximum
% Compiled module: HSI_CLEAN_REGRESS_COMBINE_LIST.
(...)
% Compiled module: REGRESS.
HSI_CLEAN_REGRESS_COMBINE: Multiplier on component map determined by regressing expected vs observed counts.
HSI_CLEAN_REGRESS_COMBINE: Final image = 1.15579 * component map + 1 * residual map
% Compiled module: HSI_IMAGE_PROFILE_CSTAT.
(...)
% Compiled module: STR_FUZZY.
****** making vis for 20-Feb-2002 11:04:16.200 to 11:06:05.800 6.00000 to 12.0000 keV
PMTRAS_ANALYSIS: Using roll solution database.
% SOCK_ERROR: Status code = 404. URL not found - http://soleil.i4ds.ch/hessidata/metadata/catalog/hsi_obssumm_20020220_154.fits
% HSI_QLOOK::GETDATA: File not found:
/home/gildas/DATA/RHESSI/hsi_obssumm_20020220_154.fits
% HSI_SPECTROGRAM::GET_OBS: Could not find observing summary data
% HSI_DECIMATION_ANOMALY: No Decimation before 19-mar-2002 05:58
% HSI_DECIMATION_ANOMALY: Rsetting Idpu_version to 0 for 2 packets
% HSI_SPECTROGRAM::GET_OBS: Could not find observing summary data
% HSI_DECIMATION_ANOMALY: No Decimation before 19-mar-2002 05:58
% HSI_DECIMATION_ANOMALY: Rsetting Idpu_version to 0 for 2 packets
% Compiled module: HSI_VISIBILITY_FIT.
% Compiled module: WC_WHERE_ARR.
****** making vis for None 12.0000 to 25.0000 keV
HSI_ASPECT_SOLUTION::PROCESS: Can't read aspect packets. File not found.
HSI_ASPECT_SOLUTION::GETDATA: Aborting
% HSI_VIS_GEN: Aborting
HSI_VISIBILITY::GETDATA: No vis corresponding to requested time: 20-Feb-2002 11:04:16.200 to 11:06:05.800
^C% Interrupt encountered.
% Interrupted at: HSI_CART_BPROJ_STRUCT 105 /home/gildas/PACKAGES/ssw/hessi/idl/util/cart/hsi_cart_bproj_struct.pro
Ay idea?
This is not an IDL issue. We are updating the observing summary so probably the index table to the files and the obssum files is out of sync. It should still work. Let me run this myself and get back to you.
As for our clever tricks we have developed the software over 20 years with 15 years of previous heritage. Originally we needed to be able to run on 32 MB memories on laptops so there was an emphasis on just in time calculations. If we had started from Version 8 on I7 machines with 32GB memories it would have looked a bit simpler. We had to build the equivalent of list classes from pointers before there were IDL lists().
I'll see what happens on issue 1. Richard
On Wed, Jan 15, 2020 at 12:18 PM GillesDuvert notifications@github.com wrote:
Hi, hessi and ssw seem to make a point to use every possible tricks of idl, do not they? 😄
Well, at the moment even idl has a problem with the simple procedure above:
IDL> .compile ~/hsi_image_script_nondefault_params_clean_20020220_1104_8tx5e
% Compiled module: HSI_IMAGE_SCRIPT_NONDEFAULT_PARAMS_CLEAN_20020220_1104_8TX5E.
IDL> HSI_IMAGE_SCRIPT_NONDEFAULT_PARAMS_CLEAN_20020220_1104_8TX5E, obj=obj
% Compiled module: HSI_IMAGE.
(...)
% Compiled module: HSI_DETSEG2A2D.
IDL> data = obj->getdata()
% Compiled module: HSI_BPROJ_CART__DEFINE.
(...)
% Compiled module: N_DIMENSIONS.
** making vis for None 12.0000 to 25.0000 keV
% Compiled module: HSI_VIS_GEN.
(...)
% Compiled module: HSI_ASPECT_SOLUTION::NEED_UPDATE.
HSI_ASPECT_SOLUTION::PROCESS: Can't read aspect packets. File not found.
% Compiled module: FRAMEWORK_IS_OBJ_NESTED.
HSI_ASPECT_SOLUTION::GETDATA: Aborting
% HSI_VIS_GEN: Aborting
% Compiled module: HSI_VIS.
(...)
% Compiled module: MATCH_INTERVALS.
HSI_VISIBILITY::GETDATA: No vis corresponding to requested time: 20-Feb-2002 11:04:16.200 to 11:06:05.800
% Compiled module: SSW_STRSPLIT.
(...)
% Compiled module: FITS_EXTENSION__DEFINE.
PMTRAS_ANALYSIS: Using roll solution database.
% Compiled module: INTERPOL.
(...)
% Compiled module: STRPAD.
% SOCK_ERROR: Status code = 404. URL not found - http://soleil.i4ds.ch/hessidata/metadata/catalog/hsi_obssumm_20020220_154.fits
% HSI_QLOOK::GETDATA: File not found:
/home/gildas/DATA/RHESSI/hsi_obssumm_20020220_154.fits
% HSI_SPECTROGRAM::GET_OBS: Could not find observing summary data
% Compiled module: HSI_PACKET::GETIDPU.
% HSI_DECIMATION_ANOMALY: No Decimation before 19-mar-2002 05:58
% HSI_DECIMATION_ANOMALY: Rsetting Idpu_version to 0 for 2 packets
% Compiled module: HSI_EVL_STATE_FILTER_TIME.
% Compiled module: TIMSTR2EX.
% HSI_SPECTROGRAM::GET_OBS: Could not find observing summary data
% HSI_DECIMATION_ANOMALY: No Decimation before 19-mar-2002 05:58
% HSI_DECIMATION_ANOMALY: Rsetting Idpu_version to 0 for 2 packets
% Compiled module: HSI_DECIM_CORRECTION.
(...)
% Compiled module: SIGMA.
CLEAN: averaged correction: 0.79 standard deviation : 0.0043 sigma/average : 0.0055 Stop reason: neg maximum
% Compiled module: HSI_CLEAN_REGRESS_COMBINE_LIST.
(...)
% Compiled module: REGRESS.
HSI_CLEAN_REGRESS_COMBINE: Multiplier on component map determined by regressing expected vs observed counts.
HSI_CLEAN_REGRESS_COMBINE: Final image = 1.15579 component map + 1 residual map
% Compiled module: HSI_IMAGE_PROFILE_CSTAT.
(...)
% Compiled module: STR_FUZZY.
** making vis for 20-Feb-2002 11:04:16.200 to 11:06:05.800 6.00000 to 12.0000 keV
PMTRAS_ANALYSIS: Using roll solution database.
% SOCK_ERROR: Status code = 404. URL not found - http://soleil.i4ds.ch/hessidata/metadata/catalog/hsi_obssumm_20020220_154.fits
% HSI_QLOOK::GETDATA: File not found:
/home/gildas/DATA/RHESSI/hsi_obssumm_20020220_154.fits
% HSI_SPECTROGRAM::GET_OBS: Could not find observing summary data
% HSI_DECIMATION_ANOMALY: No Decimation before 19-mar-2002 05:58
% HSI_DECIMATION_ANOMALY: Rsetting Idpu_version to 0 for 2 packets
% HSI_SPECTROGRAM::GET_OBS: Could not find observing summary data
% HSI_DECIMATION_ANOMALY: No Decimation before 19-mar-2002 05:58
% HSI_DECIMATION_ANOMALY: Rsetting Idpu_version to 0 for 2 packets
% Compiled module: HSI_VISIBILITY_FIT.
% Compiled module: WC_WHERE_ARR.
** making vis for None 12.0000 to 25.0000 keV
HSI_ASPECT_SOLUTION::PROCESS: Can't read aspect packets. File not found.
HSI_ASPECT_SOLUTION::GETDATA: Aborting
% HSI_VIS_GEN: Aborting
HSI_VISIBILITY::GETDATA: No vis corresponding to requested time: 20-Feb-2002 11:04:16.200 to 11:06:05.800
^C% Interrupt encountered.
% Interrupted at: HSI_CART_BPROJ_STRUCT 105 /home/gildas/PACKAGES/ssw/hessi/idl/util/cart/hsi_cart_bproj_struct.pro
Ay idea?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gnudatalanguage/gdl/issues/425?email_source=notifications&email_token=ADMUMX7YL45V4RS6SXQ3XLLQ55AQDA5CNFSM4FKLRTGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJBC7LQ#issuecomment-574762926, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMUMXZF6R3B2ND2ZJJ5373Q55AQDANCNFSM4FKLRTGA .
Also, update your HESSI tree because the filedb will have been recently updated
On Wed, Jan 15, 2020 at 12:18 PM GillesDuvert notifications@github.com wrote:
Hi, hessi and ssw seem to make a point to use every possible tricks of idl, do not they? 😄
Well, at the moment even idl has a problem with the simple procedure above:
IDL> .compile ~/hsi_image_script_nondefault_params_clean_20020220_1104_8tx5e
% Compiled module: HSI_IMAGE_SCRIPT_NONDEFAULT_PARAMS_CLEAN_20020220_1104_8TX5E.
IDL> HSI_IMAGE_SCRIPT_NONDEFAULT_PARAMS_CLEAN_20020220_1104_8TX5E, obj=obj
% Compiled module: HSI_IMAGE.
(...)
% Compiled module: HSI_DETSEG2A2D.
IDL> data = obj->getdata()
% Compiled module: HSI_BPROJ_CART__DEFINE.
(...)
% Compiled module: N_DIMENSIONS.
** making vis for None 12.0000 to 25.0000 keV
% Compiled module: HSI_VIS_GEN.
(...)
% Compiled module: HSI_ASPECT_SOLUTION::NEED_UPDATE.
HSI_ASPECT_SOLUTION::PROCESS: Can't read aspect packets. File not found.
% Compiled module: FRAMEWORK_IS_OBJ_NESTED.
HSI_ASPECT_SOLUTION::GETDATA: Aborting
% HSI_VIS_GEN: Aborting
% Compiled module: HSI_VIS.
(...)
% Compiled module: MATCH_INTERVALS.
HSI_VISIBILITY::GETDATA: No vis corresponding to requested time: 20-Feb-2002 11:04:16.200 to 11:06:05.800
% Compiled module: SSW_STRSPLIT.
(...)
% Compiled module: FITS_EXTENSION__DEFINE.
PMTRAS_ANALYSIS: Using roll solution database.
% Compiled module: INTERPOL.
(...)
% Compiled module: STRPAD.
% SOCK_ERROR: Status code = 404. URL not found - http://soleil.i4ds.ch/hessidata/metadata/catalog/hsi_obssumm_20020220_154.fits
% HSI_QLOOK::GETDATA: File not found:
/home/gildas/DATA/RHESSI/hsi_obssumm_20020220_154.fits
% HSI_SPECTROGRAM::GET_OBS: Could not find observing summary data
% Compiled module: HSI_PACKET::GETIDPU.
% HSI_DECIMATION_ANOMALY: No Decimation before 19-mar-2002 05:58
% HSI_DECIMATION_ANOMALY: Rsetting Idpu_version to 0 for 2 packets
% Compiled module: HSI_EVL_STATE_FILTER_TIME.
% Compiled module: TIMSTR2EX.
% HSI_SPECTROGRAM::GET_OBS: Could not find observing summary data
% HSI_DECIMATION_ANOMALY: No Decimation before 19-mar-2002 05:58
% HSI_DECIMATION_ANOMALY: Rsetting Idpu_version to 0 for 2 packets
% Compiled module: HSI_DECIM_CORRECTION.
(...)
% Compiled module: SIGMA.
CLEAN: averaged correction: 0.79 standard deviation : 0.0043 sigma/average : 0.0055 Stop reason: neg maximum
% Compiled module: HSI_CLEAN_REGRESS_COMBINE_LIST.
(...)
% Compiled module: REGRESS.
HSI_CLEAN_REGRESS_COMBINE: Multiplier on component map determined by regressing expected vs observed counts.
HSI_CLEAN_REGRESS_COMBINE: Final image = 1.15579 component map + 1 residual map
% Compiled module: HSI_IMAGE_PROFILE_CSTAT.
(...)
% Compiled module: STR_FUZZY.
** making vis for 20-Feb-2002 11:04:16.200 to 11:06:05.800 6.00000 to 12.0000 keV
PMTRAS_ANALYSIS: Using roll solution database.
% SOCK_ERROR: Status code = 404. URL not found - http://soleil.i4ds.ch/hessidata/metadata/catalog/hsi_obssumm_20020220_154.fits
% HSI_QLOOK::GETDATA: File not found:
/home/gildas/DATA/RHESSI/hsi_obssumm_20020220_154.fits
% HSI_SPECTROGRAM::GET_OBS: Could not find observing summary data
% HSI_DECIMATION_ANOMALY: No Decimation before 19-mar-2002 05:58
% HSI_DECIMATION_ANOMALY: Rsetting Idpu_version to 0 for 2 packets
% HSI_SPECTROGRAM::GET_OBS: Could not find observing summary data
% HSI_DECIMATION_ANOMALY: No Decimation before 19-mar-2002 05:58
% HSI_DECIMATION_ANOMALY: Rsetting Idpu_version to 0 for 2 packets
% Compiled module: HSI_VISIBILITY_FIT.
% Compiled module: WC_WHERE_ARR.
** making vis for None 12.0000 to 25.0000 keV
HSI_ASPECT_SOLUTION::PROCESS: Can't read aspect packets. File not found.
HSI_ASPECT_SOLUTION::GETDATA: Aborting
% HSI_VIS_GEN: Aborting
HSI_VISIBILITY::GETDATA: No vis corresponding to requested time: 20-Feb-2002 11:04:16.200 to 11:06:05.800
^C% Interrupt encountered.
% Interrupted at: HSI_CART_BPROJ_STRUCT 105 /home/gildas/PACKAGES/ssw/hessi/idl/util/cart/hsi_cart_bproj_struct.pro
Ay idea?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gnudatalanguage/gdl/issues/425?email_source=notifications&email_token=ADMUMX7YL45V4RS6SXQ3XLLQ55AQDA5CNFSM4FKLRTGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJBC7LQ#issuecomment-574762926, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMUMXZF6R3B2ND2ZJJ5373Q55AQDANCNFSM4FKLRTGA .
I'm getting the aspect packets not found error. This is bizarre. For the archive production we are computing a signal to noise value that is using those aspect packets. Turn it off and this script should work.
obj->set, snr_chk = 0
Try that until I solve the other.
On Wed, Jan 15, 2020 at 12:18 PM GillesDuvert notifications@github.com wrote:
Hi, hessi and ssw seem to make a point to use every possible tricks of idl, do not they? 😄
Well, at the moment even idl has a problem with the simple procedure above:
IDL> .compile ~/hsi_image_script_nondefault_params_clean_20020220_1104_8tx5e
% Compiled module: HSI_IMAGE_SCRIPT_NONDEFAULT_PARAMS_CLEAN_20020220_1104_8TX5E.
IDL> HSI_IMAGE_SCRIPT_NONDEFAULT_PARAMS_CLEAN_20020220_1104_8TX5E, obj=obj
% Compiled module: HSI_IMAGE.
(...)
% Compiled module: HSI_DETSEG2A2D.
IDL> data = obj->getdata()
% Compiled module: HSI_BPROJ_CART__DEFINE.
(...)
% Compiled module: N_DIMENSIONS.
** making vis for None 12.0000 to 25.0000 keV
% Compiled module: HSI_VIS_GEN.
(...)
% Compiled module: HSI_ASPECT_SOLUTION::NEED_UPDATE.
HSI_ASPECT_SOLUTION::PROCESS: Can't read aspect packets. File not found.
% Compiled module: FRAMEWORK_IS_OBJ_NESTED.
HSI_ASPECT_SOLUTION::GETDATA: Aborting
% HSI_VIS_GEN: Aborting
% Compiled module: HSI_VIS.
(...)
% Compiled module: MATCH_INTERVALS.
HSI_VISIBILITY::GETDATA: No vis corresponding to requested time: 20-Feb-2002 11:04:16.200 to 11:06:05.800
% Compiled module: SSW_STRSPLIT.
(...)
% Compiled module: FITS_EXTENSION__DEFINE.
PMTRAS_ANALYSIS: Using roll solution database.
% Compiled module: INTERPOL.
(...)
% Compiled module: STRPAD.
% SOCK_ERROR: Status code = 404. URL not found - http://soleil.i4ds.ch/hessidata/metadata/catalog/hsi_obssumm_20020220_154.fits
% HSI_QLOOK::GETDATA: File not found:
/home/gildas/DATA/RHESSI/hsi_obssumm_20020220_154.fits
% HSI_SPECTROGRAM::GET_OBS: Could not find observing summary data
% Compiled module: HSI_PACKET::GETIDPU.
% HSI_DECIMATION_ANOMALY: No Decimation before 19-mar-2002 05:58
% HSI_DECIMATION_ANOMALY: Rsetting Idpu_version to 0 for 2 packets
% Compiled module: HSI_EVL_STATE_FILTER_TIME.
% Compiled module: TIMSTR2EX.
% HSI_SPECTROGRAM::GET_OBS: Could not find observing summary data
% HSI_DECIMATION_ANOMALY: No Decimation before 19-mar-2002 05:58
% HSI_DECIMATION_ANOMALY: Rsetting Idpu_version to 0 for 2 packets
% Compiled module: HSI_DECIM_CORRECTION.
(...)
% Compiled module: SIGMA.
CLEAN: averaged correction: 0.79 standard deviation : 0.0043 sigma/average : 0.0055 Stop reason: neg maximum
% Compiled module: HSI_CLEAN_REGRESS_COMBINE_LIST.
(...)
% Compiled module: REGRESS.
HSI_CLEAN_REGRESS_COMBINE: Multiplier on component map determined by regressing expected vs observed counts.
HSI_CLEAN_REGRESS_COMBINE: Final image = 1.15579 component map + 1 residual map
% Compiled module: HSI_IMAGE_PROFILE_CSTAT.
(...)
% Compiled module: STR_FUZZY.
** making vis for 20-Feb-2002 11:04:16.200 to 11:06:05.800 6.00000 to 12.0000 keV
PMTRAS_ANALYSIS: Using roll solution database.
% SOCK_ERROR: Status code = 404. URL not found - http://soleil.i4ds.ch/hessidata/metadata/catalog/hsi_obssumm_20020220_154.fits
% HSI_QLOOK::GETDATA: File not found:
/home/gildas/DATA/RHESSI/hsi_obssumm_20020220_154.fits
% HSI_SPECTROGRAM::GET_OBS: Could not find observing summary data
% HSI_DECIMATION_ANOMALY: No Decimation before 19-mar-2002 05:58
% HSI_DECIMATION_ANOMALY: Rsetting Idpu_version to 0 for 2 packets
% HSI_SPECTROGRAM::GET_OBS: Could not find observing summary data
% HSI_DECIMATION_ANOMALY: No Decimation before 19-mar-2002 05:58
% HSI_DECIMATION_ANOMALY: Rsetting Idpu_version to 0 for 2 packets
% Compiled module: HSI_VISIBILITY_FIT.
% Compiled module: WC_WHERE_ARR.
** making vis for None 12.0000 to 25.0000 keV
HSI_ASPECT_SOLUTION::PROCESS: Can't read aspect packets. File not found.
HSI_ASPECT_SOLUTION::GETDATA: Aborting
% HSI_VIS_GEN: Aborting
HSI_VISIBILITY::GETDATA: No vis corresponding to requested time: 20-Feb-2002 11:04:16.200 to 11:06:05.800
^C% Interrupt encountered.
% Interrupted at: HSI_CART_BPROJ_STRUCT 105 /home/gildas/PACKAGES/ssw/hessi/idl/util/cart/hsi_cart_bproj_struct.pro
Ay idea?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gnudatalanguage/gdl/issues/425?email_source=notifications&email_token=ADMUMX7YL45V4RS6SXQ3XLLQ55AQDA5CNFSM4FKLRTGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJBC7LQ#issuecomment-574762926, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMUMXZF6R3B2ND2ZJJ5373Q55AQDANCNFSM4FKLRTGA .
Hi Gilles, it was a bug introduced just in Dec of 2019. We'll have the fix in SSW and then I'll test the script by tomorrow. After that I'll give you the outcome so you can resume your test. But that script is not so simple and a successful test will be quite an accomplishment for GDL. I'd appreciate some indication of the time it takes to complete these scripts and the cpu being used. Thanks
In the meantime I got a look at the 'hessi" widget. The object cloning using 'save'/'restore' is testing GDL to the extreme. And a number of other little details. Anyway:
We have fixed the bug and uploaded the change to SSW. I've attached the module if you don't want to do a full update $SSW/hessi/idl/atest/hsi_image_alg__define.pro I'm testing the script in IDL right now and it appears to be working correctly.
On Thu, Jan 16, 2020 at 12:30 PM GillesDuvert notifications@github.com wrote:
In the meantime I got a look at the 'hessi" widget. The object cloning using 'save'/'restore' is testing GDL to the extreme. And a number of other little details. Anyway: [image: Screenshot_20200116_182744] https://user-images.githubusercontent.com/33936193/72548038-2aa21c00-388e-11ea-9f72-3dbcc701d856.png
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gnudatalanguage/gdl/issues/425?email_source=notifications&email_token=ADMUMX7UOVIISR3GCWTF3VTQ6CKSBA5CNFSM4FKLRTGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJE4H7Q#issuecomment-575259646, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMUMX6WUGSAXZCBMJPUQS3Q6CKSBANCNFSM4FKLRTGA .
when you run the script for CLEAN the last image is just blank and it throws up a warning blocking widget. It is only about the last image. My advice is to remove some of the time intervals (im_time_binning) because you only need a few to test GDL vs IDL. Thanks Richard
On Thu, Jan 16, 2020 at 12:30 PM GillesDuvert notifications@github.com wrote:
In the meantime I got a look at the 'hessi" widget. The object cloning using 'save'/'restore' is testing GDL to the extreme. And a number of other little details. Anyway: [image: Screenshot_20200116_182744] https://user-images.githubusercontent.com/33936193/72548038-2aa21c00-388e-11ea-9f72-3dbcc701d856.png
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gnudatalanguage/gdl/issues/425?email_source=notifications&email_token=ADMUMX7UOVIISR3GCWTF3VTQ6CKSBA5CNFSM4FKLRTGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJE4H7Q#issuecomment-575259646, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMUMX6WUGSAXZCBMJPUQS3Q6CKSBANCNFSM4FKLRTGA .
@rschwartz70 , I'm afraid doing IDL> ssw_upgrade
(even with IDL, not GDL) here is not sufficient.
Also, I do not see attached files to your messages ?
Thanks
Gilles
https://hesperia.gsfc.nasa.gov/ssw/hessi/idl/atest/hsi_image_alg__define.pro
Here's the latest method for updating SSW as they have stopped anonymous ftp https://stereo-ssc.nascom.nasa.gov/solarsoft_wget.shtml
Hi @rschwartz70 I've solved a number of bugs. Good news: It progresses as the CLEAN/hsi_image_script_nondefault_params_clean_20020220_1104_8tx5e.pro works now. Bad news, IDL takes 240s to run, GDL 1300... This is interesting as there are a number of reasons why GDL is slower. First C++ is not known for its speed. Second, the GDL interpeter may produce slower branching code. But as the pipeline is continuously testing file presence (e.g. it has tested that hsi_obssumm_20020220_154.fits was absent a thousand times) and other text manipulations we may also have a bottleneck here, in those ancillary routines.
Excellent. Is there profiling in GDL? We could look smaller elements to see if the time difference is in the arithmetic or the text or file handling. Have you enabled multi-threading?
Thanks
On Sun, Jan 19, 2020 at 6:40 PM GillesDuvert notifications@github.com wrote:
Hi @rschwartz70 https://github.com/rschwartz70 I've solved a number of bugs. Good news: It progresses as the CLEAN/ hsi_image_script_nondefault_params_clean_20020220_1104_8tx5e.pro works now. Bad news, IDL takes 240s to run, GDL 1300... This is interesting as there are a number of reasons why GDL is slower. First C++ is not known for its speed. Second, the GDL interpeter may produce slower branching code. But as the pipeline is continuously testing file presence (e.g. it has tested that hsi_obssumm_20020220_154.fits was absent a thousand times) and other text manipulations we may also have a bottleneck here, in those ancillary routines.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gnudatalanguage/gdl/issues/425?email_source=notifications&email_token=ADMUMX5FJO2YXH5NXIORZD3Q6TQF3A5CNFSM4FKLRTGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJK7ZMI#issuecomment-576060593, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMUMX66ZK7M2JPKKW3UGMTQ6TQF3ANCNFSM4FKLRTGA .
unfortunately, yes, multi-threading was activated. As the procedure are often in error recovery (since all the necessary files were not available, the clean gives zero images etc) we may have an issue there also, perhaps the event processing loop is too slow. It would be better to run a test script without any such events, I'll try other examples. Also, there is still "something" in SAVE that prevents saving the final object, I'll look into that now.
I'll prepare a test with a tar file that only requires SSW and includes all data files. It will produce some process time outputs so there will be some modified procedures to do that. I'll also have multiple image algorithms so we can have a comparison in that direction. Richard
On Mon, Jan 20, 2020 at 8:38 AM GillesDuvert notifications@github.com wrote:
unfortunately, yes, multi-threading was activated. As the procedure are often in error recovery (since all the necessary files were not available, the clean gives zero images etc) we may have an issue there also, perhaps the event processing loop is too slow. It would be better to run a test script without any such events, I'll try other examples. Also, there is still "something" in SAVE that prevents saving the final object, I'll look into that now.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gnudatalanguage/gdl/issues/425?email_source=notifications&email_token=ADMUMX3ATQMEVJDWYSMM7Q3Q6WSNNA5CNFSM4FKLRTGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJMU7OY#issuecomment-576278459, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMUMX2P5X4BCQOBCUVB6R3Q6WSNNANCNFSM4FKLRTGA .
Hi @rschwartz70 , in the meantime I've cured a now pretty list of bugs, especially in the save/restore of objects. Which is not yet complete, unfortunately. Data retrieval on the web is now possible, so a tar file with everything may not be necessary. Best
The imaging process goes through a series of data products. These can all be separated and evaluated for time in IDL and GDL. Would that be useful now? Richard
On Fri, Jan 31, 2020 at 11:39 AM GillesDuvert notifications@github.com wrote:
Hi @rschwartz70 https://github.com/rschwartz70 , in the meantime I've cured a now pretty list of bugs, especially in the save/restore of objects. Which is not yet complete, unfortunately. Data retrieval on the web is now possible, so a tar file with everything may not be necessary. Best
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gnudatalanguage/gdl/issues/425?email_source=notifications&email_token=ADMUMXYRVCEOUPH2WYL2ACLRARH4XA5CNFSM4FKLRTGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKPHMJI#issuecomment-580810277, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMUMX6UUKHHJWWUE4YBI3TRARH4XANCNFSM4FKLRTGA .
Yes, I guess so.
At the moment, using HSI_IMAGE_SCRIPT_NONDEFAULT_PARAMS_CLEAN_20020220_1104_8TX5E,obj=obj
data = obj->getdata()
returns data full of zeros.
the only error is that URL not found - http://soleil.i4ds.ch/hessidata/metadata/catalog/hsi_obssumm_20020220_154.fits
Going step by step and looking to intermediate results is now mandatory.
If you've updated within the past two days then try this: search_network, /gla ;for a server at univ glasgow
If you update today it should do that automatically If that doesn't solve it let me know. I've attached that file which you could put in HSI_DATA_ARCHIVE or HSI_DATA_USER Thanks Richard
On Fri, Jan 31, 2020 at 12:03 PM GillesDuvert notifications@github.com wrote:
Yes, I guess so. At the moment, using HSI_IMAGE_SCRIPT_NONDEFAULT_PARAMS_CLEAN_20020220_1104_8TX5E,obj=obj data = obj->getdata() returns data full of zeros. the only error is that URL not found - http://soleil.i4ds.ch/hessidata/metadata/catalog/hsi_obssumm_20020220_154.fits Going step by step and looking to intermediate results is now mandatory.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gnudatalanguage/gdl/issues/425?email_source=notifications&email_token=ADMUMXYDP7FD2VT7HWF2JDLRARKXDA5CNFSM4FKLRTGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKPJZZQ#issuecomment-580820198, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMUMX7UO4RF3S3ECFVLHY3RARKXDANCNFSM4FKLRTGA .
obtained with data->plotman,/choose and GDL
I'll submit at PR soon to get GDL on GitHub evolved to the current state of things on my laptop. Most probably many many other GDL problems will be found. For the record, here is a list of things that still need to be fixed to have GDL in a more stable state:
Keyword parameter FONT not supported in call to: DEVICE. Ignored.
Keyword parameter DEFAULT_FONT not supported in call to: WIDGET_CONTROL.
Keyword parameter WRAP not supported in call to: WIDGET_TEXT.
I don't think RHESSi objects work out of the box on save in IDL without doing some compiling. I know there were problems long ago. We rely on FITS files and .pro scripts to get us back to a useful state for RHESSI and OSPEX. Richard
On Wed, Feb 5, 2020 at 8:31 AM GillesDuvert notifications@github.com wrote:
[image: rhessi-plotman] https://user-images.githubusercontent.com/33936193/73841279-8e2ec200-481a-11ea-8136-a498ff357bc8.png
obtained with data->plotman,/choose and GDL
I'll submit at PR soon to get GDL on GitHub evolved to the current state of things on my laptop. Most probably many many other GDL problems will be found. For the record, here is a list of things that still need to be fixed to have GDL in a more stable state:
- SAVE and RESTORE have been much improved to be able to work with even complicated OBJects. But there are still side-effects, as I cannot yet 'save' the HSI_IMAGE object in a session, restore it in an other and continue working on it.
- !ERROR_STATE is not correctly set by GDL any time a problem occurs. Programs seem to rely on it for error recovery. Populating !ERROR_STATE at least grossly is mandatory.
- the IDLNetURL object has been rewritten, but uses curl command in a SPAWN subprocess. One should (it is easy) write IDLNetURL::Get and Set in C++ with libcurl. (libcurl will be added to the list of GDL dependencies).
- Basic objects such as IDL_CONTAINER should be written inside GDL, not mimicked in .pro files.
- Plotman seems to "work", but HESSI fails on plotting GOES data.
- WIDGETS should be updated to avoid the following warnings:
Keyword parameter FONT not supported in call to: DEVICE. Ignored. Keyword parameter DEFAULT_FONT not supported in call to: WIDGET_CONTROL. Keyword parameter WRAP not supported in call to: WIDGET_TEXT.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gnudatalanguage/gdl/issues/425?email_source=notifications&email_token=ADMUMXZE5RXIA3GG333KGL3RBK5UHA5CNFSM4FKLRTGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK3NQ3A#issuecomment-582408300, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMUMXYN6DGDBZ3ZX3BQEC3RBK5UHANCNFSM4FKLRTGA .
Hello everyone! I have an issue with hessi, so I decided to report it here due to the discussion above. I installed gdl-1.0.2. The configuration is as follows
GDL - GNU DATA LANGUAGE [Standalone]
System Linux-5.19.0-32-generic
Files generated Unix Makefiles
Installation prefix /home/bulat/gdl/install
C++ compiler /usr/bin/c++ -O3 -DNDEBUG
-- Options
Interactive plots: ON
Widgets support: TRUE
OpenMP support ON (flag: -fopenmp)
WxWidgets ON (libs:-L/usr/lib/x86_64-linux-gnu;-pthread;;;-lwx_baseu-3.0;-lwx_gtk3u_core-3.0;-lwx_gtk3u_adv-3.0; headers:/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0;/usr/include/wx-3.0)
GRAPHICSMAGICK ON (libs:/usr/lib/libGraphicsMagick.so;/usr/lib/libGraphicsMagick++.so; headers:/usr/include/GraphicsMagick)
TIFF ON (libs:/usr/lib/x86_64-linux-gnu/libtiff.so; headers:/usr/include/x86_64-linux-gnu)
GeoTIFF ON (libs:/usr/lib/x86_64-linux-gnu/libgeotiff.so; headers:/usr/include/geotiff)
NetCDF ON (libs:netcdf; headers:/usr/include/hdf5/serial)
HDF4 ON (libs:/usr/lib/libmfhdfalt.so;/usr/lib/libdfalt.so;z;/usr/lib/x86_64-linux-gnu/libjpeg.so; headers:/usr/include/hdf)
HDF5 ON (libs:/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so;/usr/lib/x86_64-linux-gnu/libcrypto.so;/usr/lib/x86_64-linux-gnu/libcurl.so;/usr/lib/x86_64-linux-gnu/libpthread.a;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.a;/usr/lib/x86_64-linux-gnu/libm.so; headers:/usr/include/hdf5/serial)
FFTW ON (libs:/usr/lib/x86_64-linux-gnu/libfftw3.so;/usr/lib/x86_64-linux-gnu/libfftw3f.so; headers:/usr/include)
MPI OFF
PROJ ON (libs:/usr/lib/x86_64-linux-gnu/libproj.so; headers:/usr/include)
Python OFF
UDUNITS-2 ON (libs:/usr/lib/x86_64-linux-gnu/libudunits2.so; headers:/usr/include)
EIGEN3 ON (libs:; headers:/home/bulat/lib/eigen-3.4.0)
GRIB ON (libs:/usr/lib/x86_64-linux-gnu/libeccodes.so; headers:/usr/include/x86_64-linux-gnu)
QHULL ON (libs:/usr/lib/x86_64-linux-gnu/libqhullcpp.so;/usr/lib/x86_64-linux-gnu/libqhullstatic_r.a; headers:/usr/include)
GLPK ON (libs:/usr/lib/x86_64-linux-gnu/libglpk.so; headers:/usr/include)
SHAPELIB ON (libs:/usr/lib/x86_64-linux-gnu/libshp.so; headers:/usr/include)
EXPAT ON (libs:/usr/lib/x86_64-linux-gnu/libexpat.so; headers:/usr/include)
Xlib OFF
libpng ON (libs:/usr/lib/x86_64-linux-gnu/libpng.so;/usr/lib/x86_64-linux-gnu/libz.so; headers:/usr/include;/usr/include)
-- Mandatory modules
Plplot ON (libs:/home/bulat/lib/plplot-5.15.0/build/lib/libplplot.so;/home/bulat/lib/plplot-5.15.0/build/lib/libplplotcxx.so; headers:/home/bulat/lib/plplot-5.15.0/build/include)
GNU Readline ON (libs:/usr/lib/x86_64-linux-gnu/libreadline.so;/usr/lib/x86_64-linux-gnu/libhistory.so; headers:/usr/include)
GSL ON (libs:/usr/lib/x86_64-linux-gnu/libgsl.so;/usr/lib/x86_64-linux-gnu/libgslcblas.so; headers:/usr/include)
Zlib ON (libs:/usr/lib/x86_64-linux-gnu/libz.so; headers:/usr/include)
(N)curses ON (libs:/usr/lib/x86_64-linux-gnu/libncurses.so;/usr/lib/x86_64-linux-gnu/libform.so; headers:/usr/include)
RPC ON (libs:/usr/lib/x86_64-linux-gnu/libtirpc.so; headers:/usr/include/tirpc)
GDLDEV mode: OFF (use -DGDLDEV=ON to enable work-in-progress tests)
==========================================================================
== WARNING !! {Ana|mini|}conda activated env. detected ! ==
== To avoid possible conflicts between local libs. and the sytem libs, ==
== we advice you to remove Conda related paths from you $PATH ==
== or run this CMake file in a clean terminal without Conda Env. ==
==========================================================================
-- Configuring done
-- Generating done
-- Build files have been written to: /home/bulat/gdl/build
One test failed
The following tests did not run:
131 - test_mpi.pro (Skipped)
150 - test_python.pro (Skipped)
The following tests FAILED:
103 - test_hdf5.pro (Failed)
I installed SolarSoftware and ran hessi
. I got an error:
Compiled module: LINECOLORS.
% INTERPOLATE: Number of parameters must agree with dimensions of argument.
% Error occurred at: CONGRID 128 /home/bulat/gdl/install/share/gnudatalanguage/lib/congrid.pro
% LINECOLORS 283 /home/bulat/ssw/gen/idl/display/linecolors.pro
% HESSI_SPLASH 24 /home/bulat/ssw/hessi/idl/widgets/hessi_splash.pro
% HESSI 760 /home/bulat/ssw/hessi/idl/widgets/hessi.pro
% $MAIN$
% Execution halted at: LINECOLORS 283 /home/bulat/ssw/gen/idl/display/linecolors.pro
When I run o=ospex()
which also starts a widget, I get the same error. What can it be?
The test script provided by Richard failed, too, but the error comes from ssw code, so I'm not sure it is because of gdl.
https://www.harrisgeospatial.com/docs/BREAKPOINT.html