X
Search this forum:
Search
You are not authorized to create a new topic
Page 29 of 126 << < 2728293031 > >>
Topics
 Replies
 Views
 Last Post
1 Replies and 2158 Views how can i get parent process pid(IDLs way) on windows  2158  1 Started by  Deleted User hi how can i get parent process pid on windows for example in windows cmd wmic process get processid, parentprocessi in IDL spawn, 'wmic process get processid, parentprocessid', result but this is not working is there another way thanks
1 2158
12 Mar 2015 07:32 AM
2 Replies and 3020 Views Attempt to call undefined procedure/function: &39;ENVI_PROJ_CREATE&39;  3020  2 Started by  Deleted User I've run into a problem when calling ENVI_PROJ_CREATE from and IDL procedure. I use ENVI5.1 IDL8.3 and never run IDL code before. Here is the code: pro test_batch_modis_conversion_l2_swath compile_opt idl2 modis_swath_file = 'C:\MCTK_Input\MYD04_3K.A2002247.0300.006.2014195232718' ;The specified output location MUST end in the appropriate path ;separator for your OS output_location = 'E:\Downloads\Aerosol retrieval' output_rootname = 'test' swath_name = 'mo...
2 3020
12 Mar 2015 02:18 AM
2 Replies and 1854 Views Gaussian Distribution with Specified Mean and Sigma  1854  2 Started by  Deleted User Hello, I have to simulate a sensor response, which has spectral response functions of Gaussian from 380 to 2510 nm with 10 nm sampling and 12 nm FWHM. sigma = FWHM / 2.35 mean = 0 array = RANDOMN(seed, 60) ; it is 60, assuming 30th band is the center band. new_distribution = array * sigma mean However, the generated numbers are not what I expected, ranging from -5 to 5. I was expecting a set of numbers ranging between 0 and 1, center band has the highest value 1, FWHM of the bell curve ...
2 1854
10 Mar 2015 10:39 AM
1 Replies and 1706 Views Compiling Another Program from Within IDL  1706  1 Started by  Deleted User Hi all, I am creating a program to automate some processes that are dependent on certain libraries of different pro files. Is there a way I can have one program compile another as part of its procedure Thanks!
1 1706
09 Mar 2015 06:29 PM
2 Replies and 2416 Views Hardware Random Number Generator  2416  2 Started by  Deleted User Hello-- I've recently purchased and set up a hardware random number generator (the TrueRNG2 from ubld.it) which generates random numbers for the entropy pool on a linux machine. The random number functions in IDL (e.g. randomu(seed)) can only generate pseudo-random numbers from IDL's hard-coded algorithm, correct How can I have IDL (i.e. what function should I use to) construct random numbers from the computer's entropy pool or even from pre-existing random number generators built into lin...
2 2416
09 Mar 2015 02:49 PM
2 Replies and 1952 Views error: Variable is undefined: STDDEV.  1952  2 Started by  Deleted User Running zzyzx=&911, 2, 3&93 print, stddev(zzyzx) Gives error: Variable is undefined: STDDEV.
2 1952
06 Mar 2015 03:38 PM
1 Replies and 1772 Views histogram question  1772  1 Started by  Deleted User hi here is a example code data = &910, 0.3, 1.3d&93 h1 = HISTOGRAM(data, nbin=3, min=0, max=1, loc=loc1) h2 = HISTOGRAM(data, binsize=0.5d, min=0, max=1, loc=loc2) print, h1 print, h2 h1 = 2 0 1 h2 = 2 0 0 h1 and h2 is not equal!! is it correct thanks
1 1772
06 Mar 2015 08:01 AM
1 Replies and 1704 Views Locking graphics in Gui  1704  1 Started by  Deleted User Hello, I created a fancy GUI for a project and showed my 10 year old son it. He is interesting in programming and I wanted show off the sorts of things you can make. Anyway, within about three seconds he can screwed up all the graphics with in the Gui. My question is, is there a way to lock graphics in a GUi I am using window_widgets with either a map() graphic or image () graphics. I still need the user to be able to click on the map so I can get points from the user clicks, but I don'...
1 1704
05 Mar 2015 09:39 AM
1 Replies and 1747 Views FILE_UNTAR with /LIST option  1747  1 Started by  Deleted User Hello, I am trying to use the FILE_UNTAR command on a tar.gz file with the /LIST option, in order to obtain the list of directories and files within the tar.gz file without untarring it. I have tried the following syntax FILE_UNTAR, tar_file, FILES = file_list, /LIST where tar_file is the .tar.gz file I would like to inspect and file_list is the variable where I would like to store the list of files in the .tar.gz file. However, I get the following error message FILE_UNTAR: FILE_BASENAME: String...
1 1747
05 Mar 2015 06:54 AM
1 Replies and 1782 Views License Manager error in IDL  1782  1 Started by  Deleted User Hi I have IDL 8.1. I have some problems with License Manager. In order to run the IDL, first I have to run ./lmgrd (~/Applications/itt/idl/idl81/bin/lmgrd). Then I can run the IDL. But it goes disconnected randomly (sometime after 30 minutes sometimes after shorter time). This is the error that I get: (idl_lmgrd) Lost communications with lmgrd. (idl_lmgrd) EXITING DUE TO SIGNAL 37 Exit reason 5 LICENSE MANAGER: No server response after 3 attempts (3:0 minutes). Does anybody know how to fix ...
1 1782
04 Mar 2015 10:50 AM
2 Replies and 2014 Views Creating variables/structures with a foreach loop  2014  2 Started by  Deleted User Hello,I want to create variable names (that I want to use later in the program) through a foreach loop. I want the variable names: dist100, dist200, dist300 etc. and assign an array to those (e.g. &9199, 99&93). Then I want to use those variables later on to do some further calculations, so I want to be able to e.g. add values to them to make them &9199, 99, 34, 56, 87, 32&93 etc. Is there a simple way doing thisI also tried creating structures this way (see below):distarray = &91100, 200,...
2 2014
03 Mar 2015 12:03 PM
1 Replies and 2568 Views How do I make the colorbar axis log scale?  2568  1 Started by  Deleted User How can I make the axis in colorbar a log scale
1 2568
02 Mar 2015 04:37 PM
1 Replies and 1543 Views how to access read_tiff and read_jpeg  1543  1 Started by  Deleted User Hello, I currently use an IDL 8.3 license. I need to read in an image in TIFF or JPEG format using IDL. I tried using read_tiff or read_jpeg tasks in IDL. Looking at the IDL reference on exelisvis website, it seems like these procedures should be available with IDL 8.3 license. However, it seems like the corresponding procedures do not exist in my IDL library, because I cannot compile the files: IDL> .compile read_tiff Error opening file. File: read_tiff IDL> .compile read_jpeg ...
1 1543
27 Feb 2015 12:49 PM
2 Replies and 4975 Views Error opening file: OPENW  4975  2 Started by  Deleted User Hi folks, I'm attempting to run the LandTrendr model in IDL, and have hit a snag. I have virtually no IDL experience, but was told that since the code is already written and has been tested, I should have very few hiccups. I've made it through a good number of modules, but have hit a breaking point. I don't know if there is enough background provided here for any of you to help my get past this error, but any help you may be able to provide would be greatly appreciated. Cheers. This is the error...
2 4975
26 Feb 2015 01:46 PM
1 Replies and 1944 Views Error running IDL 8.1 after upgrade to Mac OSX 10.10 (Yosemite)  1944  1 Started by  Deleted User Question: I recently upgraded my operating system on my computer to Mac OSX Yosemite, and when I try to run IDL I get the following error: dyld: Library not loaded: /usr/X11/lib/libXp.6.dylib Referenced from: /Applications/itt/idl/idl81/bin/bin.darwin.x86_64/libidl.8.1.dylib Reason: image not found
1 1944
25 Feb 2015 09:17 AM
0 Replies and 2980 Views libGL error: failed to load driver: swrast  2980  0 Started by  MariM I am logging into a remote Mac OSX system that is headless and I get the following error when I create a plot. What is the cause of the error IDL> PLOT, D, D, /POLAR, TITLE = 'Polar Plot' Loaded DLM: XML. libGL error: failed to load driver: swrast Answer: IDL is trying to use load graphics device and fails in this case because no graphics device is available. If no graphics device is available, or if the device is not working properly due to driver incompatibility, then you can set IDL to...
0 2980
25 Feb 2015 07:50 AM
0 Replies and 1936 Views IDL&39;s widget_tree is flickering  1936  0 Started by  MariM I have an application that uses a widget_tree that has many branches (folders). When the widget_tree is being built, it causes a lot of flickering as it updates. Is there a way to stop or delay the display until it is built so that it does not flicker Answer: Yes, you can use the UPDATE keyword to WIDGET_CONTROL: http://www.exelisvis.com/docs/widget_... You can disable on-screen widget updates (e.g.: WIDGET_CONTROL, id, UPDATE=0) and then re-enable updates (...UPDATE=1) after making a changes...
0 1936
24 Feb 2015 02:13 PM
1 Replies and 1695 Views Negative correlation taylor diagram  1695  1 Started by  Deleted User Hello, I am working on the model's run performance evaluation, in this regard I want to plot a taylor diagram. I am using cgtaylordiagram, but this code generate only positive correlations on plot as my data have some negative correlations as well with respect to the observed dataset. Further more I need some guidance regarding the RMS corporation in taylor diagram. Kindly provide me a code or a specified method so that I can plot negative correlation as well in the diagram. Regards Ali asmat De...
1 1695
19 Feb 2015 06:11 AM
0 Replies and 1673 Views Correct usage of IDL "CDF_TT2000" routine  1673  0 Started by  Deleted User QUESTION: Why does the IDL "CDF_TT2000" routine produce an incorrect result in this case: IDL> cdf_tt2000,x1,2012,1,1,11,/c IDL> cdf_tt2000,x2,2012,1,1,12,/c IDL> print,(x2-x1)/1d9 86400.000 --but produces the correct result as follows IDL> cdf_tt2000,x1,2012,1,1,11,0,/c IDL> cdf_tt2000,x2,2012,1,1,12,0,/c IDL> print,(x2-x1)/1d9 3600.0000 ANSWER: The IDL Help page for the "CDF_TT2000" specifies a usage syntax of: CDF_TT2000, Epoch, Year, Month, ...
0 1673
18 Feb 2015 06:39 PM
2 Replies and 1263 Views Can&39;t suppress message from IDLGRMODEL::DRAW  1263  2 Started by  Deleted User The full message is " IDLGRMODEL::DRAW: Total number of requested clipping planes exceeds supported limit (6)." I've tried CATCH, !QUIET = 1, !EXCEPT = 0. None of these were able to suppress the message. My entire code is below. FUNCTION JPMProgressBar, percentComplete, progressBar = progressBar IF progressBar EQ !NULL THEN BEGIN progressBar = barplot(&91percentComplete&93, WIDTH = 1, DIMENSIONS = &91500, 100&93, MARGIN = &910.01, 0.2, 0.03, 0&93, /NO_TOOLBAR, $ ...
2 1263
18 Feb 2015 11:28 AM
You are not authorized to create a new topic
Page 29 of 126 << < 2728293031 > >>