out_d = os.path.dirname(out_sd) if enstype == 'ICBC': out_d = os.path.dirname(out_d) ml = -3 for t in times: for ln,ll in locs.iteritems(): p.twopanel_profile(vrbl,t,wrf_sds,out_d,two_panel=1, xlim=xlim,ylim=[500,1000,50], latlon=ll,locname=ln,ml=ml) if frontogenesis: for en in ensnames: for ex in experiments: out_sd, wrf_sd = get_folders(en,ex) for time in times: p.frontogenesis(time,850,wrf_sd=wrf_sd,out_sd=out_sd, clvs=N.arange(-5.0,5.25,0.25)*10**-11 # clvs = N.arange(0,1.3,0.01)*10**-3 ) if upperlevel: for en in ensnames: for ex in experiments: out_sd, wrf_sd = get_folders(en,ex) for time in times: p.upperlevel_W(time,850,wrf_sd=wrf_sd,out_sd=out_sd, clvs = N.arange(0,1.0,0.01) )
two_panel=1, xlim=xlim, ylim=[500, 1000, 50], latlon=ll, locname=ln, ml=ml) if frontogenesis: for en in ensnames: for ex in experiments: out_sd, wrf_sd = get_folders(en, ex) for time in times: p.frontogenesis(time, 850, wrf_sd=wrf_sd, out_sd=out_sd, clvs=N.arange(-5.0, 5.25, 0.25) * 10**-11 # clvs = N.arange(0,1.3,0.01)*10**-3 ) if upperlevel: for en in ensnames: for ex in experiments: out_sd, wrf_sd = get_folders(en, ex) for time in times: p.upperlevel_W(time, 850, wrf_sd=wrf_sd, out_sd=out_sd, clvs=N.arange(0, 1.0, 0.01))
xlim=xlim, ylim=[500, 1000, 50], latlon=ll, locname=ln, ml=ml) if frontogenesis: for en in ensnames: for ex in experiments: out_sd, wrf_sd = get_folders(en, ex) for time in times: p.frontogenesis( time, 925, nc_sd=wrf_sd, nc_init=inittime, out_sd=out_sd, clvs=N.arange(-2.0, 2.125, 0.125) * 10**-7, # clvs = N.arange(-500,510,10) blurn=3, cmap='bwr') if upperlevel: for en in ensnames: for ex in experiments: out_sd, wrf_sd = get_folders(en, ex) for time in times: p.upperlevel_W(time, 850, wrf_sd=wrf_sd, out_sd=out_sd, clvs=N.arange(0, 1.0, 0.01))
if enstype == 'ICBC': out_d = os.path.dirname(out_d) ml = -3 for t in times: for ln,ll in locs.iteritems(): p.twopanel_profile(vrbl,t,wrf_sds,out_d,two_panel=1, xlim=xlim,ylim=[500,1000,50], latlon=ll,locname=ln,ml=ml) if frontogenesis: for en in ensnames: for ex in experiments: out_sd, wrf_sd = get_folders(en,ex) for time in times: p.frontogenesis(time,925,nc_sd=wrf_sd,nc_init=inittime,out_sd=out_sd, clvs=N.arange(-2.0,2.125,0.125)*10**-7, # clvs = N.arange(-500,510,10) blurn=3, cmap='bwr' ) if upperlevel: for en in ensnames: for ex in experiments: out_sd, wrf_sd = get_folders(en,ex) for time in times: p.upperlevel_W(time,850,wrf_sd=wrf_sd,out_sd=out_sd, clvs = N.arange(0,1.0,0.01) )