| 
				
						
							|  |  |  |  |  
							| 
									
									| 
 | 4 Replies and 1418 Views
										idl crash on UBUNTU  1418  4
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hello,
&160;&160;&160; I have just installed idl 7.06 on my ubuntu 9.04. It seems to work fine except that it will crash with iplot routine. Here is an example.
IDL> a=findgen(10)
IDL> iplot,a&160;&160;&160;&160;&160; 
 Compiled module: GET_SCREEN_SIZE.
 Compiled module: FILEPATH.
 Compiled module: PATH_SEP.
 Loaded DLM: XML.
Segmentation fault (core dumped)
My machine has xorg 1.6.0 and xf86-video-intel-2.6.3. I also tried using software rendering but with no lu... |  |  |  | 4 | 1418 | 20 Mar 2009 07:14 PM |  
							| 
									
									| 
 | 0 Replies and 1084 Views
										IDLgrROI  1084  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										&160;
Hello everybody!
I would like to display some polylines in an IDLgrView using an IDLgrROI. My xyz data for the vertex are set when i create the object, using syntax done on the help :
Obj = OBJ_NEW(&160;'IDLgrROI' &91, X&91, Y&91, Z&93&93&93 &91, PROPERTY=value&93)
But later, i need to update data values, adding vertex or modifying others, the IdlgrROI->SetProperty do not let the users to modify the original value. I need to destroy and recreate the IdlgrROI object to display... |  |  |  | 0 | 1084 | 19 Mar 2009 03:02 PM |  
							| 
									
									| 
 | 1 Replies and 1208 Views
										Linear Mixture Modeling?  1208  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										hi everyone,
I am not too familiar in this area, but was looking for a way to perform LMM, Linear Mixture Modeling. There is no button to push to perform this in ENVI, but maybe a script with the calculation out there somewhere It would be applied to IKONOS data,
Thanks for any information,
Anne |  |  |  | 1 | 1208 | 19 Mar 2009 02:18 PM |  
							| 
									
									| 
 | 1 Replies and 1560 Views
										modis conversion toolkit  undefined EOS_GD_CLOSE  1560  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hi all,&160;
I am trying to use the MCTK programmatically with IDL, I cut and paste in IDL the Level 3 grid example from the MCTK user guide, 
I compile and run the code, but I experiment the error: 
MCKT ERROR: 
Unable to attach specified grid. 
Check name against HDF file contents.
And then, appear the warning: 
Attempt to call undefined function/procedure: `EOS_GD_CLOSE`.
&160;
&160;
&160;
;Level 3 grid example
pro test_batch_modis_conversion_grid
compile_opt idl2
modis_grid... |  |  |  | 1 | 1560 | 19 Mar 2009 08:38 AM |  
							| 
									
									| 
 | 0 Replies and 1293 Views
										Pre-defined color tables pull-down in iImage is empty  1293  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										When I fire up iImage from IDL 7 (from the IDLDE), and click on Edit Palette, the pull-down menu for selecting a pre-defined color table (Load Predefined) is empty.&160; Why is that&160; How do I get the built-in color tables into iImage
Thanks,
==Leonard
&160; |  |  |  | 0 | 1293 | 17 Mar 2009 02:01 PM |  
							| 
									
									| 
 | 0 Replies and 1464 Views
										 HDF_SD_SETCOMPRESS: Unable to set compression.  1464  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										This isn't a big deal, but it seems idl7 doesn't like setting hdf compression, if a dimension is unlimited.&160;
IDL Version 7.0.1 (linux x86_64 m64). (c) 2008, ITT Visual Information Solutions
....
IDL> SDinterface_id = HDF_SD_START('compress.hdf', /CREATE)
 Loaded DLM: HDF.
IDL> SDdataset_id = HDF_SD_CREATE(SDinterface_id, 'dataset1', &919,0&93, /long)
IDL> HDF_SD_SETCOMPRESS,SDdataset_id,4,EFFORT=7
 HDF_SD_SETCOMPRESS: Unable to set compression.
 Execution halted a... |  |  |  | 0 | 1464 | 16 Mar 2009 03:47 PM |  
							| 
									
									| 
 | 1 Replies and 1285 Views
										Extract part of image of an idlgrimage  1285  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hi everybody
