Project

General

Profile

Download (193 Bytes) Statistics
| Branch: | Revision:
1
#This is a simple code to convert hdf file into img format
2

    
3
listfiles1=glob.glob('*.hdf')
4

    
5
infile=listfiles1[1]
6
outfile=infile[:-4]+'.img' #this select the name of file without its extension
7

    
8

    
(3-3/17)