X
Search this forum:
Search
You are not authorized to create a new topic
Page 35 of 126 << < 3334353637 > >>
Topics
 Replies
 Views
 Last Post
0 Replies and 1527 Views excel questions  1527  0 Started by  Deleted User my code: { oExcel=obj_new("IDLcomDispatch$PROGRID$Excel_Application") if ~oExcel then return oExcel->GetProperty,Workbooks=oWkbks oWkbks->Add oWkbks->GetProperty,'Book1',Item=oBookData ........} now, the question is: 'Book1' can be changed automatically, and the code had error. How can I get the name of workbooks another question:oWkbks->SaveAs,filename ; The program prompted whether I want to save every time. how can I cancel out this prompt
0 1527
11 Jun 2014 03:14 AM
0 Replies and 1324 Views loop over list and arrays  1324  0 Started by  Deleted User Dear IDL user, I have created a list like a=list(arrA, arrB, arrC, arr...) and each of the arrays contain parameters like arrA=&91'para1', 'para2', 'para3', ....&93 . Using an outer FOR loop for the elements in the list return a string of the elements. With an inner loop I like to step over the different arrays to retrieve values for the parameters. Any suggestions on how to loop over the different elements inside the arrays are appreciated - or is there in general a better way to get it run...
0 1324
10 Jun 2014 11:37 AM
1 Replies and 3221 Views Keyword Parameters not allowed in call  3221  1 Started by  Deleted User Hi, I am very new to IDL so forgive me if this question seems stupid. I am trying simply to read a .tif file and let IDL show the image. My commands were: IDL> a=read_image('frame_1.tif') IDL> help, a then I receive A BYTE = Array&913, 560, 420&93 IDL> plotimage ,bytscl(a) But after I execute the last command, I receive "Keyword parameters not allowed in call."I don't understand what I did wrong. Any ideas Thank you in advance.
1 3221
02 Jun 2014 11:03 AM
1 Replies and 1428 Views IDL 8.3 workbench java_bridge problem?  1428  1 Started by  Deleted User Hi, guys: I want to deal grib file with IDL 8.3 and Netcdf-java in windows 7 64bit. I run the fellowing code: oNetcdfDataset = OBJ_NEW("IDLJavaObject$NetcdfDataset", "ucar.nc2.dataset.NetcdfDataset") NetcdfFileObj = oNetcdfDataset->openDataset("GLDAS_VIC10_M.A201305.001.grb") In IDL workbench "idlde.exe", I get the errors, which shows that java bridge could not open the resource files in jar: IDL> oNetcdfDataset = OBJ_NEW("IDLJavaObject$NetcdfD...
1 1428
24 May 2014 10:34 AM
1 Replies and 1456 Views Trying to remove a child that doesn&39;t believe we&39;re it&39;s parent.  1456  1 Started by  Deleted User Hi, I appreciate any information about this type of message when using IDL 8.3 in Ubuntu (IDL:2520): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent. It crashes IDL Regards
1 1456
22 May 2014 10:22 AM
5 Replies and 1674 Views Using FLAASH  1674  5 Started by  Deleted User Hi. What steps are needed for the preprocessing of hyperspectral image (EO-1 hyperion) before atmospheric correction procedure. If I do radiometric calibration with the "Apply FLAASH Settings", that scale factor I will have to specify in the atmospheric correction module Does radiometric calibration procedure consider scaling coefficients (SCALING_FACTOR_VNIR = 40, SCALING_FACTOR_SWIR = 80) specified in the _MTL.TXT file Best regards
5 1674
21 May 2014 09:36 PM
1 Replies and 1777 Views Writing a simple program to calculate sin and cos of given angle and convert angle  1777  1 Started by  Deleted User I'm just staring to learn how to program with IDL , and am trying to write a simple program to ask a user to input an angle in degrees and then have the program output cos(θ), sin(θ) and convert the angle to radians. This is my attempt at creating a program for just the first task of computing cos(θ) so far, but am having no luck. Please let me know if you can help. Thanks for any input! pro theta compile_opt idl2 n=0 read, n, prompt= 'Enter angle in degrees' y=cos(n) print, y ...
1 1777
21 May 2014 10:11 AM
2 Replies and 1449 Views Reading a DEM [TDX]  1449  2 Started by  Deleted User Hi there, i'm pretty new to IDL and got a question regarding DEM processing in IDL. I have a dataset of TDX DEMs and want to manipulate certain areas. When i open the DEM (.ras file) in ENVI it is no problem but there i can't do the stuff i want to process. So, how do i read a DEM (.ras) into IDL As for now i use READ_BINARY with the correct DATA_DIMS but all i got was a really jibberish image Any help would be appreciated and thanks in advance! UPDATE: Ok so i think my problem is somewh...
2 1449
21 May 2014 01:02 AM
1 Replies and 1142 Views Change background color of widget_base/widget_button  1142  1 Started by  Deleted User Hello, I would like to change the background color of widget_base or the widget_button in Windows OS. I have not found any keyword related to this task. Any idea Thank so much :)
1 1142
20 May 2014 09:16 AM
6 Replies and 1773 Views using ENVIRaster  1773  6 Started by  Deleted User I want to use IDL to open two rasters, clip one of the rasters according to the size of the other, and then save the new raster. I encountered an error using ENVIraster. The example code compiles, but generates an execution error: "ENVIRASTER::INIT: Incorrect number of arguments" on the line newRaster = ENVIRaster(origData, URI=newFile, NBANDS=1) The example code is from here: http://www.exelisvis.com/docs/enviRaster.html Any advice how to fix this is appreciated.
6 1773
19 May 2014 12:01 PM
1 Replies and 1430 Views reading unformatted data  1430  1 Started by  Deleted User I have an odd problem I have not encountered before. I have some data (ulonarr) with no values higher than 50,000. I am writing this data to an unformatted file and after reading the data back some of the values are changed. I now have values that are extremely large (3x10^8). I have used this code on previous occasions without any issue, so I am currently at a loss as to what could be causing this. -Steve
1 1430
14 May 2014 12:36 PM
8 Replies and 2759 Views IDL 8.3 crashes with new graphics  2759  8 Started by  Deleted User Hi, I keep having this problem that IDL 8.3 crashes on my windows 7 machine. It mainly happens when using the new graphics functions (e.g. plot() ). The error log says it's a problem with java: A fatal error has been detected by the Java Runtime Environment: EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000057d18848, pid=4768, tid=996 JRE version: 7.0_25-b17 Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode windows-amd64 compressed oops) Problemati...
8 2759
14 May 2014 09:36 AM
0 Replies and 1717 Views big netcdf files  1717  0 Started by  Deleted User I cannot write large netcdf files when one dimension is unlimited whereas it works OK when no dimension is unlimited. This seems to only be linked to big files. Anyone has had that problem
0 1717
08 May 2014 07:13 AM
0 Replies and 1540 Views Adding new printers to xprinter  1540  0 Started by  Deleted User Does anyone know how to add additional printer types to xprinter It does not look like this list in /Applications/exelis/idl82/resource/xprinter has been updated since xprinter was first included with IDL. Thanks
0 1540
29 Apr 2014 09:53 AM
2 Replies and 1153 Views BSQ file using Congrid returning only first band values  1153  2 Started by  Deleted User Hi All, I am having an issue when using congrid on a 3 band bsq image file, where the output from the congrid is still 3 bands, the values for all the bands are only from the 1st band. What I am trying to do is replicate the ENVI (I have v4.8) resize function programmatically in IDL (v8.01), which I have tested with this same bsq file and works correctly, but am getting the error as mentioned with congrid. My process in IDL is that I am reading 3 separate ascii files (corresponding to the 3 ba...
2 1153
29 Apr 2014 12:07 AM
1 Replies and 1241 Views Surface function changing zoom oddly  1241  1 Started by  Deleted User Platform: Win 8.1 IDL 8.3.0 Build id: 20131115 I'm loading in a loop several 2D data files using the SURFACE function to create a video. After 2-3 data files, the zoom amount changes randomly leading to the visible xrange and yrange changing. This is a real hassle as when i go to use copywindow, the images are not coincident, so you get a very jumpy video output as a final result. Here is the initial surface setup s1 = surface(data,lon,lat,grid_units=2,axis_style=0,aspect_Z=0.3,perspe...
1 1241
23 Apr 2014 08:39 PM
1 Replies and 1467 Views COLORBAR function problem  1467  1 Started by  Deleted User In my code below, IDL is referring the COLORBAR function as undefined and I do not understand why the function is not being called when its proper syntax. Could someone point me in the right direction please Thanks for the help! trmm_used *=3. for ilat=0, num_lat-1 do begin for ilon=0, num_lon-1 do begin values = trmm_used&91ilon,ilat,*,0,*,*&93 values_list= where(values GE 0, amt) if amt ge 0 then begin rainfall_mean = mean(values&91values_...
1 1467
22 Apr 2014 02:17 PM
1 Replies and 1502 Views List of known anomalies for IDL 6.1?  1502  1 Started by  Deleted User How can I get the list of known anomalies (defects/bugs/issues) for IDL Virtual Machine Release 6.1. Or, conversely, what anomalies have been fixed in the releases since IDL 6.1 Thanks.
1 1502
22 Apr 2014 08:21 AM
2 Replies and 1156 Views using in_memory for image processing workflows  1156  2 Started by  Deleted User Hello -- I'm rather new to IDL so please, if this question is answered in some basic reference material, just point me towards it. I'm trying to set up a basic set of modis processing steps for hundreds of images. I just want to convert the hdfs (convert_modis_data), reproject to utm (envi_convert_file_map_projection), and reorder the bands (existing custom code). I'm wondering about best practices for batching multiple steps together, each of which will, by default, create a file output. It see...
2 1156
18 Apr 2014 10:10 AM
1 Replies and 1557 Views How to call Google Earth Bridge from IDL  1557  1 Started by  Deleted User Hi, I would like to add the creation of KML files to my IDL program that georeferences the images. How do I call the ENVI SPEAR Google Earth Bridge from IDL I've been able to generate the KML files using ENVI and overlay them onto Google Earth. Thanks, Keith
1 1557
16 Apr 2014 02:18 AM
You are not authorized to create a new topic
Page 35 of 126 << < 3334353637 > >>