root/climate/research/oregon/modis-lst/Conversion_hdf_to_img.py @ f7349270
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 |
|