Graupel Cross Section

From: Vanesa Bdm <vane_bdm_at_nyahnyahspammersnyahnyah>
Date: Wed Nov 02 2011 - 09:10:00 MDT

Hello everybody: I addapt a cross section I found to plot qgraup. But I have a problem with this.. in this line rh_plane = wrf_user_intrp3d(rh,z,"v",plane,0.,opts) tc_plane = wrf_user_intrp3d(tc,z,"v",plane,0.,opts) qg_plane = wrf_user_intrp3d(qg,z,"v",plane,0.,opts)   printVarSummary(qg_plane) printMinMax(qg_plane,True)   dim = dimsizes(rh_plane) ; Find the data span - for use in labels zspan = dim(0)   ; Options for XY Plots opts_xy = res opts_xy@tiYAxisString = "Height (km)" opts_xy@cnMissingValPerimOn = True opts_xy@cnMissingValFillColor = 0 opts_xy@cnMissingValFillPattern = 11 opts_xy@tmYLMode = "Explicit" opts_xy@tmYLValues = fspan(0,zspan,nz) ; Create tick marks opts_xy@tmYLLabels = sprintf("%.1f",fspan(zmin,zmax,nz)) ; Create labels opts_xy@tiXAxisFontHeightF = 0.020 opts_xy@tiYAxisFontHeightF = 0.020 opts_xy@tmXBMajorLengthF = 0.02 opts_xy@tmYLMajorLengthF = 0.02 opts_xy@tmYLLabelFontHeightF = 0.015 opts_xy@PlotOrientation = tc_plane@Orientation   ; Plotting options for QG opts_qg = opts_xy opts_qg@ContourParameters = (/ 0.0005, .006, .0005/) opts_qg@pmLabelBarOrthogonalPosF = -0.07 opts_qg@cnFillOn = True   ; Plotting options for Temperature opts_tc = opts_xy opts_tc@cnInfoLabelOrthogonalPosF = 0.00 opts_tc@ContourParameters = (/ 0.,1000.,100. /) line 140: contour_tc = wrf_contour(f,wks,tc_plane(0,:,:),opts_tc) line 141: contour_qg = wrf_contour(f,wks,qg_plane(0,:,:),opts_qg) fatal:Number of subscripts do not match number of dimensions of variable,(3) Subscripts used, (2) Subscripts expected fatal:Execute: Error occurred at or near line 140 in file graupel.ncl Hope someone helps. Cheers

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Nov 2 09:10:05 2011

This archive was generated by hypermail 2.1.8 : Fri Nov 04 2011 - 08:43:41 MDT