|
|
|
|
|
4 Replies and 1066 Views
Output to external format ...not closing result 1066 4
Started by Deleted User
Dear all,
I seem to have a really minor issue but can't figure out how to solve it. In some codes, I am using envi_output_to_external_format, i.e. as below. The problem is, I cannot really close the output file in Envi. This is not so bad in the classic version where it only appears in the available bands list but in the new version the image is also shown in Envi which is why I am running out of memory for bigger batch processes using the new version. Can anyone tell me how to close the output...
|
|
|
|
4 |
1066 |
16 Feb 2015 07:43 AM |
|
1 Replies and 1260 Views
[start:final:step] bug 1260 1
Started by Deleted User
hi. here is example code
CDF_EPOCH, ts, 2008, 1, 1, 0, 0, 0, 0, /compute
CDF_EPOCH, te, 2009, 1, 1, 0, 0, 0, 0, /compute
step = 5*60d*1d3
res = &91ts:te:step&93
plot, res,/ys
not monotonic increase
Similarly
CDF_TT2000, ts, 2008, 1, 1, 0, 0, 0, 0, 0, 0, /compute
CDF_TT2000, te, 2009, 1, 1, 0, 0, 0, 0, 0, 0, /compute
step = 300000000000LL
res = &91ts:te:step&93
plot, res,/ys
thanks
idl 8.3 on ubuntu 12.04
|
|
|
|
1 |
1260 |
15 Feb 2015 12:44 AM |
|
0 Replies and 1381 Views
ushort with ncdf_vardef 1381 0
Started by Deleted User
I am writing netCDF files with IDL 8.1 and am encountering a problem when I use the USHORT keyword in calls to the NCDF_VARDEF function. I get the following error message:
NCDF_VARDEF: Unable to define variable. (NC_ERROR=-45)
If I found the correct interpretation of error code -45, it means it's a bad data type. I don't get this message with other data types such as long integers, floats, bytes, or even signed 2-byte integers (using LONG, FLOAT, BYTE, and SHORT keywords, respectively). I jus...
|
|
|
|
0 |
1381 |
13 Feb 2015 01:47 PM |
|
9 Replies and 1647 Views
ENVITask 1647 9
Started by Deleted User
Hi,
I try to calibrate a number of landsat 7 images in batch mode and I want to use '' ENVIRadiometricCalibrationTask'' command, but I received this error '' Attempt to call undefined procedure/function: 'ENVITASK' ''
First I thought that the problem is in ''COMPILE_OPT IDL'' and I changed in into the other suggestion but still I faced this error.Should I have additional licence to use ''ENVITask'' Is there any solution for my problem
Regards,
|
|
|
|
9 |
1647 |
12 Feb 2015 06:50 AM |
|
0 Replies and 1634 Views
IDL Read fits files 1634 0
Started by Deleted User
Q1. I want to read some fits files, and however I try it by the documentations I could find online it does not work.
In order to get a command such as "readfits" to work do I have to import a library somehow Would you please let me know how I can read and Gaussian smooth my FITS files
Q2. Also whenever I exit the terminal I have to run the following commands in order to make the "IDL" command to be working. Is there any way to get it done without this procedure
~$ source...
|
|
|
|
0 |
1634 |
06 Feb 2015 11:13 AM |
|
1 Replies and 1466 Views
IDL Workbench broken after Path update 1466 1
Started by Deleted User
Hi all! I am using the IDL 8.2 workbench and included /Applications/ in the IDL Path (in the Preference Section in the IDL Workbench). Since then the IDL Workbench launches, but the buttons (run, stop, break etc.) don't show and the Preference Tab does not open, it's basically not usable. Re-downloading the workbench does not work since IDL 8.2 is not offered anymore and the license my Insitute has purchased has not been updated to IDL 8.4 yet. Is there a way of deleting/editing a preference fil...
|
|
|
|
1 |
1466 |
05 Feb 2015 09:41 AM |
|
0 Replies and 1205 Views
Parallelization of image analysis 1205 0
Started by Deleted User
Hi,
I am an IDL novice so please bear with me if this question is trivial. I have a piece of code that on the basis of two images generates a new image. I've written a function that for each pixels (i,j) in the input images iteratively solves for the new image value. The way I step through the two images is in for loops (I now this is probably bad...) like below
for i=1,dim1
for j=1,dim2
call to function which returns new value of pixel(i,j)
endfor
endfor
My calculation is rather slow (~0.1s...
|
|
|
|
0 |
1205 |
04 Feb 2015 06:08 AM |
|
0 Replies and 1341 Views
image function bug?? 1341 0
Started by Deleted User
here is a example
data = DIST(500)
x = FINDGEN(500, start=1)
win = window()
win.refresh, /disable
i = image(data, x, x, /current, /axis)
win.save, 'test.png'
"test.png" file No image appears.!! -> bug
and question.
data = DIST(500)
x = FINDGEN(500, start=1)/5
c = contour(data, x, x, /ylog)
i = image(data, x, x, /ylog, /axis)
image function does not appear to ylog.(just yaxis value.....)
but contour function is OK.
Is that intended
idl 8.4 and 8.3
|
|
|
|
0 |
1341 |
04 Feb 2015 03:44 AM |
|
0 Replies and 1406 Views
writing 64-bit int to HDF file 1406 0
Started by Deleted User
I am attempting to write some 64-bit long integer data to an HDF file using EOS-HDF routines, but getting some errors when trying to define the data field. Does anyone know if the HDF type codes outlined in the online reference titled 'HDF Overview' work with EOS_HDF, or only standard HDF routines
Thanks,
Steve
|
|
|
|
0 |
1406 |
03 Feb 2015 11:17 AM |
|
4 Replies and 1449 Views
ENVITask VectorAttributeToROIs Routine Task 1449 4
Started by Deleted User
Hello,
I'm working on an task to subset images via roi. And I can't seem to figure out why my Task.OUTPUT_ROI usesage doesn't begin/retrieve the first attribute in the roi. As you can see below when I enter the FOREACH loop I'm setting up the index to begin with index 0, which should be the first record in this case the first BOX. But it does not do this. I'm using shpObj to get the first attribute so I can specify a suffix to attach to the name. Obviously I want these to match but ...
|
|
|
|
4 |
1449 |
03 Feb 2015 10:58 AM |
|
5 Replies and 2006 Views
MODIS Conversion Toolkit - IDL Execution Error 2006 5
Started by Deleted User
Hello all,
I'm beginner in IDL and exploring the MODIS conversion toolkit to process datasets. After compiling the code, i am getting this below error on ENVI_PROJ_CREATE. I appreciate your kind response in resolving the issue.
Compiled module: TEST_BATCH_MODIS_CONVERSION_LEVEL_1B.
Attempt to call undefined function: 'ENVI_PROJ_CREATE'.
Thanks
Giriraj
Here is the complete code:
;Level 1B example
pro test_batch_modis_conversion_level_1b
compile_opt idl2
modis_l1b_file = '...
|
|
|
|
5 |
2006 |
25 Jan 2015 09:33 PM |
|
1 |
1404 |
23 Jan 2015 01:24 PM |
|
0 Replies and 1621 Views
Importing SARscape-produced files into IDL 1621 0
Started by Deleted User
Dear all,
I want to read SARscape-related products, e.g. coherence image, by IDL. Except for *.hdr file, SARscape product also includes *.sml file to describe the meta information. How can I import and export such product file in a way of keeping *.hdr and *.sml files the same format
Of course, I can enforce it some ways, says "ENVI->File->Export to IDL Variable". However, I will lose the *sml file when executing "ENVI->File->Import from IDL Variable". Not only this,...
|
|
|
|
0 |
1621 |
22 Jan 2015 11:57 AM |
|
1 Replies and 1029 Views
How to select multiple files ? 1029 1
Started by Deleted User
Hi everybody,
I am processing reproject ocean image. I used epoc tool (epoc level 3).
Now I want to reproject for all image file in a folder. I used dialog_pickfile() function but it can not.
Could you tell me the solution to do that
Thank you
The below is raw coding :
pro test_epoc_level_3
compile_opt idl2
envi, /restore_base_save_files
envi_batch_init, log_file='batch.txt'
fname ='C:\Users\Hoa\Desktop\Demo\T20130012013008.L3m_8D_SST_4'
output_path = 'C:\User...
|
|
|
|
1 |
1029 |
22 Jan 2015 03:06 AM |
|
0 Replies and 1233 Views
subscript error returns NaN 1233 0
Started by Deleted User
On my development system, a subscript out of range problem seems to return the NaN value rather than a runtime error. This is also true when running a binary on the same system. When I distribute the binary to a user who runs it under the VM, the subscript problem throws a runtime exception and terminates the program. How do I get my development system to throw runtime exceptions in this circumstance I need to find these problems myself so my users don't. I am running IDL 8.2.1 Build id: 2...
|
|
|
|
0 |
1233 |
20 Jan 2015 06:31 PM |
|
1 Replies and 1518 Views
Trisol source code? 1518 1
Started by Deleted User
Hi there,
I am trying to implement my own version of the TRISOL routine (http://www.exelisvis.com/docs/TRISOL.html) but I am having troubles getting the same results as is shown in TRISOL example.
Is there a way to look at the source code to see how it is implemented
thanks.
|
|
|
|
1 |
1518 |
17 Jan 2015 09:59 AM |
|
1 Replies and 1291 Views
How to use IDL to access SQL SERVER 2012 FILETABLE? 1291 1
Started by Deleted User
IDL> objrs=obj_new('idldbrecordset', db, table='Table_1') ; There is no error.
IDL> objrs=obj_new('idldbrecordset', db, table='imagetable2')
Attempt to call undefined procedure/function: 'CACHED_FILE_SIZE__DEFINE'.
Execution halted at: $MAIN$
Table_1 is a table.
imagetalbe2 is a FileTable.
How to use IDL to access SQL SERVER 2012 FILETABLE
|
|
|
|
1 |
1291 |
14 Jan 2015 05:26 PM |
|
0 Replies and 1275 Views
image_threshold 1275 0
Started by Deleted User
Hello,
I am trying to use the image_threshold function and I noticed that the threshold does not change when scaling the image:
iso1=image_threshold(myimage,THRESHOLD=t1,/isodata)
iso2=image_threshold(100 * myimage,THRESHOLD=t2,/isodata)
I would have expected t2 = 100 * t1, but I get t1=t2.
Can anybody explain
Thank you
|
|
|
|
0 |
1275 |
14 Jan 2015 08:30 AM |
|
2 Replies and 1484 Views
ENVI Extension Wizard ENVI Classic 1484 2
Started by Deleted User
Hello,
Today I tried "ENVI Extension Wizard" by combining IDL8.3 and ENVI5.1 (new interface), and it worked out. However it seems that this feature is not supported in ENVI Classic 5.1. Is it
If I want to use button-wise interface to interact between IDL and ENVI Classic, the only choice is "ENVI Classic Routines->ENVI_DEFINE_MENU_BUTTON"
Have a nice day.
Chia-Hsiang Yang
|
|
|
|
2 |
1484 |
13 Jan 2015 03:46 AM |
|
0 Replies and 1429 Views
Size limits in HDF? 1429 0
Started by Deleted User
I've been converting HDF5 files to geotiff for some time, but one of them causes an error when I do h5d_open. The only difference is this new file is much larger than previous files, about twice as large (8.9 GB) and has dimensions of 8281 wide x 14208 long x 13 dates. I'm thinking the length is too large, but I can't find any documentation describing limits.
My system: IDL 8.0, Mac OS 10.8.5, ~60 GB of free disk space.
Thanks for any tips on how to deal with this,
Tom Farr
|
|
|
|
0 |
1429 |
07 Jan 2015 04:04 PM |
|