Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes



top mg_sdf_type

result = mg_sdf_type(filename [, /found])

Determine the type of scientific data format file given by the filename.

Return value

string, returns empty string if file format is not found, otherwise returns appropriate extension for file, i.e., .nc, .h5, .hdf, or .sav


filename in required type=string

filename to examine


found out optional type=boolean

set to a named variable to retrieve whether a format was found for the file

File attributes

Modification date: Wed May 14 15:07:14 2014
Lines: 69
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.