Re: Error in wrf_Surface1.ncl

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed Mar 23 2011 - 08:50:22 MDT

Vanesa,

I think the problem is that because PanelPlot is set to True, this causes none of the contour and vector plots to be removed when you call wrf_map_overlays. Thus, when you call wrf_map_overlays again, it's telling you that "vector" (in this case) has already been overlaid on a plot and can't be overlaid again.

Try calling wrf_vector again, but with a different variable on the left side, and overlay this instead. For example:

      vector1 = wrf_vector(a,wks,u10,v10,opts)
      vector2 = wrf_vector(a,wks,u10,v10,opts)

      delete(opts)

    ; MAKE PLOTS
      plot = wrf_map_overlays(a,wks,(/contour_tc,contour_psl,vector1/),pltres,mpres)
      draw(plot)
      draw_shapefile_lines(wks,plot)
      frame(wks)
      plot = wrf_map_overlays(a,wks,(/contour_td,vector2/),pltres,mpres)
      draw(plot)
      draw_shapefile_lines(wks,plot)
      frame(wks)

--Mary

On Mar 21, 2011, at 2:30 PM, Vanesa Bdm wrote:

> Hello: I'm modifying wrf_Surface.ncl but I have this error...
>
> (0) Working on time: 2011-03-21_00:00:00
> fatal:NhlAddOverlay: tranform is already an annotation or overlay: 121
> (0) Working on time: 2011-03-21_06:00:00
> fatal:NhlAddOverlay: tranform is already an annotation or overlay: 177
>
> I get the image but why I get this?
> I attach the script.
>
> Regards
>
>
>
>
> <wrf_Surface1.ncl>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Mar 23 08:50:28 2011

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2011 - 16:15:59 MDT