Search this forum:
You are not authorized to create a new topic
Page 1 of 11712345 > >>
 Last Post
0 Replies and 41 Views How to write structure to file with printf without carriage returns  41  0 Started by  David Starbuck Question: A user has asked us how to write data from a structure to a file using printf. without carriage returns being added to the middle of a record. Answer: If you run the following commands, it print the structure to a file with carriage returns: IDL> A = {star, name:'Hello There!', ra:2.0, dec:3.0, inten:FLTARR(12)4.0} IDL> openw, 1, 'test_struct_output.txt' IDL> printf, 1, A IDL> free_lun, 1 On way to workaround this issue is to use the FORMAT keyword to specif...
0 41
15 Mar 2018 12:28 PM
0 Replies and 23 Views Registration to a standard raster  23  0 Started by  Matthew Vernier Hi all, I’ve written an IDL script to reproject and “snap”, or register at the pixel level, imagery to a standard raster. The standard raster is much larger in extent than a Landsat image, and when I use ENVIGridDefinition::Intersection to compute the intersection, the output is always registered to the smaller of the two inputs, though the output extent is essentially correct (it is offset by a sub-pixel distance). Is there a way to force registration to the larger input Thank you, Matt Ver...
0 23
13 Mar 2018 06:24 PM
6 Replies and 240 Views New graphics: plot titles and tick names disappear  240  6 Started by  Hojin Cho I am currently using IDL 8.5.1 (experienced the same issue with 8.4 and 8.5.0) on Windows 10 machine (x64). The code I used follows (which is on, except a bit of modification since BARPLOT does not have DATA keyword) x = FINDGEN(41)/10 - 2 gauss = EXP(-x^2) p = BARPLOT(x, gauss, $ TITLE='Gaussian Distribution',$ YRANGE=&910,1.1&93) On the graphic window, the plot does not show any kind of defect. However, whenever I try to export it into ot...
6 240
by  Lyn DooseJump to last post
13 Mar 2018 12:45 AM
2 Replies and 193 Views Executing IDL program from shell  193  2 Started by  dnantonio Hi, I am new to this forum, so I apologize if my post is not correctly formatted, as I don't understand how to wrap lines. I am trying to set up a shell script to exec...
2 193
by  dnantonioJump to last post
09 Mar 2018 06:54 AM
2 Replies and 41 Views One-item array and scalar  41  2 Started by  Stefano Bianchi Hi, this is probably a naive question, but I can't find the solution. A simple example is the easiest way to present the issue. IDL> v1=&91;1,2,3,4,5&93; IDL> v2=&91;10,20,30,40,50&93; IDL> match=where(v1 eq 2) IDL> help, v2&91;match&93; <Expression> INT = Array&91;1&93; IDL> match2=v2&91;where(v1 eq 2)&93; IDL> help, match2&91;0&93; <Expression> INT = 20 The problem is that v2&91;match&93; is, as expected, an a...
2 41
by  Stefano BianchiJump to last post
09 Mar 2018 01:16 AM
2 Replies and 144 Views dlm-dll combination that did work, now does not.  144  2 Started by  David Short I built a dlm-dll combination. I actually built two such combinations. The one that had the interesting stuff I wanted to do and testmodule which is the sample found in the documentation that uses testfun and testpro. Everything worked. Two months later I bring it out of version control to insert it into a new branch. Since then I have altered some of the support code (new cuda version)that the dll uses. I recompile and place the dlm-dll where they should go doesn't work. Error loa...
2 144
by  David StarbuckJump to last post
08 Mar 2018 04:47 PM
1 Replies and 77 Views IDL 8.5 and github  77  1 Started by  Ronn Kling Hello Everyone, I want save people some time if they use 8.5 and github. As of today it is not possible to commit or pull with that version. Going to 8.6 works fine. I've tracked it down to the Eclipse version in 8.5 uses an outdated sslVersion. I've tried everything I can think of to make it work, but no luck. If anyone has had success making this work with 8.5 can they post it to the news group Ronn Kling
1 77
by  Ronn KlingJump to last post
05 Mar 2018 04:28 AM
3 Replies and 156 Views OSX High Sierra IDL 8.5.1: error Keyword parameters not allowed in call.  156  3 Started by  Steven Finkelstein Hello, I recently got a new machine which had OSX 10.13 (High Sierra) preinstalled, and my university installed IDL 8.5.1. I proceeded to try to run some code which has worked fine on other machines running IDL 8.3 and 8.6. I get this error: Keyword parameters not allowed in call. (it points to the following line, though as I show below, I don't think anything is wrong with this syntax): if finite(lnp&91;i&93;) then lnp&91;i&93;=call_function(lfunc,x&91;*,i&93;,_EXTRA=_ex...
3 156
by  Wayne LandsmanJump to last post
27 Feb 2018 02:09 PM
0 Replies and 60 Views IDL 8,4 on a windows 64bit machine cannot see ImageMagick-7.0.7-Q8  60  0 Started by  MariLiza I am using a Windows 10 64bit machine running IDL8.4 which has installed on it the latest version of ImageMagick-7.0.7-Q8. I cannot make IDL see that I have ImageMagick on my machine, even though I checked the Path, in Environment Variables of the machine, and ImageMagick-7.0.7-Q8 is there. The spawn command works fine from the IDL command line &91;I asked it to do something else.&93; When using a cmd window ImageMagick also works. It is just that the two cannot work together. I have full adm...
0 60
07 Feb 2018 05:20 AM
2 Replies and 188 Views Read coordinate data of .mat file in IDL  188  2 Started by  christin matondang Hello everyone, i am still a beginner in IDL. I need your help. I want to open lat and lon data in .mat format, whether it can be done in IDL or should I convert to another format Previously I found link related to this issue in the forum, but I do not understand how it works.
2 188
by  christin matondangJump to last post
05 Feb 2018 02:36 AM
2 Replies and 153 Views Creating lossless video output  153  2 Started by  Kenneth Bowman I am trying to create a lossless MPEG-4 video from a sequence of PNG files. The basic code looks like this ni = 1540 nj = 300 fps = 6 infile = FILE_SEARCH(indir, '*.png', COUNT = nframes) video = IDLffVideoWrite('test.mp4') stream = video.AddVideoStream(ni, nj, fps, PRESET = 'normal') FOR s = 0, nframes-1 DO BEGIN image = READ_PNG(infile&91;s&93;) time = video.Put(stream, image) ENDFOR video = 0 If I understand the documentation for IDLffVideoWrite correctly, PRESET = 'no...
2 153
by  Kenneth BowmanJump to last post
02 Feb 2018 12:24 PM
2 Replies and 152 Views Performance Issues with OrderedHash  152  2 Started by  Niklas Keck Good day, The time required to access the keys and values of an Orderedhash rises exponentially with the number of elements contained in the Orderedhash. This makes it unusable for large collections. The same is !not! true for ordinary Hash objects. With a hash the time required to access the keys and values rises approximatly linearly with the number of elements contained within the hash. This is what I would expect for an OrderedHash as well. Is this expected behaviour Will t...
2 152
by  Niklas KeckJump to last post
31 Jan 2018 03:10 AM
1 Replies and 83 Views add plugin to DE?  83  1 Started by  Ronn Kling I would really like to modify the default commit template for Git, but this feature looks like the only way to do it. Is it possible to add this, or is there another way Ronn Kling
1 83
by  David StarbuckJump to last post
30 Jan 2018 03:49 PM
2 Replies and 67 Views Formatting forum postings  67  2 Started by  Kenneth Bowman Are there instructions somewhere on how to format postings to this forum (embedded code, etc.) Whatever I enter shows up in the Preview as a single wrapped (and unreadable) paragraph. Thanks, Ken
2 67
by  Kenneth BowmanJump to last post
30 Jan 2018 03:23 PM
1 Replies and 93 Views read netcdf file with python  93  1 Started by  Simone Colella Hi, I would like to read a netcdf4 file using python bridge. I imported netCDF4 module and then I read the file: rd=python.import('netCDF4') data=rd.Dataset('/tmp/') now with help,data I obtain the information: <class 'netCDF4._netCDF4.Dataset'> root group (NETCDF4 data model, file format HDF5): Conventions: CF-1.4 title: dataset-oc-med-chl-modis-l3-chl_1km_daily-rt-v02 netcdf_version: v4 grid_mapping: Equirectangular parameter: c...
1 93
by  David StarbuckJump to last post
23 Jan 2018 11:36 AM
1 Replies and 75 Views Configuration of idlpy into Anaconda Python environment  75  1 Started by  Lorenzo Bernardi I need to use idlpy tools and functions using the Python version and environment provided with Anaconda. I use Python 3.6.3 version. The problem is that using the Anaconda system, it is not possibile specify or set th PYTHONPATH and PYTHONHOME variables, because these variables are managed by Anaconda itself. Thank you for any suggestion.
1 75
by  David StarbuckJump to last post
23 Jan 2018 10:50 AM
0 Replies and 101 Views How to write file from IDLgrWindow  101  0 Started by  David Starbuck User Question: How do you write files directly from an IDLgrWindow Possible Solution: Use the IMAGE_DATA property to get the image that is displayed in the window. Then use routines such as WRITE_PNG to write the image data to a file. For example: oWindow.GetProperty, IMAGE_DATA=img WRITE_PNG, 'test.png', img
0 101
16 Jan 2018 12:40 PM
0 Replies and 215 Views New Google Group for IDL discussions  215  0 Started by  Wayne Landsman Since 1991, the Usenet group comp.lang.idl-pvwave has been a place for discussion of the IDL language and the similar language PV-WAVE. The group is unaffiliated with Harris Geospatial, and is mainly for discussions among IDL users. Recently, the Usenet group has come under heavy attack from spammers, making it mostly unusable. Therefore, I have created a Google group to replace the Usenet group!forum/idl-pvwave You need to have a Google ...
0 215
08 Jan 2018 07:57 AM
0 Replies and 96 Views How to select and operate on a subset of array elements?  96  0 Started by  Jim Uba IDL USER QUESTION:: 'I have an IDL problem that I haven’t been able to solve and was hoping you might be able to point me in the right direction. I have a raster that I’ve read into an array and I want to perform an operation only where there aren’t the no data values of -32767. I thought I could use the if statements but they don’t work on arrays obviously. Is there an array expression equivalent that will allow me to do this' ANSWER: Here is example code that illustrate...
0 96
05 Jan 2018 01:15 PM
0 Replies and 109 Views Missing for python-IDL bridge  109  0 Started by  David Starbuck Problem: A user reported that the script is missing from the their IDL 8.5 installation. Solution: The script was added in IDL 8.6. To get access to this script, the user should upgrade to IDL 8.6.1. David -Harris GS
0 109
21 Dec 2017 08:56 AM
You are not authorized to create a new topic
Page 1 of 11712345 > >>


Use Multispectral Imaging to Boost Crop Health: From Data Collection to Analysis | Live Webinar


Live Webinar | April 3 The secret is out! Through the use of multispectral imagery, it is now possible to... more »

PrecisionPass | DEMO


Get a quick demonstration of how PrecisionPass and learn how it quickly assesses your UAS data quality... more »


Sign up to receive the latest news, events, technologies and special offers.