X
Search this forum:
Search
You are not authorized to create a new topic
Page 10 of 126 << < 89101112 > >>
Topics
 Replies
 Views
 Last Post
0 Replies and 17247 Views How to Call Fortran module using CALL_EXTERNAL  17247  0 Started by  Deleted User Question: A users asked how to call a Fortran module using IDL's CALL_EXTERNAL routine Answer: Write a subroutine wrapper within Fortran of the form 'subroutine name(argc,argv)' that calls the module. Then use IDL's CALL_EXTERAL routine to call the subroutine. IDL CALL_EXTERNAL -> Fortran subroutine wrapper -> Fortran module David -HGS
0 17247
24 Jul 2018 04:13 PM
1 Replies and 1703 Views digital_filter nterms  1703  1 Started by  Deleted User Hi! Could someone tell me how to define Nterms in the function digital_filter Is it a function of the sample frequency, or of the total number of samples in the signal, or is it completely arbitrary Thanks! Wouter
1 1703
by  Deleted UserJump to last post
24 Jul 2018 02:43 PM
1 Replies and 2862 Views IDL 8,4 on a windows 64bit machine cannot see ImageMagick-7.0.7-Q8  2862  1 Started by  Deleted User I am using a Windows 10 64bit machine running IDL8.4 which has installed on it the latest version of ImageMagick-7.0.7-Q8. I cannot make IDL see that I have ImageMagick on my machine, even though I checked the Path, in Environment Variables of the machine, and ImageMagick-7.0.7-Q8 is there. The spawn command works fine from the IDL command line &91;I asked it to do something else.&93; When using a cmd window ImageMagick also works. It is just that the two cannot work together. I have full adm...
1 2862
by  Deleted UserJump to last post
16 Jul 2018 08:51 AM
2 Replies and 2821 Views Compiling a list of IDL-ENVI codes in another folder  2821  2 Started by  Deleted User Dear all, I have a list of IDL .pro codes and I would like to compile all of them. Is there any routing in idl that can handel it in order to avid one by one compiling Thanks in advance, ART
2 2821
by  Deleted UserJump to last post
12 Jul 2018 04:09 PM
2 Replies and 2068 Views IDLDE Fails to start  2068  2 Started by  Deleted User IDLDE fails to start on RedHat Linux x86_64 idlde (eclipse) can't seem to find it's jar files although they exist and the config.ini is set up properly. I tried setting the CLASSPATH but it didn't help. Any thoughts The error log contains: !SESSION Thu Jun 28 16:52:16 UTC 2018 ------------------------------------------ !ENTRY org.eclipse.equinox.launcher 4 0 2018-06-28 16:52:16.513 !MESSAGE Could not find extension: reference:file:org.eclipse.osgi.services.nl_de_3.5.0.v20111128114305.j...
2 2068
by  Deleted UserJump to last post
03 Jul 2018 09:02 AM
0 Replies and 2074 Views extension of IDL_VALIDNAME  2074  0 Started by  Deleted User Hello All, I found myself needing to be able to identify exactly which character in a string was not valid. IDL_VALIDNAME just returns a null string with no feedback as to where. I hope the routine below is useful to everyone! Ronn Kling www.rlkling.com pro test, newTagSet if n_params() eq 0 then newTagSet = 'var-72' newTagSet = krs_validname(newTagSet, badList) if n_elements(badList) ne 0 then begin void = dialog_message(/error, &91;'Tags must not have these charac...
0 2074
30 Jun 2018 05:29 AM
3 Replies and 1973 Views contour version 8.7  1973  3 Started by  Deleted User I am having trouble contouring a 2D mapped lat lon variable&91; 320,152&93; in version 8.7. When I apply the ,/FILL option the contours are all given a single color despite defining my levels (LEVS1 = 400-(findgen(41)*20)). I noticed in the Harris updates that there is a contour bug in IDL version 8.7, but details are sparse. Can anyone elaborate on what the bug details are and if they would affect my contouring commands where I specify c_values for a filled contour Unfortunately, I can't ge...
3 1973
by  Deleted UserJump to last post
29 Jun 2018 03:13 PM
1 Replies and 2511 Views TRIQL and LA_TRIQL, order of results?  2511  1 Started by  Deleted User Apparently TRIQL and LA_TRIQL do different ordering of the resulting eigenvalues. Of course, this was hidden at the very bottom of my code causing a cascade of strange numbers and hours of debugging. If someone has insight into these routines, it would be important to know how each of them orders the results. First example (same order of eigenvalues (d4 elements) returned by both, just reversed - TRIQL in the decreasing order, LA_TRIQL increasing): d4 = &91;-0.013922532, -0.01875391...
1 2511
by  Deleted UserJump to last post
11 Jun 2018 09:43 AM
7 Replies and 3991 Views New graphics: plot titles and tick names disappear  3991  7 Started by  Deleted User I am currently using IDL 8.5.1 (experienced the same issue with 8.4 and 8.5.0) on Windows 10 machine (x64). The code I used follows (which is on https://www.harrisgeospatial.com/docs..., except a bit of modification since BARPLOT does not have DATA keyword) x = FINDGEN(41)/10 - 2 gauss = EXP(-x^2) p = BARPLOT(x, gauss, $ TITLE='Gaussian Distribution',$ YRANGE=&910,1.1&93) On the graphic window, the plot does not show any kind of defect. However, whenever I try to export it into ot...
7 3991
by  Deleted UserJump to last post
03 Jun 2018 11:46 PM
0 Replies and 3965 Views http://www.harrisgeospatial.com/docs/TETRA_VOLUME.html  3965  0 Started by  Deleted User Question: A user has asked us how to compute the volume of a 3D set of polygons. Possible Solution: I think that MESH_VOLUME and the TETRA_VOLUME should be able to help achieve this goal: http://www.harrisgeospatial.com/docs/MESH_VOLUME.html http://www.harrisgeospatial.com/docs/TETRA_VOLUME.html David S. -HGS
0 3965
11 May 2018 10:31 AM
0 Replies and 2909 Views How to speed up IDL on slower and older laptops  2909  0 Started by  Deleted User Speeding up IDL on slower laptops: I had a customer come in requesting suggestions to speed up IDL on an old laptop which may not have the most RAM or processing power. Some suggestions technical support has for these situations are the following: 1. Check the rendering method for object graphics in IDL Preferences. From the IDLDE menu bar, via Window > Preferences, select IDL > Graphics. Make sure the Hardware option is checked for the 'Rendering Method for object graphics' selectio...
0 2909
04 May 2018 02:33 PM
1 Replies and 2654 Views How to ignore the NaN values in ENVI_SVM_DOIT  2654  1 Started by  Deleted User Hello, I am using ENVI_SVM_DOIT want to ignore some region while using ENVI SVM classifier(or ENVI_SVM_DOIT), so I set the values of these pixels to NaN. But it didn't work, the SVM classifier still classified those pixels. Would it possible to ignore some region in this classifier Any help would be nice, thank you very much. ==== Well I think I have figured it out. Thank you all the same.
1 2654
by  Deleted UserJump to last post
22 Mar 2018 12:15 AM
0 Replies and 3357 Views How to write structure to file with printf without carriage returns  3357  0 Started by  Deleted User Question: A user has asked us how to write data from a structure to a file using printf. without carriage returns being added to the middle of a record. Answer: If you run the following commands, it print the structure to a file with carriage returns: IDL> A = {star, name:'Hello There!', ra:2.0, dec:3.0, inten:FLTARR(12)4.0} IDL> openw, 1, 'test_struct_output.txt' IDL> printf, 1, A IDL> free_lun, 1 On way to workaround this issue is to use the FORMAT keyword to specif...
0 3357
15 Mar 2018 12:28 PM
0 Replies and 2549 Views Registration to a standard raster  2549  0 Started by  Deleted User Hi all, I’ve written an IDL script to reproject and “snap”, or register at the pixel level, imagery to a standard raster. The standard raster is much larger in extent than a Landsat image, and when I use ENVIGridDefinition::Intersection to compute the intersection, the output is always registered to the smaller of the two inputs, though the output extent is essentially correct (it is offset by a sub-pixel distance). Is there a way to force registration to the larger input Thank you, Matt Ver...
0 2549
13 Mar 2018 06:24 PM
2 Replies and 3472 Views One-item array and scalar  3472  2 Started by  Deleted User Hi, this is probably a naive question, but I can't find the solution. A simple example is the easiest way to present the issue. IDL> v1=&91;1,2,3,4,5&93; IDL> v2=&91;10,20,30,40,50&93; IDL> match=where(v1 eq 2) IDL> help, v2&91;match&93; <Expression> INT = Array&91;1&93; IDL> match2=v2&91;where(v1 eq 2)&93; IDL> help, match2&91;0&93; <Expression> INT = 20 The problem is that v2&91;match&93; is, as expected, an a...
2 3472
by  Deleted UserJump to last post
09 Mar 2018 01:16 AM
2 Replies and 2799 Views dlm-dll combination that did work, now does not.  2799  2 Started by  Deleted User I built a dlm-dll combination. I actually built two such combinations. The one that had the interesting stuff I wanted to do and testmodule which is the sample found in the documentation that uses testfun and testpro. Everything worked. Two months later I bring it out of version control to insert it into a new branch. Since then I have altered some of the support code (new cuda version)that the dll uses. I recompile and place the dlm-dll where they should go and....it doesn't work. Error loa...
2 2799
by  Deleted UserJump to last post
08 Mar 2018 04:47 PM
1 Replies and 2298 Views IDL 8.5 and github  2298  1 Started by  Deleted User Hello Everyone, I want save people some time if they use 8.5 and github. As of today it is not possible to commit or pull with that version. Going to 8.6 works fine. I've tracked it down to the Eclipse version in 8.5 uses an outdated sslVersion. I've tried everything I can think of to make it work, but no luck. If anyone has had success making this work with 8.5 can they post it to the news group Ronn Kling
1 2298
by  Deleted UserJump to last post
05 Mar 2018 04:28 AM
3 Replies and 4218 Views OSX High Sierra IDL 8.5.1: error Keyword parameters not allowed in call.  4218  3 Started by  Deleted User Hello, I recently got a new machine which had OSX 10.13 (High Sierra) preinstalled, and my university installed IDL 8.5.1. I proceeded to try to run some code which has worked fine on other machines running IDL 8.3 and 8.6. I get this error: Keyword parameters not allowed in call. (it points to the following line, though as I show below, I don't think anything is wrong with this syntax): if finite(lnp&91;i&93;) then lnp&91;i&93;=call_function(lfunc,x&91;*,i&93;,_EXTRA=_ex...
3 4218
by  Deleted UserJump to last post
27 Feb 2018 02:09 PM
2 Replies and 2892 Views Read coordinate data of .mat file in IDL  2892  2 Started by  Deleted User Hello everyone, i am still a beginner in IDL. I need your help. I want to open lat and lon data in .mat format, whether it can be done in IDL or should I convert to another format Previously I found link related to this issue in the forum, http://www.harrisgeospatial.com/Support/Forums/tabid/2342/aft/368/Default.aspx but I do not understand how it works.
2 2892
by  Deleted UserJump to last post
05 Feb 2018 02:36 AM
2 Replies and 2916 Views Creating lossless video output  2916  2 Started by  Deleted User I am trying to create a lossless MPEG-4 video from a sequence of PNG files. The basic code looks like this ni = 1540 nj = 300 fps = 6 infile = FILE_SEARCH(indir, '*.png', COUNT = nframes) video = IDLffVideoWrite('test.mp4') stream = video.AddVideoStream(ni, nj, fps, PRESET = 'normal') FOR s = 0, nframes-1 DO BEGIN image = READ_PNG(infile&91;s&93;) time = video.Put(stream, image) ENDFOR video = 0 If I understand the documentation for IDLffVideoWrite correctly, PRESET = 'no...
2 2916
by  Deleted UserJump to last post
02 Feb 2018 12:24 PM
You are not authorized to create a new topic
Page 10 of 126 << < 89101112 > >>