X
Search this forum:
Search
You are not authorized to create a new topic
Page 7 of 126 << < 56789 > >>
Topics
 Replies
 Views
 Last Post
1 Replies and 5782 Views Data types LIST and HASH are missing  5782  1 Started by  Deleted User I am struggling to understand why I am unable to create certain compound data types in my IDL programs. I came upon this problem in my code while trying to use the data types LIST and HASH and after further inspection I found that I also cannot produce DICTIONARY and ORDEREDHASH. For example, following the syntax given on the page - https://www.harrisgeospatial.com/docs/IDL_Data_Types.html I get the following result when trying to construct a hash data type IDL> h = HASH('Id',1234)...
1 5782
by  Ben CastellaniJump to last post
22 Jul 2019 03:17 PM
3 Replies and 1657 Views APP_USER_DIR Error in Widget App  1657  3 Started by  Deleted User I am trying to distribute a Widget based application using a .sav file. The steps I used to create the .sav file are below and are all done in a clean IDL session. IDL>.r traj3d_3d_animate IDL>RESOLVE_ALL IDL>SAVE, /ROUTINES, FILENAME='/path/to/file.sav' However, I get an error when the application runs. The error is below: APP_USER_DIR: Null string not allowed in this context: . Execution halted at: TRAJ3D_3D_PLOT_INIT 59 TRAJ3D_3D_ANI...
3 1657
by  Deleted UserJump to last post
11 Jul 2019 11:19 AM
1 Replies and 1623 Views IDL FREE_LUN error  1623  1 Started by  Deleted User I have a script that loops over a function that opens different files and reads their contents. At its root, the function is utilizing FXREAD.PRO to read the FIT file. On about the 200th iteration the script stops with the error... FREE_LUN: Error closing file. Unit: 100, File: /PATH/TO/FILE Bad file descriptor I'm guessing this means that the LUN assigned for the opened file is not being closed properly and a open unused LUN is not available Since I was using FXREAD.PRO I figure...
1 1623
by  Ben CastellaniJump to last post
08 Jul 2019 02:30 PM
1 Replies and 1161 Views Math operations on arrays of different dimensions  1161  1 Started by  Ben Castellani Is it possible for IDL to produce an error message and stop the code if mathematical operations are attempted on arrays of different lengths Here is an example IDL> a = lindgen(10) IDL> b = intarr(2) 1 IDL> help, a, b, a/b, a*b, ab A LONG = Array&91;10&93; B LONG = Array&91;2&93; LONG = Array&91;2&93; LONG = Array&91;2&93; LONG = Array&91;2&93;
1 1161
by  Ben CastellaniJump to last post
08 Jul 2019 02:15 PM
0 Replies and 2515 Views How do I use IDL to differentiate between NetCDF-4 and NetCDF-3 files?  2515  0 Started by  Deleted User Q: An IDL user asks: How do I use IDL to check the type of an NetCDF file, for example, NetCDF-4 (HDF5) or 'classic' (NetCDF-3) A: As of IDL 8.7.2, IDL doesn't have a simple built-in routine to distinguish between NetCDF-4 and NetCDF -3 files. However, custom IDL code might allow this, for example: ; <...> file = 'mydata.nc' print, '>>> File: 'file ; All NetCDF-4 files are HDF5 (but not always vice versa) if H5F_IS_HDF5(file) then begin pri...
0 2515
21 Jun 2019 09:45 AM
1 Replies and 2142 Views ENVI Gain Offset Raster  2142  1 Started by  Deleted User Hello everyone! I am using envi api programming with envi 5.3 and idl 8.5. But ENVIGainOffsetRaster doesn't work in my envi/idl programming. in other wods whenever I open it's result in my software, it's information about gain and offsets are empty. could you help me please sincerely, Thanks!
1 2142
by  MariMJump to last post
20 Jun 2019 07:52 AM
1 Replies and 2621 Views How can I have a trial version IDL?  2621  1 Started by  Deleted User Hi, Our team is planning to have 5 copy licenses of IDL to provide it for our customer. Before buying official licenses, I would like to have a trial version of IDL. Could you please give me the guideline to have a trial version Is there no chance to get a temporary license of IDL, please let me know.... Thank you.
1 2621
by  MariMJump to last post
20 Jun 2019 05:33 AM
0 Replies and 2107 Views How to display an image that sets the data ignore value  2107  0 Started by  Deleted User Hi , I clipped an image using a vector and added ‘data ignore value = 0’ to the header file. It is correct when displayed in envi but still has black borders in IDL. I don't know how ‘data ignore value’ is handled by envi. Is it saved as NAN What function should I use to display an image with no black border in IDL Or how do I deal with the value 0 in the array that should be ignored
0 2107
19 Jun 2019 07:32 AM
1 Replies and 1414 Views band math for cycle  1414  1 Started by  Deleted User Dear all, I'd like to perform the same band math expression (to calculate NDVI) on three different Sentinel-2 images, located in different folders. I'd also like to save them with different names that maintain a part of the names of the original files. I wrote this code where first I list the paths of the images ( in Files=&91;... ) and then I run a for cycle to perform the NDVI of each of them and to save the results with different names, which recall the name of the original images: pro...
1 1414
by  Ben CastellaniJump to last post
11 Jun 2019 04:13 PM
0 Replies and 2026 Views Undefined function when running IDL program from web app  2026  0 Started by  Ben Castellani We are attempting to run idl from a web program (all local). The batch file and IDL program command work perfectly unless they are started from the web page, then we get an error saying the file we are trying to run is not found. This is obviously a path definition error, but I don't know where to look. The batch file is idl -e 'c:\net\wwwroot\DataFiles\username\com_line1' >> Program_Run.txt The IDL file is ohello = obj_new('foo') ohello->open,'c:\net\wwwroot\DataFile...
0 2026
11 Jun 2019 04:08 PM
2 Replies and 7294 Views attempt to call undefined function.  7294  2 Started by  Deleted User When running an IDL example I get the following error. Attempt to call undefined function: 'IMAGE' When I print the path variable using the following command print, !PATH I can see that the path variable includes a folder in which “image.pro” is located. I am not sure why I am getting this error. /Applications/harris/idl86/lib/enterprise/ese:/Applications/harris/idl86/lib/graphics:/Applications/harris/idl86/lib/hook:/Applications/harris/idl86/lib/imsl:/Applications/harris/idl86/li...
2 7294
by  Deleted UserJump to last post
07 Jun 2019 04:52 PM
4 Replies and 3730 Views sav files incompatible between v8.6.1 and v8.7.2  3730  4 Started by  Deleted User A sav file cannot be restored by IDL v8.7.2 when it contains a list and was written in IDL v8.6.1 and vice versa. Example: a = list(&91;1,2,3&93;) save, a, FILENAME='test.sav' In the documentation (https://www.harrisgeospatial.com/docs/Creating_SAVE_Files_of_P.html) it says that sav files are backward compatible which does not seem to be the case. The error I get when opening the file in the other IDL version is the following: Wrong number of tags defined for structure: LIST. ...
4 3730
by  Deleted UserJump to last post
03 Jun 2019 06:13 AM
0 Replies and 2098 Views Error using h5_parse  2098  0 Started by  Deleted User I have recently installed IDL 8.7.2 on my Linux x64 laptop. Whenever I try to use H5_PARSE I run into the following error: H5_PARSE: Attempt to call undefined function: 'ORDEREDHASH'. This happens for instance when I try run the example for the H5_PARSE man page: prompt> File = FILEPATH('hdf5_test.h5', SUBDIR=&91;'examples','data'&93;) prompt> Result = H5_PARSE(File) H5_PARSE: Attempt to call undefined function: 'ORDEREDHASH'. Execution halted at: $MAIN$ Many thanks in...
0 2098
01 Jun 2019 03:36 PM
0 Replies and 2030 Views vectors or arrows in 3D  2030  0 Started by  Deleted User I want to plot vectors or arrows in 3D. Is there a way to do this without using object graphics
0 2030
30 May 2019 01:01 PM
1 Replies and 2041 Views IDL_IDLBRIDGE Error  2041  1 Started by  Deleted User Hi all, I am processing a Pléiades images using ENVI and the following error message is generated: IDL_IDLBRIDGE Error: IDLCFUIVIDEOPLAYER is already defined with a conflicting definition. This error was communicated to me by performing the following operations: - GramSchimdt Pansharpening - Subsetting raster from ROI - Using the Change Detection tools - Using the NN and the SVM classification tools. Envi 5.5.2 and IDL are installed in a virtual machine with Windows Server 2012R2...
1 2041
by  MariMJump to last post
15 May 2019 09:43 AM
1 Replies and 2014 Views error using IDLPY with bin.x86_64\idl_xml.dll  2014  1 Started by  Deleted User When I run a script python to run a sarscape task written using IDL, I receive the following error: Traceback (most recent call last): File 'C:/eoscripts/sar-data-processing/sentinel_sarscape_import_idl.py', line 155, in <module> main() File 'C:/eoscripts/sar-data-processing/sentinel_sarscape_import_idl.py', line 150, in main sentinel_import(inputFile, output_dir, AOI) File 'C:/eoscripts/sar-data-processing/sentinel_sarscape_import_idl.py', line 117, in sentinel_import ...
1 2014
by  Ben CastellaniJump to last post
14 May 2019 03:24 PM
1 Replies and 1771 Views Python to IDL bridge: unable to call IDL.pro function  1771  1 Started by  Deleted User I am trying to call a function file 'el2xv.pro' which I have in my working directory. I tried both ways below with no luck. Please help. >>> from idlpy import * >>> IDL.el2xv(Mcen, a, E, I, O, w, M) Attempt to call undefined function: 'EL2XV'. Execution halted at: $MAIN$ Traceback (most recent call last): File '<stdin>', line 1, in <module> File '/usr/local/harris/idl87/lib/bridges/idlpy.py', line 288, in __call__ if err: raise IDLErr...
1 1771
by  Ben CastellaniJump to last post
13 May 2019 10:52 AM
0 Replies and 2223 Views Interferogram analysis  2223  0 Started by  Deleted User Has anyone used IDL to identify fringes (and fringe shifts) in a two dimensional image
0 2223
02 May 2019 02:53 PM
2 Replies and 1495 Views Using ROIs from multiple images in classification  1495  2 Started by  Deleted User I'm working with hundreds of images from a time-series capture and have ROIs from multiple images that I would like to compile into a training dataset for SVM classification. The images were all taken with the same sensor at the same time of day, however I'm having trouble figuring out how to use all of the ROIs to train a SVM classifier. Is there a way to do this in ENVI IDL I've tried: outExamples = ENVIExtractExamplesFromRaster(bandStack, rois); but this gets over-written with every new ...
2 1495
by  Deleted UserJump to last post
20 Apr 2019 09:26 AM
1 Replies and 1536 Views MCTK_TOOLS  1536  1 Started by  Deleted User I have one query regarding MODIS preprocessing data, when I simply download the MODIS(MOD09A) product by simply click raw .hdf file(Without any order request) and processing by MODIS CONVERSION TOOLKIT(MCTK) tools it easily processes the data without showing any error. In the case of request order file in earth data, I mean preprocessing (SDS select, Reproject, Reformat, Mosaic) data, when I order these files as a simple preprocessing function Reproject and selected SDS file with a .hdf fo...
1 1536
by  MariMJump to last post
18 Apr 2019 10:11 AM
You are not authorized to create a new topic
Page 7 of 126 << < 56789 > >>