We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can we read more than one files simultaneously and combine data to plot combined total drop size distribution.
The text was updated successfully, but these errors were encountered:
Hey yogesh, I'm not sure I follow your question exactly. Are you wanting to combine data from different times?
Sorry, something went wrong.
import os import glob import numpy as np import matplotlib.pylab as plt import pydisdrometer as pyd import pandas as pd folder_path = '/home/user/anaconda/DSD/Dsd_dbl/DSD_CSV/*.csv' new_folder_path = folder_path[:-5] + 'DSD_Out/' files = glob.glob(folder_path)
if not os.path.exists(new_folder_path): os.makedirs(new_folder_path) os.chdir(new_folder_path) lenf = len(files)
ZHs,ZHc,ZHx,ZHk = [],[],[],[] AIs,AIc,AIx,AIk = [],[],[],[] Dvd_R,filNw,Tmin,Nw,mu,D0,Dm =[],[],[],[],[],[],[] ZDrs,ZDrc,ZDrx,ZDrk = [],[],[],[] KDps,KDpc,KDpx,KDpk = [],[],[],[]
for filename in files:
print 'Filename is: ', filename reader = pyd.aux_readers.HACPL_2DVD_reader.HACPL_2DVD_dsd_reader(filename,'hacpl') dsd = pyd.aux_readers.HACPL_2DVD_reader.read_2dvd_dsd_hacpl(filename,'hacpl') dsd.calculate_dsd_parameterization() dvd_r = np.squeeze(reader.rain_rate) # in reader I am reading 2dvd rain rate dsd.calculate_RR()
Yes i want to combine data and plot mean profile for monsoon days June to Sept
No branches or pull requests
How can we read more than one files simultaneously and combine data to plot combined total drop size distribution.
The text was updated successfully, but these errors were encountered: