Tag Archives: Linux

Batch processing with IDL

Following the theme of Mike Galloy’s post yesterday, I’d like to show an example of noninteractive batch processing with IDL. The example below uses Linux and bash, though I used to do similar things on Solaris (and SunOS before that!) … Continue reading

Posted in programming | Tagged , , , | 4 Comments

Getting the IDL process identifier on Linux

Atle Borsholm showed me this technique for getting IDL’s process identifier (or process id or pid) on Linux (though it should work on any UNIX-based system): IDL> pid = call_external(‘libc.so.6′, ‘getpid’) IDL> print, pid 22468 I used this recently with pmap … Continue reading

Posted in language | Tagged , , , , | 3 Comments

Updated snow water equivalent map

Last January, I posted a link to the daily snow water equivalent (SWE) map created by Andrew Slater at NSIDC. He’s since updated his website to include maps of SNOTEL stations throughout the western U.S., as well as climatology plots … Continue reading

Posted in visualization | Tagged , , , , , | Leave a comment

Updates to the GRIB helper routines

I’ve received feedback from several people that my GRIB_GET_RECORD routine was causing a nasty hard crash of IDL on 64-bit Linux and Mac OS X. Corinne James of Oregon State University emailed me recently with the problem both identified and … Continue reading

Posted in data access, language | Tagged , , , , | 5 Comments

Making a Unity launcher icon for the IDL Workbench

I recently upgraded my Ubuntu Linux distribution from 10.04 LTS to 12.04 LTS. Although I’ve used GNOME for the last decade+, I’m adjusting fairly quickly to the Unity desktop environment. However, one thing that wasn’t apparent is how to add … Continue reading

Posted in workbench | Tagged | 4 Comments

Native OPeNDAP support in IDL

OPeNDAP is an acronym for “Open-source Project for a Network Data Access Protocol.” From the OPeNDAP website: “OPeNDAP provides software which makes local data accessible to remote locations regardless of local storage format.” Through Unidata’s netCDF-4 library, IDL 8.2 includes … Continue reading

Posted in data access, language, visualization | Tagged , , , , , , , | 5 Comments

Using (New) Graphics in an IDL widget program, part I

Here’s an example of embedding an IDL 8 (aka New) Graphics (NG) window in an IDL widget program with the WIDGET_WINDOW function. There’s quite a bit of code + explanation involved, so I’m breaking this example into two posts: I’ll go over … Continue reading

Posted in language, programming, visualization | Tagged , , , , , , , | 5 Comments

Updates to the GRIB helper routines

I had time last week to revisit and revise my GRIB helper routines. I learned about accessing records that have multiple fields, so I added a new keyword, MULTI_SUPPORT, to GRIB_GET_RECORD and GRIB_GET_PARAMETERNAMES. I also added simple error handling to … Continue reading

Posted in data access, programming | Tagged , , , | 1 Comment

A snow water equivalent map for Colorado

Andrew Slater, a research scientist at the National Snow and Ice Data Center in Boulder, has a website that maps daily changes in snow water equivalent over Colorado, using a shell script for data retrieval and IDL for visualization. Dr. Slater … Continue reading

Posted in visualization | Tagged , , , , , | 3 Comments

An example of using the GRIB helper routines

Earlier I posted some higher-level routines, built on IDL’s GRIB API, for accessing data in a GRIB edition 1 or 2 file. I’d like to show an example of using them. In this example, I downloaded NCEP HiResWindow model data … Continue reading

Posted in data access, output, programming, visualization | Tagged , , , , , , , | 9 Comments