22

Sep

2011

GRIB helper routines

Author: Mark Alonzo

IDL's GRIB routines are a thin layer on top of the the C version of the ECMWF GRIB API.  The ECMWF routines exposed in IDL are fairly low-level, so they require a bit of programming to extract even simple information from a GRIB file. I have three routines, built on IDL's GRIB API, to help make it easier to get information from a GRIB edition 1 or 2 file:

  • GRIB_GET_RECORD: Gets a single record, selected by a one-based index, from a GRIB file.
  • GRIB_GET_PARAMETERNAMES: Gets the value of the parameterName key from each record in a GRIB file.
  • GRIB_GET_PARAMETER: Uses the two routines above to extract all the records in a GRIB file with a given parameterName.
You can download all three routines from the VIS Code Library. The routines can be called from the IDL command line or used as library routines in programs. See the IDLdoc documentation for these routines for examples of how to call them. I've tested these routines on a variety of GRIB1 and GRIB2 files from ECMWF, NCEP, NCAR, NOAA and AFWA. Hopefully, they'll work with any GRIB file, but if they don't, please let me know.

Comments (0) Number of views (1041) Article rating: No rating

Categories: IDL Blog | IDL Data Point

Tags:

22

Sep

2011

Welcome!

Author: Mark Alonzo

Hi and welcome to The IDL Data Point, a new blog devoted to all things IDL. I’m Mark Piper, a solutions engineer at Exelis VIS. I’ll be the primary contributor to this site, though I intend to wrangle guest posts from other employees in our Engineering, Professional Services and Tech Support departments. There’s a wealth of IDL knowledge in this company and I hope this blog can serve as a way to communicate it. I’d like to use Data Point to:

  • provide technical, programmatic examples of using IDL;
  • address (and hopefully provide solutions to) interesting questions that come up in the IDL classes, seminars and webinars that I lead, as well as those raised on the comp.lang.idl-pvwave newsgroup;
  • provide information and examples on topics where there’s a lack, like using IDL 8 (aka New) Graphics and the IDL workbench;
  • show tips and techniques to help people use IDL more effectively.
I’ll try to post approximately once per week. I have dozens of discussion topics saved up, but I’m also open to suggestions—please send me your ideas at mark.piper@exelisvis.com. Enjoy!

Comments (0) Number of views (10875) Article rating: No rating

Categories: IDL Blog | IDL Data Point

Tags:

22

Sep

2011

About Mark

Author: Mark Alonzo

Mark Piper Mark Piper is the IDL Product Manager. He has been at Exelis Visual Information Solutions for over 13 years and has been working with IDL for almost 20. Mark has a PhD in Astrophysical, Planetary and Atmospheric Sciences from the University of Colorado at Boulder. He loves to solve scientific programming and visualization problems with IDL and play Ultimate Frisbee. Follow him on Twitter: @TheIDLGuy.

Comments (0) Number of views (520) Article rating: No rating

Categories: IDL Blog | IDL Data Point

Tags:

9

Aug

2011

Banner_2

Author: Mark Alonzo

Comments (0) Number of views (420) Article rating: No rating

Categories: ENVI Blog | Imagery Speaks

Tags:

First126127128129130131132133134135

MONTHLY ARCHIVE

«March 2017»
SunMonTueWedThuFriSat
2627281234
567891011
12131415161718
19202122232425
2627282930311
2345678

MOST POPULAR POSTS

AUTHORS

Authors

Authors

Authors

Authors

Authors

Authors

Authors

Authors

Authors

Authors

GUEST AUTHORS

Authors

Authors

Authors

Authors

Authors

Authors

Authors



© 2017 Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation