[ncl-talk] gsn_csm_contour, blank plot

Ying Song ying.song at sjsu.edu
Wed Sep 6 15:38:49 MDT 2017


Hi,  thanks for the reply!

The idea is plotting weekly profiles and I defined the array and everyweek,
I write one day data from input files and set other 6 days of the week as
missing values. I am not sure if that "ManualLevels" resources caused the
problem but even I commented them out, the plot is still blank.

I just added the stat_dispersion. below is the screen log when I run ncl
script:
--------------------
Variable: multi_ozone
Type: float
Total Size: 23296 bytes
            5824 values
Number of Dimensions: 2
Dimensions and sizes:   [height | 208] x [time | 28]
Coordinates:
            height: [0.036..20.7]
Number Of Attributes: 1
  _FillValue :  9.96921e+36

Variable: multi_ozone
Type: float
Total Size: 23296 bytes
            5824 values
Number of Dimensions: 2
Dimensions and sizes:   [height | 208] x [time | 28]
Coordinates:
            height: [0.036..20.7]
Number Of Attributes: 1
  _FillValue :  -999


Variable: multi_ozone (subsection)
Type: float
Total Size: 16 bytes
            4 values
Number of Dimensions: 1
Dimensions and sizes:   [height | 4]
Coordinates:
            height: [0.4..0.7]
Number Of Attributes: 1
  _FillValue :  -999
(0)     26
(1)     28
(2)     32
(3)     34


Variable: multi_ozone (subsection)
Type: float
Total Size: 16 bytes
            4 values
Number of Dimensions: 1
Dimensions and sizes:   [height | 4]
Coordinates:
            height: [0.4..0.7]
Number Of Attributes: 1
  _FillValue :  -999
(0)     -999
(1)     -999
(2)     -999
(3)     -999
(0)
(0)        ===> Robust Dispersion Statistics <===
(0)      [0]            Mean=485.873
(0)      [1]          StdDev=657.565
(0)      [2]             Min=16
(0)      [3]          LowDec=47
(0)      [4]          LowOct=51
(0)      [5]          LowSex=54
(0)      [6]     LowQuartile=60
(0)      [7]          LowTri=68
(0)      [8]          Median=113
(0)      [9]         HighTri=531
(0)      [10]   HighQuartile=671
(0)      [11]        HighSex=885
(0)      [12]        HighOct=1238
(0)      [13]        HighDec=1473
(0)      [14]            Max=3029
(0)      [15]          Range=3013
(0)      [16]     Dispersion=4.58205
(0)      [17]    RMS Anomaly=657.249
(0)      [18]      #   Total=5824
(0)      [19]      #    Used=1040
(0)      [20]      # Missing=4784
(0)      [21]      % Missing=82.1429
(0)      [22]     Lower 0.1%=16
(0)      [23]     Lower 1.0%=28
(0)      [24]     Lower 5.0%=38
(0)      [25]     Upper 5.0%=2132
(0)      [26]     Upper 1.0%=2795
(0)      [27]     Upper 0.1%=2973
(0)      [28]       Skewness=1.89842
(0)      [29]       Kurtosis=3.11111
(0)



On Tue, Sep 5, 2017 at 8:03 PM, Rick Brownrigg <brownrig at ucar.edu> wrote:

> Hi,
>
> I see that you are scaling the values to be plotted, and that you do a
> printVarSummary() on them afterwards. Are you saying that the results are
> within the resource settings for "ManualLevels", i.e, the min/max/spacing,
> etc?  That would normally be suspect.  Maybe print out the results of a
> stat_dispersion() call:
>
> http://ncl.ucar.edu/Document/Functions/Contributed/stat_dispersion.shtml
>
> Wish I could be of more help...
> Rick
>
> On Tue, Sep 5, 2017 at 5:04 PM, Ying Song <ying.song at sjsu.edu> wrote:
>
>> Hi, ncl-help,
>>
>> I have question about gsn_sm_contour. I use it to make curtain plot for
>> weekly ozone profiles.
>>
>> There is no error msg, and the array I defined looks correct when I print
>> out some values for test. But the plot (attached) is blank. I also attached
>> my script. Please help me take a look.
>>
>> Thanks!
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170906/6235e9e8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: multi_curtain_xz_ozone_test.ncl
Type: application/octet-stream
Size: 2460 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170906/6235e9e8/attachment.obj>


More information about the ncl-talk mailing list