Re: wrf utility (x11 vs. pdf/ps)

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue Oct 18 2011 - 22:27:00 MDT

Hi Qian,

This appears to be experimental code, and I recommend contacting wrfhelp@ucar.edu
  about this problem. I've CC'ed them.

There should be no problem with using type="x11" versus type="pdf" or
type="ps". We do this all the time in the gsn_open_wks
code. My guess is that the problem is somewhere else in the code. One
issue could be if you don't have write permissions,
or you are running out of disk space to write a PS or PDF file.

--Mary

On Oct 18, 2011, at 3:00 PM, Qian Tan wrote:

> Hi,
>
> I am trying to use the NCL/WRF utility to plot the model domain with
> this script:
>
> http://www.mmm.ucar.edu/wrf/OnLineTutorial/Graphics/NCL/Examples/EXPERIMENTAL/wrf_show_wps_som_namelist.htm
>
> I could see the domain with 'type=x11'. If I tried 'ps' or 'pdf',
> then I got 'Segmentation Fault'. I traced it line by line to this
> program:
>
> WRFUserARW_add.ncl
>
> The problem is with:
>
> mp = gsn_map(wks,projection,opts)
>
> I compared the 'wks', 'projection', and 'opts' between 'x11' and
> 'ps'/'pdf'. The difference is: (< is for 'x11', > is for 'ps')
>
> Could someone tell me that this is because the 'ps'/'pdf' library or
> setting on my system? How could I fix it?
>
> Many thanks,
>
> Qian
>
> ====================================================
>
> < Number Of Attributes: 2
> ---
> > Number Of Attributes: 9
> > wkPaperHeightF : 11
> > wkPaperWidthF : 8.5
> > wkDeviceUpperY : 666
> > wkDeviceUpperX : 576
> > wkDeviceLowerY : 126
> > wkDeviceLowerX : 36
> > wkOrientation : 0
> 11c18
> < (0) wps_show_dom_namelist_x11 xWorkstationClass 8
> ---
> > (0) gsnapp psWorkstationClass 8
> 73,87d79
> < (0) in3
> < (0) there
> <
> <
> < Variable: wks
> < Type: obj
> < Total Size: 4 bytes
> < 1 values
> < Number of Dimensions: 1
> < Dimensions and sizes: [1]
> < Coordinates:
> < Number Of Attributes: 2
> < name : wps_show_dom_namelist
> < app : wps_show_dom_namelist appClass 7
> < (0) wps_show_dom_namelist_x11 xWorkstationClass 8
>
> _______________________________________________
> 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 Tue Oct 18 22:27:07 2011

This archive was generated by hypermail 2.1.8 : Wed Oct 19 2011 - 13:36:10 MDT