|
|
|
|
|
4 Replies and 1268 Views
SPAWN with .py 1268 4
Started by Deleted User
Hi everyone,
I am trying to launch a script written in Python to georeference METEOSAT products from IDL, using the command SPAWN.This code is based on the use of FWTools Shell (windows) and, as far as I understood, IDL opens the cmd shell.Moreover, the python script is located in another folder. I tried manually to open the FWTools Shell, change directory to the location of the script, and launch it (directly calling the python script or calling a .bat file): in this way it works.
With IDL...
|
|
|
|
4 |
1268 |
19 Sep 2012 05:29 AM |
|
0 Replies and 1157 Views
SPAWN with .py 1157 0
Started by Deleted User
Hi everyone,
I am trying to launch a script written in Python to georeference METEOSAT products from IDL, using the command SPAWN.This code is based on the use of FWTools Shell (windows) and, as far as I understood, IDL opens the cmd shell.Moreover, the python script is located in another folder. I tried manually to open the FWTools Shell, change directory to the location of the script, and launch it (directly calling the python script or calling a .bat file): in this way it works.
With IDL...
|
|
|
|
0 |
1157 |
19 Sep 2012 05:29 AM |
|
1 Replies and 1208 Views
Help with IDL Script to mimic ENVI Save ROI to ASCII type output 1208 1
Started by Deleted User
I have a script that loops through about 400 image files and uses an ENVI ROI to select a region of interest.
I use a base file for the ROIs and the following to convert for each file:
;get the vector information from base file
ENVI_EVF_INFO, Evf_id, num_recs=num_recs, data_type=data_type, projection=projection, $
layer_name=layer_name
;---------------------------------------
; create a variable to contain the records in the vector file
; for us this should be...
|
|
|
|
1 |
1208 |
14 Sep 2012 01:29 PM |
|
0 Replies and 1760 Views
Using Motley graphics library 1760 0
Started by Deleted User
I'm new to IDL, and try to understand the way objects work.I have downloaded the Motley library and try to change the design of MGH_EXAMPLE_2PLOTS
Any one know how graphs in that library works
My first problem is, once the two plots are created, how do I later update the graphs with new data It seems that I have no access to the x-data and y-data, but it is probably because I don't understand the concept of 'model' and 'atom' used by the graph object
thanks, Stefan
|
|
|
|
0 |
1760 |
14 Sep 2012 01:49 AM |
|
1 |
1217 |
10 Sep 2012 05:36 AM |
|
5 Replies and 1423 Views
Line Detection 1423 5
Started by Deleted User
I'm looking for a way to detect lines (possibly using hough transform) in an image and either output the lines as x,y corrdinates or as a shapefile of only the lines. I haven't had much success in anything I've tried and am wondering if anyone here can help My endless googling hasn't resulted in much help.
Thanks
|
|
|
|
5 |
1423 |
07 Sep 2012 02:30 PM |
|
1 Replies and 1462 Views
parallel for loops 1462 1
Started by Deleted User
hi,
I am trying to parallelize a for loop, but I have problems with the IDL_IDLBRIDGE. I implemented following simple test programm:
pro parallel_test
split_for, 0, 10, commands=&91$
'mm=i', 'nn=i'&93, $
varnames=&91'kk'&93, $
outvar=&91'mm', 'nn'&93, nsplit=6
end
After running the programm I got the error:
SPLIT_FOR: Splitting job into 5 threads
SPLIT_FOR: Commands have been sent to threads
SPLIT_FOR: All threads complete
IDL_IDLBRIDGE Error: Und...
|
|
|
|
1 |
1462 |
04 Sep 2012 08:08 AM |
|
0 Replies and 1113 Views
IDLgrVIew - user defined projection 1113 0
Started by Deleted User
Hi again!
Is there any way to implement a user defined type of projection when using the idlgrview object. I am thinking of overloading the particular method. Since i cant look inside the object, i dont no the projection mechanism.
I want to implement fisheye view and other projection models. I am able to project 3d points using arbitrary projection models. But instead of projecting points i want to make use of idl's grid-framework to project whole grid models.
Regards
|
|
|
|
0 |
1113 |
24 Aug 2012 02:19 PM |
|
3 Replies and 1259 Views
3 dimensional arrays 1259 3
Started by Deleted User
Could it be a problem to handle with 3 dimensional arrays in IDL It seems to me that IDL have big problems with such big arrays and so the calculation time for such arrays is extremely high. Are there possibilities to handle with such arrays for instance with the help of GPULib
best regards,
peter
|
|
|
|
3 |
1259 |
24 Aug 2012 03:06 AM |
|
5 Replies and 1767 Views
Saving Polygon Plot 1767 5
Started by Deleted User
Hi
When plotting polygons using the POLYGON()-Function, the plot seems to be implicitly triangulated and instead of a single polygon many triangles are plotted. When saving the plot to an eps-file one can see nasty white triangle boundary lines. Is there any way to plot neat color filled polygons without that behavior
Regards
|
|
|
|
5 |
1767 |
24 Aug 2012 01:10 AM |
|
2 Replies and 1442 Views
Image Processing in IDL 1442 2
Started by Deleted User
Hi,
Is it possible to execute all the image processing functionalities of ENVI in IDL For example if I want image atmospheric correction using FLAASH algorithm in IDL ...... is it possible or I wanto to run Spectral Angel Mapper algorithm in IDL .... is it possible.
Any help will be highly appreciated.
Regards,
Partha Ghosh
|
|
|
|
2 |
1442 |
20 Aug 2012 05:36 AM |
|
1 Replies and 1352 Views
Cellular Automata (CA) in Envi, 1352 1
Started by Deleted User
Cellular Automata (CA) in Envi,
I’m wondering if the Envi software has functions to deal with Cellular Automata (CA) and the origin-destination matrix (OD) in order to predict the future urban change based on given urban rasters
Thank you,
Best
Jamal
|
|
|
|
1 |
1352 |
18 Aug 2012 09:51 AM |
|
1 Replies and 1306 Views
how to use BROYDEN? prompt BROYDEN: singular Jacobian in broydn. 1306 1
Started by Deleted User
Hi, everyone
I am try to solve the eqation with IDL, non linear equation.
and I use the broyden ,now I have a question.
the code is below:
function test2, x
return, &91 500 / (1X&910&93 * EXP(-1*X&911&93)) - 3, $
500 / (1X&910&93 * EXP(-2*X&911&93)) - 13&93
end
FUNCTION test, X
return, &910.3 * X&910&93 / (!pi *(1-0.3 * X&911&93)) X&912&93 - 121.362, $
0.4 * X&910&93 / (!pi * (1-0.4 * X&911&93)) X&912&93 - 156.77, $
0.5 * X&910&...
|
|
|
|
1 |
1306 |
16 Aug 2012 06:39 AM |
|
1 Replies and 1222 Views
Help making xyouts text easier to read 1222 1
Started by Deleted User
Hi guys,
I'm using xyouts to draw location names on top of a map, with zones of various colours. As you can see in the image below the text become hard to read when certain colours are used such as blue.
My question is:
Is there an easy way to add say a background of white which is only applied to the xyouts text area That would make the text easier to read.
Any other suggestions on how I could make this more readable are welcome. However they must be using Direct G...
|
|
|
|
1 |
1222 |
15 Aug 2012 07:46 PM |
|
1 Replies and 1071 Views
Deal with pointer in DLL 1071 1
Started by Deleted User
Recently I want to use dlm to wrap all the c functions to read .dwg format file !
First, I made a simple start to begin with one object of polyline.
then I construct the polyline struct as this:
struct AcDbPolyline{
IDL_LONG numverts;
IDL_LONG color&913&93;
double* vertices;
IDL_STRING layer;
};
because vertices' number is uncertain,so I made it a pointer ! the other fields can be easily done. I do not find any example in 'calling c from IDL' in chapter 7 that ca...
|
|
|
|
1 |
1071 |
11 Aug 2012 07:39 PM |
|
1 Replies and 1060 Views
TROUBLE WITH PASSING STRUCTURE 1060 1
Started by Deleted User
Just like the Ron king's book 'calling c from IDL ',In chapter 7,it talks about how to pass stuctures between IDL and c. Now I need to get a structure created in c files. I followed the third example in that book.And I use the exactly the same name as it with the sufix '.c'.But the compiler says there are about 12 errors. Is there any wrong with this example ! Is there anyone succeed.
then I use the suffix '.cpp' ,then the compiler give no error. but when I test the function declared in t...
|
|
|
|
1 |
1060 |
10 Aug 2012 08:03 PM |
|
1 Replies and 1209 Views
IDL's Change Request System - Question? 1209 1
Started by Deleted User
Hi Guys,
Could someone please explain to me how Exelis's change request system for IDL works I have submitted a technical support request which has since been closed with the outcome being that a bug was filed in the change request system. I have been given a CRS number but what do I use this for Is there a way to track this change request I have looked for information about this on the website but can find nothing.
Thanks,
Tim
|
|
|
|
1 |
1209 |
09 Aug 2012 08:24 PM |
|
2 Replies and 972 Views
hough transform 972 2
Started by Deleted User
Hi all, I'm not all too familiar with IDL but am attempting to find the x,y coordinates of the points of a line after performing a hough transformation line detection. Here is what I have so far and I don't know where to go from here as to how to find these x,y line points. Any help would be greatly appreciated
PRO houghtrans
; Determine path to file.
;file = FILEPATH('H:\Test\Hough\lake.tif')
; Import image from file into IDL.
image = READ_tiff('H:\Test\Hough\dock.tif')
...
|
|
|
|
2 |
972 |
09 Aug 2012 02:44 PM |
|
3 Replies and 1385 Views
Anyone knows how to get eigenvectors and eigenvalues for singular matrix in IDL? 1385 3
Started by Deleted User
Anyone knows how to get eigenvectors and eigenvalues for singular n*n matrix in IDL
The singular matrix is not positive definite or semi-definite either, so the SVD does not equal eigendecomposition.
Any ideas In matlab, eigs could provide some eigenvalues for singular matrix. But in IDL it always gives me error when using any eig related command.
|
|
|
|
3 |
1385 |
06 Aug 2012 03:17 PM |
|
2 Replies and 869 Views
Problem with MCTK extracting MODIS LST (MOD11A1) 869 2
Started by Deleted User
Hi
I ran the code according to MCTK manual for MOD11A1 file, but it displays the error as "attempt to subscript NUM_DIMS_ARRAY with VALID_SDS is out of range ".
The Code is:
pro test_batch_modis_conversion_grid
compile_opt idl2
modis_grid_file = 'C:\MOD11A1.A2008336.h25v06.005.2008337232328.hdf'
output_location = 'C:\output\'
output_rootname = 'lst_day'
grid_name = 'MODIS_Grid_Daily_1km_LST'
sd_names = &91'LST_day_1km'&93
out_method = 1...
|
|
|
|
2 |
869 |
01 Aug 2012 10:59 PM |