X
Search this forum:
Search
You are not authorized to create a new topic
Page 33 of 126 << < 3132333435 > >>
Topics
 Replies
 Views
 Last Post
5 Replies and 1718 Views ENVIRaster  1718  5 Started by  Deleted User I am new to object orientated programming and am trying to do batch processing using ENVI 5.0 functions in IDL 8.2.3. My intention is to spatial & spectrally subset a lot of geotiffs. At the moment I am subsetting into .sav files but would like to create a new set of geotiffs. I think that I should be creating new ENVI rasters. However when I try to use ENVIRaster() I get an error message. ENVIRASTER::INIT: Incorrect number of arguments. even when using the exampe provided o...
5 1718
10 Sep 2014 08:30 AM
0 Replies and 1974 Views different between IDL8.3 and IDL7.1  1974  0 Started by  Deleted User there is the same code which can be run in IDL7.1 but couldn't in IDL8.3 CODE: PRO TMP1 wBase = WIDGET_BASE() wAx=WIDGET_ACTIVEX(wBase,'{8E27C92B-1264-101C-8A2F-040224009C02}') WIDGET_CONTROL, wBase, /REALIZE END what's the matter with "widget_activex"
0 1974
10 Sep 2014 12:49 AM
2 Replies and 1485 Views Code runs in 8.2, gives syntax error in 8.3  1485  2 Started by  Deleted User I realize that the context of this line is missing, but I'm puzzled why this line of code: pfss_restore, pfss_time2file('2003-04-05', /ssw_catalog, /url,version=2) ... runs OK in IDL version 8.2 but gives me a syntax error in version 8.3. It appears to have something to do with the parens, but I'm at a loss beyond that. pfss_restore and pfss_time2file are both .pro files. Any thoughts Thanks, Bill Arden
2 1485
09 Sep 2014 01:55 PM
0 Replies and 1639 Views WIDGET_ACTIVEX question  1639  0 Started by  Deleted User hi,my code "control=WIDGET_ACTIVEX(controlBase,'{232E456A-87C3-11D1-8BE3-0000F8754DA1}')” but at the location "WIDGET_CONTROL,tlb,/REALIZE"prompt question:Creation of widget unsuccessful why my IDL version is IDL8.3 and win7 system
0 1639
09 Sep 2014 06:14 AM
2 Replies and 1699 Views Butterworth filter order and cutoff frequency  1699  2 Started by  Deleted User Hi, I am moving Matlab code to IDL which uses Butterworth filtering, and see that IDL provides this functionality via its butterworth function (http://www.exelisvis.com/docs/BUTTERWORTH.html). It is hard to tell from the documentation whether this is really the Matlab equivalent (http://www.mathworks.com/help/signal/ref/butter.html). Furthermore, the filter order and cutoff frequency are calculated with another function in Matlab (http://www.mathworks.com/help/signal/ref/buttord.html), wh...
2 1699
08 Sep 2014 10:55 AM
2 Replies and 1608 Views Access to sftp  1608  2 Started by  Deleted User Hi all! I'm trying to get access to secured ftp with IDLnetURL but it seems impossible to me as I am rather novice in programming. Using IDL 8.2.1 in Windows and the same syntax written in url_docs_ftp_get.pro: oUrl = OBJ_NEW('IDLnetUrl') ; Set verbose to 1 to see more info on the transaction oUrl->SetProperty, VERBOSE = 1 ; Set the transfer protocol as ftp oUrl->SetProperty, url_scheme = 'ftps' ; The FTP server oUrl->SetProperty, URL_HOST = '193.105.155.71'...
2 1608
05 Sep 2014 02:29 AM
1 Replies and 1254 Views odbc question  1254  1 Started by  Deleted User I wrote codes as follow: { mydata=obj_new('IDLdbDataBase') mydata->Connect,datasource='MS Access Database;DBQ='FILEPATH myRecord=OBJ_NEW('IDLdbRecordset',mydata,TABLE='table1') myRecord->AddRecord,1,'aaa' } and the data types are 'number','short text' in my database however, the program prompt: IDLDBRECORDSET::ADDRECORD:ODBC &91Microsoft&93&91ODBC Microsoft Access Driver&93String data,right truncated how can I do
1 1254
03 Sep 2014 09:08 PM
1 Replies and 1407 Views Formatting of string in text()  1407  1 Started by  Deleted User hello, I am having trouble formatting strings in the text() function. Maybe a bug, maybe I am just missing something. I have a hash where i want to format a string so "key : value" with each field the same size and the ":" line up. See code below. Now, the strlens are the same and when printed to the console, everything lines up. But not within the text() box on the image. Why not Is the font scaleable or something Am I missing something Thanks data = ordere...
1 1407
02 Sep 2014 12:51 PM
0 Replies and 1397 Views MIN MAW NDVI  1397  0 Started by  Deleted User HI I'm working with layer stracking NDVI (10 years) I want to determine NDVI MAX, MIN, MEAN (Images) In order to determine vegetation condition index thank you
0 1397
02 Sep 2014 10:25 AM
1 Replies and 3603 Views Segmentation fault (core dumped) when running an idl code  3603  1 Started by  Deleted User Howdy! There is a running fault problem. I used the GRID3 function to grid the irregularly scattered points (several million points) to regularly 3D gridded points (longitude, latitude, altitude). The code related is only: lonout = findgen(46)*8 latout = findgen(46)*4-90 preout = 210.0-findgen(42)*5 lonout = lonout/360. latout = latout/90. preout = preout/210.0 thout = GRID3(lonIn,latIn,prIn,thDay,lonout,latout,preout,/GRID) ;thDay is thevariable needed to grid The...
1 3603
29 Aug 2014 10:49 PM
1 Replies and 1730 Views Subset (resize) image with an ROI and save to disk  1730  1 Started by  Deleted User I am having some problems. I want to load a number of images and clip out a small rectangle defined by an ROI, then save this smaller file to disk. When I subset using an ROI rather than a sub_rect, the file is not reduced (it masks the raster rather than clipping it). Is there a why to clip (subset) with an ROI If not, is there a way to get the sub_rect from an ROI to I can subset using the sub_rect method Here is the code I am trying to use (I cut out most of the extraneous stuff, e.g., file...
1 1730
27 Aug 2014 03:16 PM
0 Replies and 1572 Views Trouble-shooting IDL to IDL child process  1572  0 Started by  Deleted User Hi, folks. Relative IDL newbie here. I am using code (not written by me) using the split_for.pro routine for multi-threading: http://sciama.pbworks.com/w/page/40677516/Parallelizing20IDL20routines The code runs fine in single-threaded mode (bypassing split_for), but does not run in multi-thread mode. What is particularly frustrating is there are not obvious errors on the console. I think something is going wrong within the child process, but the error seems to be invisible on the parent pr...
0 1572
23 Aug 2014 11:49 AM
0 Replies and 1709 Views Scatterplot with colorbar  1709  0 Started by  Deleted User Hello, If i generate a scatterplot with the keyword magnitude then the colorbar is generated using the Y coordinates not the magnitude. How can i generate a colorbar for the magnitude Only by hand Is This a bug example: t=scatterplot(2.*randomu(seed, 1000), 1.*randomu(seed, 1000), symbol='o', /sym_filled, rgb_table=13, magnitude=5.*randomu(seed, 1000)) ct= colorbar(target=t, /border, orientation=1) note that the colorbar indicates values from 0 to 1 wich is the Y range while it should show...
0 1709
21 Aug 2014 02:38 AM
1 Replies and 1858 Views PLOT routine in IDL 8.3 changes font to greek when the axis label is an exponential.  1858  1 Started by  Deleted User There seems to be a new feature/bug in IDL 8.3, when using the PLOT routine with axis-labels that are typeset as exponentials. In older IDL versions (in my case IDL 8.2), the exponential was typeset as a number, a bullet (•) and then the exponential, e.g. '1.0•106'. Since IDL 8.3 it is typeset as a number, a times-symbol (×) and then the exponential, e.g. '1.0×106'. As a consequence it seems that all following text is in the greek font. However, this seems to be only the ca...
1 1858
18 Aug 2014 01:40 PM
0 Replies and 1416 Views surface: strange behaviour of tickmark-labels  1416  0 Started by  Deleted User
0 1416
16 Aug 2014 06:47 AM
0 Replies and 1489 Views .pro are read-only files  1489  0 Started by  Deleted User I just downloaded IDL version 6.2 onto a computer running Windows 7. The .pro files I had been using on my previous machine are being opened as read-only files. I have gone to preferences and the box for "Open Files Read Only" is not checked. Any new files that I write can to be saved and edited without any problem, even after I restart IDL. I am not sure what the problem is here. Any help is appreciated, Anthony
0 1489
14 Aug 2014 02:29 PM
1 Replies and 3029 Views Attempt to call undefined procedure/function: &39;LEGEND&39;  3029  1 Started by  Deleted User Hi, I'm using IDL 8.3 to plot. Everything is good but legend function fails. The example is like this, IDL> theory = SIN(2.0*FINDGEN(201)*!PI/25.0)*EXP(-0.02*FINDGEN(201)) IDL> observed = theory RANDOMU(seed,201)*0.4-0.2 IDL> plot1 = PLOT(observed, 'b2', NAME='Observed') Loaded DLM: PNG. IDL> plot2 = PLOT(theory, /OVERPLOT, 'r2', NAME='Theory') IDL> leg = LEGEND(TARGET=&91plot1,plot2&93, POSITION=&91185,0.9&93, $ IDL> /DATA, /AUTO_TEXT_COLOR) Compiled module: LEGEND...
1 3029
11 Aug 2014 06:22 PM
4 Replies and 1764 Views Opening NITF files --> ENVI not storing geographic information  1764  4 Started by  Deleted User I am trying to run ENVI's FX image segmentation doit on QuickBird NITF files, but the resulting shapefile contains no information about geographic location or projection. The lat/lons appear as pixel number values from the lower left. ENVI appears to have trouble decoding the information stored in NITF files. Is there a better way to open NITF files My code is below. CD, CURRENT=c & PRINT, c files=FILE_SEARCH(c '\' '*.ntf') ; i=0 ; will eventually batch these files, just trying to...
4 1764
11 Aug 2014 11:00 AM
0 Replies and 1560 Views IMAGE function  1560  0 Started by  Deleted User Does anyone know of the correct way to display a true-color image using the IMAGE function I am attempting to do this with a 3D rgb image array , but I keep receiving the following error: "ROTATE: Only 1 or 2 dimensions allowed: ARG1" What I don't understand is why 'IMAGE' keeps trying to rotate my image. The x and y dimensions of my image array and the lat/lon arrays I'm using are the same. -Steve
0 1560
04 Aug 2014 12:17 PM
0 Replies and 1259 Views IDL grib_api problems?  1259  0 Started by  Deleted User Hi guys, When I use the grib_api with windows IDL 8.3, I found there are some problems about grib api, such as: 1when you set work directory other than default work directory, IDL will crash: cd, 'D:\data' f = GRIB_OPEN(filename) h = GRIB_NEW_FROM_FILE(f) ... 2When I set the GRIB_DEFINITION_PATH environment, IDL will always change it to 'C:\Program Files\Exelis\IDL83\resource\grib\share\definitions' after call grib functions. 3when I read a second_order packing grib file, the return val...
0 1259
04 Aug 2014 10:15 AM
You are not authorized to create a new topic
Page 33 of 126 << < 3132333435 > >>