I would like to know what is the best way to extract a small portion of an image in an array of an IDgrImage without using IDLgrImage->Getproperty , data = data.
For example my image (5000*7000)&160;has been loaded in my idlgrimage, ans i would like to extract for example a 50*50 portion of this image in an array&9150,50&93.
I know i can use IDLgrImage ->GetProperty, data = data & data = data&91*,50,50&93
But, because of memory troubles caused by the size of my image, i wou... |  |  |  | 1 | 1285 | 09 Mar 2009 09:10 AM |  
							| 
									
									| 
 | 0 Replies and 1416 Views
										Setting Odd/Even numbers and decimal places in widgets  1416  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I'm currently using widget_slider (and widget_sslider), but I need to constrain them to only odd numbers (so I can set the kernel size for processing later in my user function). How does one make sure that such widgets only return (and display) either odd or even numbers I can't imagine I'm the first person to need to do this!
&160;
In a similar fashion I'm using cw_slider and need to return numbers with just one or two decimal places. How can I make sure the widget only display and returns ... |  |  |  | 0 | 1416 | 06 Mar 2009 10:40 AM |  
							| 
									
									| 
 | 0 Replies and 1175 Views
										IDL linfit error message  1175  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Dear IDL community,
I am creating a procedure that applies the linfit function to linearly interpolate vectors with varying numbers of indices. I have found that the following warning message is issued whenever the vectors are of length 2:
Program caused arithmetic error: Floating illegal operand
Does anyone know of the cause for this, and how to disable the warning Presumably the error is zero, so somehow the error must end up getting divided&160;Thanks.
Steve |  |  |  | 0 | 1175 | 05 Mar 2009 10:38 AM |  
							| 
									
									| 
 | 0 Replies and 1270 Views
										Does IDL CMYK PostScript output work?  1270  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I have been trying to convert some PostScript files that use the RGB colorspace into CMYK PostScript.&160; IDL purports to support the creation of CMYK PostScript with the /cmyk keyword to the device command.&160; I can produce images using that keyword and get no error messages.&160; The images, viewed in a PostScript previewer look fine but if I use the "identify" routine from ImageMagick it lists the colorspace as RGB.&160; I have been able to create CMYK images through other me... |  |  |  | 0 | 1270 | 04 Mar 2009 02:13 PM |  
							| 
									
									| 
 | 0 Replies and 1324 Views
										netcdf attribute read  1324  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hi,
I'm trying to read the attributes from a netcdf file, that based on ncdump, are equal to:
units = "10^-9 V/V air"
when reading via ncdf_attget, instead of having it into type string, IDL thinks it's a number and converts it into a byte array. How can I force ncdf_attget to read a string, no matter what the data of the attribute is
Thanks! |  |  |  | 0 | 1324 | 04 Mar 2009 11:56 AM |  
							| 
									
									| 
 | 1 Replies and 1170 Views
										BYTSCL bug!?  1170  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I've recently been converting some IDL code to Java and found this 
problem: BYTSCL returns different results based on the data type you 
pass in. For example, the two lines below return different results for 
9065. 
print, bytscl(&914124, 9065, 18946&93, top = 2) 
print, bytscl(FLOAT(&914124, 9065, 18946&93), top = 2) 
That's fine. Later on I found the explanation in IDL's documentation 
"For floating-point input, each value is scaled using the formula (Top 
... |  |  |  | 1 | 1170 | 03 Mar 2009 10:16 AM |  
							| 
									
									| 
 | 0 Replies and 1409 Views
										dual iTool interfaces without creating a new widget interface  1409  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I'm fairly new to IDL GUI design. I was wondering if there is an easy way to extend the iTool system to have all on the same window:
