|
|
|
|
|
1 Replies and 2465 Views
Convert NetCDF to tiff file in IDL 2465 1
Started by Deleted User
Does anyone have a simple script to read in and then save out a NetCDF file to a tiff file The files I have lat / long / and a precipitation variable, that's it. I'd like to convert a list of them in a folder.
I don't have IDL experience and can't find very much about this on the web. Thanks in advance for any help you can provide.
|
|
|
|
1 |
2465 |
11 Dec 2015 05:18 PM |
|
3 Replies and 1372 Views
to insert tabular column inside an image() window 1372 3
Started by Deleted User
Hi,
I am trying to create tabular columns inside an image window that will contain text and image side by side. I am currently using just text(). For example: tsurvey_dt=text(0.274,0.6,'SURVEY DATE'' ' S_DATE,FONT_SIZE=6,FONT_NAME='Helvetica')
tsurvey_dt.POSITION=&910.258,0.6&93
Kindly notice the dropbox link that helps understand the problem better. Thanks!
https://www.dropbox.com/s/k1lu1l3jxsb1srn/getting_tables.PNGdl=0
|
|
|
|
3 |
1372 |
11 Dec 2015 10:15 AM |
|
4 Replies and 2337 Views
Sum data bands 2337 4
Started by Deleted User
Hello all. I have a lot of imagery and I'm trying to sum the bands of each image (So I statistically see things like cloud). This is my current script:
; Start ENVI
e = ENVI()
; Open a data file
File = Filepath('14106_001.tif', Root_Dir = 'C:\Brett', $
Subdir = &91'Images'&93)
Raster = e.OpenRaster(File)
; Determine an output file
OutFile = e.GetTemporaryFilename()
; Return a file ID
fid = ENVIRasterToFID(Raster)
; Compute statistics.
ENVI_File_Query, fid, D...
|
|
|
|
4 |
2337 |
10 Dec 2015 02:33 PM |
|
1 Replies and 1620 Views
Read AIFF files in IDL 1620 1
Started by Zachary Norman
How can I read a audio file with AIFF extension (audio interchange file format
|
|
|
|
1 |
1620 |
09 Dec 2015 12:46 PM |
|
4 Replies and 1904 Views
IDL runing low disc space 1904 4
Started by Deleted User
Dear Exelis and forumers
I have a question on handling my computer disc space. My temp folder (C:\Users\Seydou.Traore\AppData\Local\Temp) is full and I am running idl with low disc space.
So, I am wonder if by deleting all files in the temp folder will not harm the enviidl to work properly. Could you please advise me what to do.
Best
Tra
|
|
|
|
4 |
1904 |
08 Dec 2015 09:53 AM |
|
1 Replies and 1316 Views
printf is disable,why? 1316 1
Started by Deleted User
I use obj "IDLnetUrl", but the printf cant be effect without the code matter.
( the printf cant print the string into the txt)
the code is follow:
oUrl = OBJ_NEW('IDLnetUrl')
oUrl->SetProperty, CALLBACK_FUNCTION ='Url_Callback'
oUrl->SetProperty, VERBOSE = 1
oUrl->SetProperty, URL_SCHEME = 'ftp'
oUrl->SetProperty, URL_HOST = '128.138.97.102'
oUrl->SetProperty, URL_USERNAME = 'anonymous'
oUrl->SetProperty, URL_PASSWORD = '*****'
oUrl->Set...
|
|
|
|
1 |
1316 |
08 Dec 2015 05:19 AM |
|
1 Replies and 1866 Views
How to cite IDL and Exelis VIS in a manuscript? 1866 1
Started by Deleted User
IDL user question:
"Hi,I'm hoping to publish a map that I generating with IDL and the MAP_GRID feature as part of a research manuscript, and I wonder how I should go about citing IDL and Exelis I'm sure this is listed somewhere on your site, and I apologize for not being able to find it. Thanks!"
|
|
|
|
1 |
1866 |
07 Dec 2015 04:35 PM |
|
2 Replies and 1727 Views
ENVI ROI to Image Doit 1727 2
Started by Deleted User
I know it is a bit antiquated to be using DOITs but such is the process.I'm trying to use ROIs to edit a class image, to do this I need to convert my ROIs to images. I've successfully used envi_restore_rois and envi_get_roi_ids, to access my file associated ROIs. The trouble lies in, that I want to make two class images from the restored ROIs. One class image that will have ROIs 1 and 2, this one will always be written by the program. If there there is a 3rd ROI, it needs to be a separate image,...
|
|
|
|
2 |
1727 |
07 Dec 2015 03:38 PM |
|
2 Replies and 1823 Views
Plot multiple crosshairs 1823 2
Started by Deleted User
Hello!
Is there a way to plot multiple crosshairs in one plot I tried something like this:
p=plot(array)
c1=p.crosshair
c1.location=&91somex,somey&93
c2=p.crosshair
c2.location=&91otherx,othery&93
Unfortenately, this will only plot the last crosshair (i.e. c2). Is there a solution to plot both
Thanks in advance!
Wouter
|
|
|
|
2 |
1823 |
07 Dec 2015 03:55 AM |
|
1 Replies and 4275 Views
Object Reference Type Required in this context: PYTHON 4275 1
Started by Deleted User
Hi All,
I am trying to bridge Python and IDL (Python 2.7.10 and IDL 82). I have the system environment variable as:
PATH->C:\Python27;C:\Anaconda;C:\Program Files\Exelis\IDL82\bin\bin.x86_64;PATH
PYTHONHOME -> C:\Anaconda
PYTHONPATH -> C:\Program Files\Exelis\IDL82\bin\bin.x86_64;C:\Program Files\Exelis\IDL82\lib\bridges
In IDL command line, I try to check by:
ran = Python.Import('numpy.random')
But shell display
Object reference type required in this context: PYTHON
Execution halted ...
|
|
|
|
1 |
4275 |
04 Dec 2015 04:38 AM |
|
2 Replies and 1588 Views
High dimensional array concatenation 1588 2
Started by Deleted User
For arrays of 3 dimension or higher, concatenation operation will result this error message:
Only three levels of variable concatenation are allowed.
Is there any simple solution for this
|
|
|
|
2 |
1588 |
04 Dec 2015 12:36 AM |
|
1 Replies and 1605 Views
CONGRID() not shrinking data as supposed to 1605 1
Started by Deleted User
Hi,
I'm receiving a scrambled output while trying to shrink a bigtiff ortho.Kindly notice the dropbox link :
https://www.dropbox.com/s/1ndfd1spp178dr4/CONGRID_ERROR.pngdl=0
|
|
|
|
1 |
1605 |
02 Dec 2015 11:45 PM |
|
1 Replies and 1763 Views
can WHERE function be maxed out? 1763 1
Started by Deleted User
I am indexing large datasets (2239 by 880 pixels - not that large for remote sensing datasets) using the WHERE function, and counting the indexed pixels. My counts are clearly off, and I have the suspicion that the count cannot handle the large number. I read that count is a long integer, but googling I find conflicting information on the maximum number that a long integer can hold. Is there a way to get around this Is it only the count that is a problem, or the indexing itself
|
|
|
|
1 |
1763 |
02 Dec 2015 05:19 PM |
|
1 Replies and 1372 Views
my routine is not working - help 1372 1
Started by Deleted User
I am using a particular library routine to visualize date from wind space craft. For some reason This is not working. I am very new to IDL and there is not much help in my side and I need to complete my masters thesis soon. Can anyone help me in sorting out that so that i can complete my thesis I can offer you a pay to work on it. Anyone could help me My email is cibi.indhugmail.com
|
|
|
|
1 |
1372 |
26 Nov 2015 07:44 AM |
|
2 Replies and 1888 Views
File_UNTAR writting error 1888 2
Started by Deleted User
Hi,
I'm having problems with the FILE_UNTAR from IDL (8.4). I'm working with the Cluster Science Archive (CAS) and the data there is compressed in .tar.gz format. As I try to untar the data the following message appears in the console:
Uncompress c:\Users\jromero\IDLworkspace84\TDAS\spedas_1_00\idl\Jose\CSA_data\jromerol1245913.tar.gz 125839360 bytes
CSA_Download_20151126_1112/C2_CP_FGM_FULL/C2_CP_FGM_FULL__20011001_000000_20011002_000000_V140306.cdf, 62815401 bytes
FILE_UNTAR: Erro...
|
|
|
|
2 |
1888 |
26 Nov 2015 03:21 AM |
|
5 Replies and 1412 Views
VectorMaskRaster not executing 1412 5
Started by Deleted User
<p>I am masking an image based on 50 some vector shapefiles using the following code:</p>
<p>pro CIR_vector<br />
<br />
e=ENVI()<br />
cd, current = first_dir<br />
<br />
;location where NAIP image is located<br />
cd, &39;F:\Sheyenne\NDVI_comparison\mosaic&39;<br />
files = FILE_SEARCH(&39;*.dat&39;, count=count)...
|
|
|
|
5 |
1412 |
22 Nov 2015 12:53 PM |
|
0 Replies and 1718 Views
Merge Two Shape File 1718 0
Started by Deleted User
<p>How to merge to .shp file (any vector type) into newly created blan .shp file using IDL(IDLffShape) package.</p>
|
|
|
|
0 |
1718 |
17 Nov 2015 06:10 AM |
|
3 Replies and 1965 Views
Merging two shapefiles 1965 3
Started by Deleted User
<p>I have shapefile a and shapefile b of same entity type (point) . I would like to merger them into one shapefile , i.e all points of shapefile b should come into shapefile a. I have tried it by modifying the example codes of idlffshape but it gives me an error &39;&39;Invalid Attribute record structure. The structure type must match the type." when i try to add the attributes to shapefile a from shapefile b. </p>
<p> </p>
<p> </p>
&l...
|
|
|
|
3 |
1965 |
17 Nov 2015 06:01 AM |
|
2 Replies and 2140 Views
ROI does not contain valid pixels 2140 2
Started by Deleted User
<p>I am subsetting multiple rasters based on multiple ROI&39;s with the following code:</p>
<p>pro allot_roi2<br />
e=ENVI()<br />
cd, current = first_dir<br />
<br />
;location where all 80 NDII VI&39;s are located<br />
cd, &39;F:\Sheyenne\Atmospherically Corrected Landsat\Indices\Main\no_trees\NDVI&39;<br />
files = FILE_SEARCH(&39;*.dat&39;, count=count)<br />
c...
|
|
|
|
2 |
2140 |
14 Nov 2015 11:51 AM |
|
6 Replies and 1904 Views
WorldView-2 Radiometric Calibration Batch Process 1904 6
Started by Deleted User
<p>I have a large number of WorldView-2 NITF images to batch process. The first step would be radiometric calibration to radiance (preferably) or reflectance. I tried using the ENVIRadiometricCalibrationTask to do so, but could not find an example code like the examples for Landsat 8 or QuickBird, and the results of my attempts to finish the code gave me poor results. Does anyone have a code or advice for how to batch radiometrically calibrate WorldView-2 NITF images</p>
|
|
|
|
6 |
1904 |
12 Nov 2015 01:29 PM |