'plm' ] conversions = [ ['ppmv', u'\u03BCg/m'u'\u00B3'], None, ['V/V(air)', u'\u03BCg/m'u'\u00B3'], None, None, ['V/V(air)', u'\u03BCg/m'u'\u00B3'], ['kg/kg(air)', u'\u03BCg/m'u'\u00B3'], ['kg/kg(air)', u'\u03BCg/m'u'\u00B3'], ['kg/kg(air)', u'\u03BCg/m'u'\u00B3'], ['kg/kg(air)', u'\u03BCg/m'u'\u00B3'], ['kg/kg(air)', u'\u03BCg/m'u'\u00B3'], ['V/V(air)', u'\u03BCg/m'u'\u00B3'], None, None, None ] months = ['JAN', 'FEB', 'MAR', 'APR', 'MAY', 'JUN', 'JUL', 'AUG', 'SEP', 'OCT', 'NOV', 'DEC'] years = ['1959', '1960', '1961', '1962', '1963', '1964'] file = ncdf.ncdfwrapper(filename, directory, months, years, 'GISS', filetitle) nowater = ncdf.ncdfwrapper(nowatername, directory, months, years, 'GISS', nowatertitle) print 'compiling data and creating map ...' file.plotplumelocation(variables, conversions) #nowater.plotplumelocation(variables, conversions)
# None, # None, # None, # None, # None, # None, # None, # None, # None # ] # END OF ARGUMENTS ============================================================ #create months object and open files (both modes) months = ['JAN', 'FEB', 'MAR', 'APR', 'MAY', 'JUN', 'JUL', 'AUG', 'SEP', 'OCT', 'NOV', 'DEC'] file = ncdf.ncdfwrapper(filename, directory, months, years, 'SAGE', filetitle) '''confile = ncdf.ncdfwrapper(controlname, directory, months, years, 'c', controltitle) nowater = ncdf.ncdfwrapper(nowatername, directory, months, years, None, nowatertitle)''' #MODE 1 if mode == 1: print 'lat v time ...' #confile.plotlatvtime(variable, conversion) file.plotlatvtime(variable, conversion) #nowater.plotlatvtime(variable, conversion, confile) print 'pr v time ...' #confile.plotprvtime(variable, conversion) file.plotprvtime(variable, conversion)