1. a typical iSurface plot
2. a typical iPlot plot
3. custom buttons
From reading the IDL help, it seems adding the buttons in a user interface panel to an iSurface window, say, would be easy (like example4tool,example4_panel). It's adding a second iTool below the iSurface, the iPlot, that I'm wondering if would be a simple addition, or if I would have ... |  |  |  | 0 | 1409 | 26 Feb 2009 12:48 PM |  
							| 
									
									| 
 | 4 Replies and 2660 Views
										Export variable to txt file  2660  4
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										How can&160;I export array variable to txt file, so excel can read it Please Help!! Thanks |  |  |  | 4 | 2660 | 26 Feb 2009 07:28 AM |  
							| 
									
									| 
 | 0 Replies and 1514 Views
										IDL path not set correctly when executing .sav file  1514  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										When I run my program in the Workbench at the IDL>&160; command line, it runs fine. When I build my project and create a .sav file, and I click on the .sav file I get an error, ‘Attempt to call undefined function/procedure READ_BMP’.
My build does a .RESET_SESSION before building, and it shows a RESOLVE_ALL. The build does not produce any error messages.
I checked the value of !path when IDL Workbench first starts, and it includes the folder where the read_bmp.pro file is ( C:\Program... |  |  |  | 0 | 1514 | 23 Feb 2009 02:46 PM |  
							| 
									
									| 
 | 0 Replies and 1441 Views
										Map contour data that is projected  1441  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I have a data that is stored on a 95km (137x81) polar stereopgraphic grid.&160; How do go about contouring this data on top of a map&160; I have had no luck trying to get this to work.&160; I can contour the data normally, but cannot get a contour on top of a map that is /STEREOGRAPHIC projection.&160; I have lat/lon pairs for the gridpoints of the data.
PLEASE HELP
&160;
Thank You. |  |  |  | 0 | 1441 | 23 Feb 2009 08:22 AM |  
							| 
									
									| 
 | 0 Replies and 1377 Views
										HDF_SD_GETDATA  1377  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										In my program, I use the HDF_SD_GETDATA to retrive the data from MODIS L1B image. The program runs successfully in IDL 6.3, but in IDL 7.0, The error message is 'HDF_SD_GETDATA: Unable to read the specified HDF-SD slice'&160; when I read NASA's MODIS L1B (&160; file name for example: MOD021km.A2008345.0355.005.2008345221404.hdf) image. Would ypu mind to tell me whether are&160; there function/precedu&160; in IDL 7.0 to get the MODIS L1B data. |  |  |  | 0 | 1377 | 23 Feb 2009 12:52 AM |  
							| 
									
									| 
 | 0 Replies and 1592 Views
										HDF_SD_GETDATA  1592  0
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										In my program, I use the HDF_SD_GETDATA to retrive the data from MODIS L1B image. The program runs successfully in IDL 6.3, but in IDL 7.0, The error message is 'HDF_SD_GETDATA: Unable to read the specified HDF-SD slice'&160; when I read NASA's MODIS L1B (&160; file name for example: MOD021km.A2008345.0355.005.2008345221404.hdf) image. Would ypu mind to tell me whether are&160; there function/precedu&160; in IDL 7.0 to get the MODIS L1B data. |  |  |  | 0 | 1592 | 23 Feb 2009 12:52 AM |  
							| 
									
									| 
 | 1 Replies and 1451 Views
										Passing Values...  1451  1
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										I have to rountinely read in a substantial amount of data (~60 parameters, each an array of ~1000 values) and then plot various subsets of it, fit curves, etc.&160; Right now, every plotting or fitting routine I generate has the same ~200 lines copied and pasted into it to handle this input and subset defining.&160; It's a pain when the format of my dataset is modified and I try to update my results, I have to hunt though all my programs to make the same teaks to the input routine.&160; I'd l... |  |  |  | 1 | 1451 | 20 Feb 2009 11:58 AM |  
							| 
									
									| 
 | 2 Replies and 1225 Views
										halting execution of a program  1225  2
										Started by  Deleted User
										
										
										
											
											
											
											
											
											
										
										
										Hello,
I am trying to stop execution of a program at a breakpoint. I do not want the program to continue running past the breakpoint. Does anyone know how to do this All toolbar options I've tried (and the .out command) resumes running of the program past the breakpoint, which in my case causes terrible errors.
Any tips would be greatly appreciated. Thanks.
Steve |  |  |  | 2 | 1225 | 19 Feb 2009 10:08 AM |  |