Resources
-
Recent Posts
Recent Tweets
- Read “#Landsat 8 Data Reader Included in ENVI 5 Service Pack 3” & find out what’s coming soon! ow.ly/lhSZd 2 hours ago
- RT @nasa_landsat: @ScientificAmerican likes Landsat's Long Swath! Take A Breathtaking Trip Around The World In 15 Min ow.ly/lkRz1 2 hours ago
- VISualize 2013 is almost here! Have you registered? #GIS #RemoteSensing #Geospatial ow.ly/k87l2 4 hours ago
Like Exelis VIS
Tags
(New) Graphics AGU arrays Atle Borsholm code performance control statements Direct Graphics ENVI 5 ENVI programming GRIB guest post hashes HDF5 IDL 8 IDL 8.1 IDL 8.2 IDL 8.2.1 IDL 8.2.2 IDLffVideoWrite image implicit Get/SetProperty Jim Pendleton keyword inheritance Linux lists map projections movies MPEG-4 NAME property netCDF NPP Object Graphics OOP PNG PostScript Ron Kneusel science! sorting user group VIIRS VISualize web welcome widget programming WIDGET_WINDOW
Monthly Archives: July 2012
The command line and the Workbench
There are two primary ways of using IDL: the command line (CLI*) and the Workbench (WB). The CLI allows direct access to the IDL interpreter. The WB is a separate program that sits on top of IDL and provides a slew … Continue reading
Testing parameters with N_ELEMENTS and !null
The N_ELEMENTS function is typically used to test whether an input parameter has data. For example, here’s a program that doubles a number: function double_it, x compile_opt idl2 on_error, 2 if n_elements(x) eq 0 then $ message, ‘Need input number … Continue reading
Posted in language, programming
Tagged code performance, IDL 8, null variable, parameter testing
6 Comments
Sandia National Labs visit
I’ll be at Sandia National Laboratories in Albuquerque this Wednesday, July 18, to give a talk on using IDL 8. The talk is scheduled for 9-11 am in Bldg. 960, Rm. 1001B. If you’re at the lab, please join us!
Updates to the MAPGRID function
Prior to IDL 8.2, the labels used on the graticule produced by MAPGRID were hardcoded (e.g., 30oE or 15oS). Now, with the LABEL_FORMAT property, you can provide a callback function to create labels with custom formatting. Also, through the LATITUDES and … Continue reading
(New) Graphics Erase method
Here’s a small, but worthy, addition to IDL in 8.2: NG now has an Erase method, analogous to the ERASE procedure in DG. For example, a window with a plot and an annotation: IDL> w = window(window_title=’Reuse this window!’) IDL> … Continue reading