Skip to content

Instantly share code, notes, and snippets.

View nikhilgupta10's full-sized avatar


View GitHub Profile
nikhilgupta10 /
Last active August 29, 2015 14:07
Python scripts used for Raw data Reprocessing
#Find and change calibration coefficient
#Instrument: IRT
import glob
import os
import tarfile
path = raw_input('Enter the path: (example: /data/archive/sgp/sgpirtE38.00):')
print 'Number of files are:', len([name for name in os.listdir('.') if os.path.isfile(name)])