|
|
|
|
|
1 Replies and 1617 Views
How do I draw curved or rotated axis? 1617 1
Started by Deleted User
Hello everyone.
I am not so familiar with map projections, and have no plan to be (since I've never encountered data requiring such knowledge), so I am not sure if there are solutions for this already.
TL;DR: I want to draw THIS using New Graphics functions.
I am dealing with a data, which is in 2-dimensional "polar" coordinate. I have 3 floating point arrays of identical dimensions, r(radial distance), t(azimuthal angle), and z(data. density, temperature, etc.). Data points are ev...
|
|
|
|
1 |
1617 |
12 Aug 2016 02:25 AM |
|
1 Replies and 1913 Views
Data being read into program as NAN 1913 1
Started by Deleted User
A user has a program with a call to an array of structures called "kp_data". Inside this structure, there are additional structures that need to be accessed to get the data.
In the user's code, when it makes the call:
"x = kp_data&910:93,955&93.ngims.he_density"
The data contains all NaN values. If the user tries to do plot(x,y) after the "x=kp_data&910:93,955&93.ngims.he_density" call, the plot fails. However, if the user runs the program to its conclusion t...
|
|
|
|
1 |
1913 |
11 Aug 2016 05:53 PM |
|
1 Replies and 4587 Views
MOD operator unexpected behavior 4587 1
Started by Deleted User
even if A is an integer multiple of B, (A MOD B) = B if B is too small.
A MOD B =0 would be correct.
i am not sure what the threshold value for this behavior is, but it is between B = 0.2 and B = 0.25.
this is for IDL 8.4 on the mac, so perhaps it has been corrected in later versions. i may not check back here for replies... i just wanted to bring this to people's attention in case it's helpful. here is some sample output showing the behavior (and the workaround on the last line):
IDL> print...
|
|
|
|
1 |
4587 |
10 Aug 2016 07:57 PM |
|
1 Replies and 2059 Views
FLAASH API 2059 1
Started by Deleted User
Hello,
Somebody knows how to apply FLAASH with IDL I have a batch from Raster and can make Radiometric Correction, but I wanna make also FLASSH after.
Tks for your help
Ivan
|
|
|
|
1 |
2059 |
08 Aug 2016 06:44 PM |
|
1 Replies and 1910 Views
Truncating output Raster names 1910 1
Started by Deleted User
Hello,
Without going in to too much detail I am trying to figure out how to designate an output name for a batch of raster files by only maintaining a certain portion of the original name. Is that possible I know you can truncate text in other programs like excel by telling it how many characters to include, but as I am performing this on a batch of files my names will not be the same number of characters. One thing that may help is that the truncated part I wish to remove will always begin wit...
|
|
|
|
1 |
1910 |
08 Aug 2016 09:22 AM |
|
1 Replies and 1786 Views
PDF output with mixed vector and raster content 1786 1
Started by Deleted User
In a previous post we managed to get PDF output right for publication sized figures. Now I am having problems with PDF output when mixing vector (i.e. color bars, lines and text) and raster (i.e. low resolution images) content. In the example below I create a low resolution image (10x10) and save it to PDF output. I used 10x10 to show that some form of antialiasing is running amok when the image content is rasterized while saving to PDF. I don't know why it is so heavily antialiased, the image r...
|
|
|
|
1 |
1786 |
04 Aug 2016 06:04 PM |
|
1 Replies and 4461 Views
How to run Python script in IDL 4461 1
Started by Deleted User
A user has asked the following question:
In an application, I am wondering would it be possible to run Python script in IDL platform. In other words, I have a program written in Python, but need to run it in IDL. Please advise if there's such an option
|
|
|
|
1 |
4461 |
04 Aug 2016 04:08 PM |
|
1 Replies and 1855 Views
Window 0 popup unexpectively 1855 1
Started by Deleted User
A customer using IDL 7.0 on Solaris indicates that a window will pop up unexpectedly when running their application.
|
|
|
|
1 |
1855 |
04 Aug 2016 03:55 PM |
|
3 Replies and 2006 Views
ERROR: Insufficient keyword directives in BATCH MODE 2006 3
Started by Deleted User
Hello,
I have a problem, when I try to run a batch proccess I have this error in ENVI
ERROR: Insufficient keyword directives
I am new programming in IDL, please help me. I am trying to make a batch proccess to Landsat 8 Corrections also I need to now if somebody has FLAASH IDL Code. I use the code that is in the Example, I have IDL 8.5 with ENVI 5.3.
I attach my code, TKS
; Add the extension to the toolbox. Called automatically on ENVI startup.
pro test2_extensions_init
; Set co...
|
|
|
|
3 |
2006 |
04 Aug 2016 05:33 AM |
|
1 Replies and 1994 Views
Java bridge not working from IDL command -line Windows 12 server 1994 1
Started by Deleted User
A customer reported that the IDL Java import bridge is failing when they try to use it from IDL command-line on a Windows Server 2008 R2 system. The IDL Java Import bridge is working with the IDL workbench.
|
|
|
|
1 |
1994 |
28 Jul 2016 10:38 AM |
|
0 Replies and 1739 Views
NetCDF creation bug when _FillValue attribute is of wrong type 1739 0
Started by Deleted User
It seems as if you create a NetCDF file that has a variable with the attribute "_FillValue" that is the wrong type, IDL will silently not write to it. This can happen if you copy/paste some variable definitions and forget to propagate the change in type down through your attributes.
$ idl
IDL Version 8.5 (linux x86_64 m64). (c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation.
IDL> ncid = ncdf_create('test.nc')
IDL> dimid = ncdf_dimdef(nc...
|
|
|
|
0 |
1739 |
27 Jul 2016 10:18 AM |
|
3 Replies and 1678 Views
Issue with a SEaTH_GUI. sav file 1678 3
Started by Deleted User
I have been unsuccessful trying to open and\or install a .sav file using IDL VM 8.5. The thing is: every time I try I receive the following error message: "Attempt to subscript TT with ll is out of range". Could anyone here help on this Thanks.
|
|
|
|
3 |
1678 |
26 Jul 2016 10:48 AM |
|
0 Replies and 1919 Views
IDL Help issue on Mac 1919 0
Started by Deleted User
I'm running Yosemite (OS X 10.10.5) on a macbook pro. I just upgraded my IDL from 7.0.6 to 8.5. However, now when I want to bring up the help screen on a particular IDL routine (e.g. IDL> printf) , it does not work properly. It brings up the IDL help interface in my web browser, but it does not go to the appropriate topic, and prints the the following message to the IDL window:
IDL> osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/LCC Scroll Enhance...
|
|
|
|
0 |
1919 |
26 Jul 2016 09:42 AM |
|
1 Replies and 2316 Views
ENVIMosaicRaster 2316 1
Started by Deleted User
I am trying to mosaic several non-overlapping rasters together (they have same number of bands and same pixel sixe etc). I used the seamless mosaic tool in the envi gui and it worked great. When I tried to execute the ENVIMosaicRaster (https://www.harrisgeospatial.com/docs...) in IDL I got the error message "Mosaic raster input scenes are missing or invalid". During a different run I also got the error "ENVI::OPENRASTER: ENVI has not started."
Any help/insights would be g...
|
|
|
|
1 |
2316 |
22 Jul 2016 09:52 AM |
|
2 Replies and 1876 Views
Issues with ENVIRasterToFID and ENVI_Doit 1876 2
Started by Deleted User
Hi!
I've written a simple program to deal with some hyperspectral data. However, I'm having a problem with the ENVIRastertoFID function. When I run my program, it stops at the function (highlighted in yellow below), saying that Variable is undefined: ENVIRASTERTOFID. However, when I enter the function into the command line, it works just fine and the rest of the program runs. I can't figure out why it works by command line but not when I run the program all at once.
Also, my data consists of tw...
|
|
|
|
2 |
1876 |
21 Jul 2016 03:51 PM |
|
2 Replies and 1481 Views
Problem warping using Image() 1481 2
Started by Deleted User
I want to display an image on a map projection and it seems the image function should do this. I have tried running an example from the documentation and don't get the displayed result. The example code is:
READ_JPEG, FILEPATH('Day.jpg', $
SUBDIR=&91'examples','data'&93), clouds
cloudmap = IMAGE(clouds, $
LIMIT=&91-90,-180,90,180&93, GRID_UNITS=2, $
IMAGE_LOCATION=&91-180,-90&93, IMAGE_DIMENSIONS=&91360,180&93,$
TRANSPARENCY=50, MAP_PROJECTION='Mollweide')
This should...
|
|
|
|
2 |
1481 |
19 Jul 2016 09:58 PM |
|
18 Replies and 2411 Views
Pixel percent count from band math conditional statement output 2411 18
Started by Deleted User
Hello,
I am trying to figure out how to get a percent pixel count from an envi math_doit command. I currently have a conditional statement that results in an output raster where any pixel that meets that requirement has an assigned value of 1, and any that does not, has an assigned value of 0. What I now need is a way to calculate what percent of the pixels are 1 and what are 0. I have tried to use envi stats but that just says my min and max and obviously I already know those are just 0 and 1....
|
|
|
|
18 |
2411 |
19 Jul 2016 06:03 PM |
|
1 Replies and 1537 Views
Vector output for publication and huge PDF margins 1537 1
Started by Deleted User
Most journals recommend vector artwork rather than raster, but I've always leaned toward high-resolution rasters because IDL tends to add artifacts to EPS and PDF output. Using IDL 8.5, I decided to try again and found PDF output doesn't seem to have the same artifacts on my graphics, but it does have very large white space margins I can't get rid of. In the following example I'm trying to make a graphic to a specific size recommended by a journal (95 x 115 mm) with mixed results using different...
|
|
|
|
1 |
1537 |
15 Jul 2016 04:01 PM |
|
1 Replies and 1901 Views
Issues with RESIZE_DOIT 1901 1
Started by Deleted User
I have a 30m resolution raster with 4 bands and would like it to be 300m resolution raster.
In the ENVI gui (version 5.3.1) I used resize data specifying the pixel aggregate interpolation method and it worked correctly in less than 5 seconds. When I tried to execute the same process in IDL (version 8.5.1) using RESIZE_DOIT, it was very slow and did not use the correct interpolation. Instead of using the pixel aggregate interpolation method (3), the resize data processing window in IDL said ...
|
|
|
|
1 |
1901 |
15 Jul 2016 03:59 PM |
|
2 Replies and 1780 Views
Batch process using SPEAR tools 1780 2
Started by Deleted User
Hi,
I have a large amount of hyperspectral data that I need to destripe. I've found that the SPEAR Vertical Stripe Removal tool works really well with my images, but I cannot figure out how/whether I can use IDL to run SPEAR tools in batch mode. I did find this procedure (http://www.harrisgeospatial.com/docs/DESTRIPE_DOIT.html) for destriping, but it doesn't work as well as the SPEAR tool.
Would be grateful for any help, thanks!
|
|
|
|
2 |
1780 |
15 Jul 2016 01:53 PM |