|
|
|
|
|
2 Replies and 1271 Views
Generalized SVD 1271 2
Started by Deleted User
Is there any function for creating a generalized SVD in IDL Many thanks!
|
|
|
|
2 |
1271 |
11 Oct 2011 01:30 PM |
|
0 Replies and 991 Views
Converting 8bit to 160bit using FIX 991 0
Started by Deleted User
EDIT: Nevermind. As per usual when I finally resorted to asking a question, I had an idea and got this conversion to work quickly in R.
This is likely a simple question, but I don't use IDL very often (at all, really). However, it seems best suited to this particular problem. I'd like to convert a bunch of 8bit flat headerless binary files (.dat) to 16bit, deleting the old 8bit files. I've figured out that the FIX command is best, however I'm having difficulty getting it to wor...
|
|
|
|
0 |
991 |
10 Oct 2011 12:14 PM |
|
2 Replies and 1438 Views
how to save as jpg or png 1438 2
Started by Deleted User
saving float array as a jpg or png.
for example, 3 bands from a reflectance satellite image
I tried write_jpg and write_png. however, the picture did not show the image successfully.
I guess the reason is the pixel value is between 0-1, not 0-255. So, what should i do to save a image as jpg or png files. thanks
|
|
|
|
2 |
1438 |
07 Oct 2011 02:41 PM |
|
2 Replies and 1089 Views
TV, PLOT positions do not coincide well 1089 2
Started by Deleted User
I am writing a program in which I need to display an image within a set of axes (frequency vs. time with electric field power spectral density in color). The problem is that, while the position keyword specifies the lower left corner of the plotting region, the plot procedure draws the x and y axes on the inside of this space. So, when I plot my image using the same position that I supplied to the plotting routine, the image covers the x and y axes -- it is drawn on starting on the outer corner ...
|
|
|
|
2 |
1089 |
27 Sep 2011 08:17 PM |
|
3 Replies and 978 Views
EPS = black background? 978 3
Started by Deleted User
So i wrote a program that plots certain data for climate models, and my supervisor is asking for EPS format. When i use IDL to plot it, the window comes up with all the data and map projections that i wanted, and everything looks good! But as soon as you SAVE it to .eps, theres a black background if i save the EXACT same plot to .PNG there is no black background, which is exactly how i wanted it. Any ideas heres my code.
file1=ncdf_open('tnmin_hadex_1961_1990.nc')
ncdf_varget,file1,'...
|
|
|
|
3 |
978 |
23 Sep 2011 03:32 PM |
|
2 Replies and 1217 Views
XML 1217 2
Started by Deleted User
All-
XML-"noob" question here; stepping back into the world of IDL after a few years (different shops, different flavors..) and getting familiar w/8.1. Liking it.
I have to facilitate real-time data from my shop to both regional and national databases in XML format. The raw data resides in ASCII files on the local server, I'll format it appropriately and push it to the receiving end as soon as it comes in.
Forgive my ignorance, I just stumbled onto it; but the IDL...
|
|
|
|
2 |
1217 |
22 Sep 2011 11:27 AM |
|
2 Replies and 1232 Views
Color Names in Function Graphics 1232 2
Started by Deleted User
Is there a list somewhere, or can I obtain a list somehow, of the color names I can use in function graphics For example, I would like to create continental outlines on a map projection with a "charcoal" color, but this doesn't seem to be recognized. I realize I can pass a three-element color array, but I would like to know if there are any "defined" colors similar to charcoal.
|
|
|
|
2 |
1232 |
20 Sep 2011 10:31 AM |
|
2 Replies and 796 Views
using TV to map image 796 2
Started by Deleted User
map_set,xmargin=5,ymargin=5,/miller_cylindrical,/noerase
scaledData = BytScl(tnmax3,top=18,MIN=minvalue, max=maxvalue,/nan)
DEVICE, DECOMPOSED = 0
loadct, 3, ncolors=22
;TVLCT, R,G,B,255 ,/get
result=map_image(scaledData,startx,starty,compress=1,$
min_value=minvalue, missing=255)
scaledData&91missing&93=255
tv, result, 0,starty
There part of my code. What is happening is the scaled data does not seem to match up with the projected image. if i remove th...
|
|
|
|
2 |
796 |
19 Sep 2011 07:15 PM |
|
2 Replies and 1681 Views
How to read the Queue Procedures lists of ENVI? 1681 2
Started by Deleted User
I used IDL to read the Queue Procedures lists in the ENVI Queue Manager.
But I could't find the ENVI function for this procedure. I hope someone give me some advice.
THS.
|
|
|
|
2 |
1681 |
15 Sep 2011 09:01 AM |
|
0 Replies and 1105 Views
LA_SVD 1105 0
Started by Deleted User
Hello,
I am having some trouble with the routine LA_SVD
I have a covariance matrix that is generated as
covar=xvartranspose(yvar)
covar=covar/mtot
where xvar=fltarr(9450,2044); yvar=fltarr(12221,2044) and mtot is a constant
Then I use
LA_SVD,covar,W,U,V,/DOUBLE,STATUS=stat
My question is: How do I get the expanded coefficients associated with each variable (xvar,yvar) They should be the time coeffcients of the 2044 modes of variability between both my variab...
|
|
|
|
0 |
1105 |
14 Sep 2011 06:17 PM |
|
1 Replies and 1152 Views
HOW TO MAKE BLOCKY CONTOUR?!?!?! HELP 1152 1
Started by Deleted User
Hey im trying to plot a miller cylindrical projection and get it to be blocky like this
http://www.idlcoyote.com/code_tips/usegriddata.html
if you go there and look at his GridData Nearest neighbor plot. THAT is exactly how im trying to plot mine (except over a miller cylindrical) I cant use his code since he is using coyote graphics, and my office doesnt. Here is my code
file1=ncdf_open('tnmin_hadex_1961_1990.nc') ;opening
file ncdf_varget,file1,'tnmin',tnmin ;getting var...
|
|
|
|
1 |
1152 |
14 Sep 2011 05:09 PM |
|
2 Replies and 1322 Views
IDL VM Download? 1322 2
Started by Deleted User
Hey everyone,
Someone recently sent me some visualization program to try that can run with IDL VM. While we don't run IDL here I read everywhere that IDL VM is freely available, yet I receive a message saying I don't have authorization when I try to download.
Looking forward to seeing IDL in action!
-Warren
|
|
|
|
2 |
1322 |
10 Sep 2011 09:42 AM |
|
2 Replies and 1277 Views
read_jpeg and imread difference 1277 2
Started by Deleted User
i am reading same images with imread (matlab) and read_jpeg .When i compare R G B pixel values they are different.
What can be reason for that.
Thanks in advance
|
|
|
|
2 |
1277 |
08 Sep 2011 02:13 AM |
|
0 Replies and 977 Views
read_jpeg and imread difference 977 0
Started by Deleted User
i am reading same images with imread (matlab) and read_jpeg .When i compare R G B pixel values they are different.
What can be reason for that.
Thanks in advance
|
|
|
|
0 |
977 |
08 Sep 2011 02:13 AM |
|
2 Replies and 1089 Views
read_jpeg and imread difference 1089 2
Started by Deleted User
i am reading same images with imread (matlab) and read_jpeg .When i compare R G B pixel values they are different.
What can be reason for that.
Thanks in advance
|
|
|
|
2 |
1089 |
08 Sep 2011 02:13 AM |
|
2 Replies and 1058 Views
Writing GrADS compatible NetCDF files with IDL 1058 2
Started by Deleted User
Hi - has anyone written GrADS compatible netCDF files using IDL I'm looking for a simple example that will include the basic information that GrADS needs.
Thanks,
Rich
|
|
|
|
2 |
1058 |
05 Sep 2011 11:28 AM |
|
1 Replies and 1074 Views
7.0.8 language settings 1074 1
Started by Deleted User
I've been using IDL for about a year now and I open it up today and the language has been changed to Finnish. How can I change it back to English
I looked through all of the settings and couldn't seem to find anything that resembled a language picker.
I'm using IDL Version: 7.0.8
|
|
|
|
1 |
1074 |
01 Sep 2011 01:12 PM |
|
5 Replies and 1473 Views
IDL VM 1473 5
Started by Deleted User
Hello,
I have an ENVI/IDL license but was asked by someone with no license how to set up an IDL virtual machine. I looked through the ITTVIS website and found tech tip 4633, which explains downloading the 'virtual machine' setup file, which turns out to be simply the IDL setup file. Does that mean the VM is simply an evaluation version of IDL or am I missing something here
Anyone can shed some light on this please
Thanks,
Mike
|
|
|
|
5 |
1473 |
01 Sep 2011 09:26 AM |
|
0 Replies and 1264 Views
Area calculation of raster in geographic coordinate system 1264 0
Started by Deleted User
Hi all--
I have a 250 MODIS scenes in WGS84 geographic coordinate system. Using IDL, I need to determine the area occupied by pixels that meet a given condition in square kilometers. Accuracy is very important, thus reprojection isn't an option since the scenes are about 10 degrees wide--much wider than a UTM zone.
I have an idea for a workaround. Since all of the pixels are "square" in terms of their decimal-degree dimensions, I could write an ArcPython script to de...
|
|
|
|
0 |
1264 |
31 Aug 2011 10:52 AM |
|
1 Replies and 1557 Views
Partial least squares regression in IDL? 1557 1
Started by Deleted User
Hi,
I am interested in using partial least squares regression to analyze a dataset. There are PLS packages available in other languages, but I would prefer to keep all of my processing with IDL if possible. Has anyone in the community implemented PLS in IDL
Thanks!
|
|
|
|
1 |
1557 |
25 Aug 2011 11:53 AM |