-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implement BREAKPOINT #425
Comments
Posting here the recent message from SF.net discussion by cosmicbruce:
|
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 😱 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, |
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. |
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 ***@***.***> 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
<#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 |
ftp://ftp.astro.gla.ac.uk/2002/02/20/hsi_20020220_104040_006.fits |
of course it fails now on IDLNETURL that is not in GDL.
|
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 ***@***.***> wrote:
of course it fails now on IDLNETURL that is not in GDL.
***@***.*** ~]$ sswidl
--------------------------------------------------------
Running SSW, Last Updated: Wed Nov 2 22:22:51 GMT 2005
PROBLEMS? - e-mail TO: ***@***.***
--------------------------------------------------------
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$
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#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> cbe = im->getdata(class='hsi_calib_eventlist')
and
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
Which goes back to the bug seen before. |
You are making progress.
Thanks
…On Mon, Jan 6, 2020 at 12:03 PM GillesDuvert ***@***.***> 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_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$
- 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
<#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 😄 |
see #699 |
needs however to compile IDL's interpol.pro as GDL's do not support the QUADRATIC option.
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 ***@***.***> 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
<#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 ***@***.***> 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
<#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
|
Hello everyone! I have an issue with hessi, so I decided to report it here due to the discussion above.
One test failed
I installed SolarSoftware and ran
When I run |
Hi, I have some difficulties to restart hessi from the state iI left it in 2020. My, time passes. |
I confirm, running o=ospex() here produces the same error. |
congrats, you found a bug. (for GDL developers: GDL has a problem with 'shallow' dimensions (dimension that ==1). |
Will be solved. In the meantime pls patch GDL's congrid.pro procedure using the patch below:
|
You'll probably find next that the ospex widget(s) need maybe to be resized at hand. |
@jeget We are interested in having a contact with the hessi / ssw IDL people, as this sswidl is a full-scale test of GDL. If @rschwartz70 read this please comment.
|
Gilles, thanks for such a quick response! I introduced the patches to
Normally, after that the plot appears in the hessi widget, but it is empty. When I try to resize the widget with the mouse, it does not with the message
I changed the path in the startup file. Since standard functions are compiled, I suppose I did it correctly:) Thanks for this comment, too. |
Oh God... I just found out that Richard Schwartz @rschwartz70 passed away in December 2020. |
Oh what a pity, please pass my sincere condolences. Indeed, plottings are absent --- they were present, as seen above, on Feb 5,2020 |
@jeget concerning the absence of plots, GDL has indeed a bug, to be cured soon. |
plotting problems of plotman object in sswidl are solved by #1532 |
BTW, not so easy to ... implement BREAKPOINT |
@GillesDuvert Thank you, I introduced these patches. Now plots appear. I continued experimenting. New issues are as follows.
I already encountered this error when attempting to cope with previous issues. I added Also, when I try to zoom in the plot by click-and-drag, I get
with new lines Regarding SSW people, my colleague said the head developer is Samuel Freeland, his email is in the bottom of SSW page. |
Hi, thanks for all that information. |
OK, that's good news, thanks! |
OK, now there are no errors for ospex() or the test above, using out-of-the-box sswidl (giving the GDL !PATH at start of course:) |
I would appreciate somebody at ease with hessi to at least hint why obe.count is systematically zero, which is the reason why GDL does not plot anything. the test code is:
(*obe[3]).count should be 2.65722 at the bare minimum: what is the procedure where this count is computed ? |
Strange, but I can only run the first line of the test. The second one brings an error
I remember this error also occurred when I just installed GDL and ran Richard's test. I think the size of I couldn't find where exactly the data appear, but I found a trace. In the line 462 of
Maybe this helps... |
2.65722 first appears in OUT at:
|
Wows, thanks everybody. I used stop and .step but it is not simple at all (especially if, as I suspect, there is something fishy with the (recent) dot-commands .STEP , .RET when objects are involved.) I remember this issue was initially for implementing BREAKPOINT, and indeed this is THE case it would help... |
for the record, SSW software, including RHESSI, is apparently working with GDL. Please use the discussion #1659 |
https://www.harrisgeospatial.com/docs/BREAKPOINT.html
The text was updated successfully, but these errors were encountered: