A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [idl]

IDL is an acronym for Interactive Data Language.

Filter by
Sorted by
Tagged with
1
vote
0answers
12 views

How to get index of specific location in IDL

I am trying to get the index of specific lat and lon in IDL. I know how to do it in python. tmp = tmp.sel(lat=lat_loc,lon=lon_loc,method='nearest') But I can't find a way to do so in IDL. Any ...
0
votes
0answers
35 views

Draw a zebra style axis in Cartopy?

I want to use this zebra type of map border in Cartopy. This example was written in IDL which I used a lot in the past. So how can implement this in Python with Cartopy or Matplotlib? Below is some ...
0
votes
0answers
14 views

Calculate distance between multiple arrays and landsat bands in IDL

I have a set of landsat 7 layers, that look like this: files = [ $ "D:\ArcGIS\Programmieren in IDL\Landsat Daten\landsat_b1.tif" $ ,"D:\ArcGIS\Programmieren in IDL\Landsat Daten\landsat_b2.tif" $ ...
0
votes
1answer
74 views

Specifying band combinations when loading LANDSAT MTL files in ENVI IDL?

I'm somewhat new using ENVI and have a very limited background in programming. I was asked to compile 12 RGB and NIR composites of LANDSAT scenes within a specific timeframe and would like to use ENVI'...
0
votes
1answer
73 views

IDL - calculate mean ignoring zeros [closed]

Imagine the following array: a = [10768,10764,10893,10763,10723,10792,0,0,0,0] Using a function like "MEAN" in IDL, is there a way to calculate the mean value, ignoring the zeros? I know this can ...
0
votes
1answer
249 views

Why ENVI IDL writing gifs upside down?

I have a binary classification file shows urban areas. I need to convert this file to 8 bit unsigned integer GIF format. ENVI can't save images as GIF so I've used IDL and write a few lines to ...
0
votes
1answer
383 views

How to export latitude and longitude values of each pixel corner? [closed]

I want to extract latitude and longitude values for each pixel's corner of a TIFF image. The latitude and longitude values for the top right and top left are known. How should I perform this task in ...
0
votes
1answer
123 views

Batch ENVI IDL PointCloudFeatureExtraction results in unprocessed areas [closed]

I have an IDL-ENVI code to batch PointCloudFeatureExtraction for lidar tiles across a large area, however, when run, the output results in lower areas of each tile as "unprocessed". So my question is ...
0
votes
0answers
246 views

IDL - Cropping GeoTiff with IDL (no Envi)

How can I crop a GeoTiff (EPSG:4326) in IDL by using pixel coordinates, and then saving the cropped files with the correct georeferencing? I assume I have to re-set the information in the ...
2
votes
1answer
530 views

Automate Band Math in ENVI with IDL?

I have a series of bandmath processes that need to be run via envi and that I am doing over and over again. I have no experience with IDL but am trying to automate using it. I want to be able to ...
1
vote
1answer
455 views

Calculating latitude and longitude values for each pixel corner?

I have a TIFF image file and I need to extract the latitude and longitude values (in decimal degrees) for each pixel's corners. I have the latitude and longitude values for the top right, top left , ...
2
votes
0answers
133 views

Producing a high-res jpeg with grid from GEOTIFF and Shapefile in Python

I have a bunch of 4-band GeoTIFFs that I would like to save as high resolution JPEG images. But, in the output image, I also need a separate point .shp to be overlayed and labeled with one of the ...
2
votes
1answer
478 views

Conditional statement ENVI

I am trying to do conditional statement in ENVI to calculate multiband image: result = (b1)^2 - (b2)^2 if (b1 eq 0) or (b2 eq 0) result * 0 else result * (result gt 0.0) Is there a way to combine ...
1
vote
0answers
58 views

Reduce raster resolution and determine pixel inclusion based on % pixel overlap

I'm trying to reduce the resolution of a raster from 1m to 50m using a pixel aggregation (average) method, but I need to set a threshold for inclusion (e.g. 75% of the 1m pixels must fall within the ...
0
votes
1answer
132 views

Call Toolbox operators of ENVI from IDL code

Is it possible to call the clustering/classification algorithms included in the toolbox of ENVI (gui) from IDL (source code) and how?
1
vote
0answers
228 views

IDL 7.1.2; How to plot negative correlation in Taylor diagram [closed]

I am working on a model's run performance evaluation, three runs of GFDL-CM2.0 and five runs of GFDL-CM2.1 are used for temperature and precipitation for the years 1979-2000. The objective is to ...
1
vote
0answers
762 views

Georeferencing using corner coordinate

I have thousands of tiff files with meta file containing corner coordinates. All images coordinates are different as they represent different locations. How can I georeference all these files using ...
0
votes
1answer
616 views

opening a georefrenced image in IDL in ENVI

I am working with idl in envi,I want to use ENVI_CONVERT_FILE_COORDINATES in case of finding pixel value of specified point,for this porpuse I have lat and long data of my point but I need to open ...
1
vote
1answer
875 views

Pixel Value in a Lat and Long location in Envi IDL

I am new with ENVI IDL,I want to get pixel value of each band in an image in specified lat and long location.I can do a loop among bands in image using this code ENVI_OPEN_FILE,'E:\MASTER\Payan_Name\...
3
votes
1answer
714 views

Any solution to mosaic Modis MOD13Q1 using batch file?

I have a Modis MOD13Q1 product for Pakistan, four tiles cover my complete area and I have data consisting of 14 years, after every 16-day interval. I want to mosaic them using a batch file which ...
1
vote
1answer
88 views

Python version of MAP_2POINTS

I think I may have stumbled onto an IDL function which does not have a python equivalent... :'( I am working with a Whiskbroom imaging radiometer (Terra/Aqua MODIS), with a corresponding bounding box ...
4
votes
1answer
382 views

ICESat/GLAS coordinate system conversion

I have to import ICESat GLAS14 product data into ArcGIS. I managed to export into an ASCII file the binary GLAS data using NGAT tool, but the coordinates system are in an uncommon format (TOPEX/...
1
vote
1answer
478 views

How to read ASTER metadata in IDL?

I'm trying to read many ASTER images (1B mainly) in IDL (I can try in R also). I'm used to work with Landsat, but the aster metadata is complicated. I write a code with a lots of conditional that can ...
0
votes
1answer
202 views

Calling MRT Swath from IDL

Do you know how to call MRT Swath from IDL? I would like to work with Modis L1B (MOD02HKM), read it, reproject, some processing and writing the results.
14
votes
5answers
8k views

Recommended programming language for remote sensing?

I am beginning studies that hopefully will lead to a long career as a remote sensing specialist. I am currently working with ArcGIS for some applications and learning ENVI for others. I have ...
1
vote
1answer
295 views

Find the vertices of an ROI in XROI using IDL

I need to find the vertices of an ROI shape created in IDL's XROI, so that I can redraw the ROI on multiple images. I know you can find the centroid, area and perimeter with the GEOMETRY command, but ...
2
votes
2answers
886 views

MODIS Level 1B batch process

I am a new MODIS Level 1B user. I have been using the MODIS Swath tool to process my images. However, I have over 1000 images to process. I was wondering if there a script available in IDL or R (very ...
7
votes
1answer
317 views

Phenological event extraction in IDL

I’m doing phenological study using a threshold method in IDL. I have a twelve-band image in 2005 (format is in .tiff not ENVI format). Twelve-band means that monthly images (Jan to Dec) have been ...
0
votes
3answers
3k views

Reading BSQ file format in IDL?

Is there a way to open BSQ file format in IDL?