<div dir="ltr"><a class="gmail_plusreply" id="plusReplyChip-0" href="mailto:elham.ghasemifar@modares.ac.ir" tabindex="-1">@Elham Ghasemifar</a><div> </div><div>Please do not post your interactive session with the 'ncl > ...' embedded.<br></div><div><br></div><div>As I suggested before, you can save all commands:</div><div><br></div><div>%> ncl <return></div><div>ncl > <b>record </b>"Elham.ncl"</div><div>ncl > ....statements ...<br></div><div>ncl > <b>stop record</b><br></div><div><br></div><div>You file is not available so the following is a guess. <br></div><div><br></div><div><p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 19</span><span style="background-color:rgb(255,255,0)">> data = f->$varname$
</span></span></p></div><div><p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 23</span><span style="background-color:rgb(255,255,0)">> data1= dim_sum_n_Wrap(data
,<b>1</b>) </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 24</span><span style="background-color:rgb(255,255,0)">> data2 =
dim_avg_n_Wrap(data1,<b>0</b>) </span></span></p></div><div><br></div><div>Variable 'data' is two-dimensional <b>[dim0],[dim1])</b><br></div><div>Variable 'data1' is one-dimensional <b>[dim0]</b></div><div>Variable 'data2' is a scalar <b>[1]</b><br></div><p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 52</span><span style="background-color:rgb(255,255,0)">> plot(i)
= gsn_csm_contour_map(wks,<b>data2(</b><b>{lvl(i)},:,:)</b>,res) </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">You are referencing data2 as three-dimensional<br></span></span></p></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Sep 16, 2018 at 5:48 AM Soma Roy <<a href="mailto:somaroy892@gmail.com">somaroy892@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Send a clean script with one or two sample data file(s).<div dir="auto">If the data file is large you may zip it.</div><div dir="auto"><br></div><div dir="auto">Remove all 'ncl>' from each line and send a clear and clean script for this issue.</div><div dir="auto"><br></div><div dir="auto">Soma</div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Sep 16, 2018, 16:12 Elham Ghasemifar <<a href="mailto:elham.ghasemifar@modares.ac.ir" target="_blank">elham.ghasemifar@modares.ac.ir</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_-274579434667066113m_5028735403614053093divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>dear colleges <br>
</p>
<p>hello</p>
<p>i want to plot cloudsat 2b geoprof data using ncl example, unfortunately my lat and lon have different column and i cant to relate latitude and longitude to the data, in the example script , the lat and lon related to
<span style="background-color:rgb(255,255,0)">data</span>,</p>
<p>any researcher can help me how i can overcome to the error, i appreciate any help from the ncl-talk,</p>
<p>please see the complete script:</p>
<p><br>
</p>
<p></p>
<div>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">ncl 0> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">ncl 1> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">ncl 2> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span><span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">ncl 3> fili = "2011040011644_25451_CS_2B-GEOPROF_GRANULE_P1_R05_E03_F00.hdf"
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">ncl 4> varname = "CPR_Cloud_mask_2B_GEOPROF"
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">ncl 5> f = addfile (fili+".he2","r")
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">dbze = f->Radar_Reflectivity_2B_GEOPROF
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 6</span><span style="background-color:rgb(255,255,0)">> alt40 = f->Height_2B_GEOPROF
</span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 7</span><span style="background-color:rgb(255,255,0)">> kalt = dimsizes(alt40)
</span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 8</span><span style="background-color:rgb(255,255,0)">> time = f->Profile_time_2B_GEOPROF
</span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 9</span><span style="background-color:rgb(255,255,0)">> ntime = dimsizes(time)
</span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 10</span><span style="background-color:rgb(255,255,0)">> lat = f->Latitude_2B_GEOPROF
</span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 11</span><span style="background-color:rgb(255,255,0)">> nlat = dimsizes(lat)
</span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 12</span><span style="background-color:rgb(255,255,0)">> lon = f->Longitude_2B_GEOPROF
</span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 13</span><span style="background-color:rgb(255,255,0)">> nlon = dimsizes(lon)
</span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 14</span><span style="background-color:rgb(255,255,0)">> time@units
= "hours since 2011-02-10 00:00:0.0" </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 15</span><span style="background-color:rgb(255,255,0)">> utc_date
= cd_calendar(time, 0) </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 16</span><span style="background-color:rgb(255,255,0)">> yyyymm =
cd_calendar(time,-1) </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 17</span><span style="background-color:rgb(255,255,0)">> yyyyfrac=
yyyymm_to_yyyyfrac(yyyymm,0) </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 18</span><span style="background-color:rgb(255,255,0)">> months =
utc_date(:,1) </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 19</span><span style="background-color:rgb(255,255,0)">> data = f->$varname$
</span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 20</span><span style="background-color:rgb(255,255,0)">> lat@units
= "degrees_north" </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 21</span><span style="background-color:rgb(255,255,0)">> lat@units
= "degrees_north" </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 22</span><span style="background-color:rgb(255,255,0)">> data1
</span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 23</span><span style="background-color:rgb(255,255,0)">> data1= dim_sum_n_Wrap(data
,1) </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 24</span><span style="background-color:rgb(255,255,0)">> data2 =
dim_avg_n_Wrap(data1,0) </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 25</span><span style="background-color:rgb(255,255,0)">> printVarSummary(data1)
</span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt"></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">Variable: data1
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">Type: byte
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">Total Size: 37082 bytes
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">37082 values
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">Number of Dimensions: 1
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">Dimensions and sizes: [nray_2B_GEOPROF | 37082]
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">Coordinates:
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">Number Of Attributes: 9
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">_FillValue : -9
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">hdfeos_name : CPR_Cloud_mask
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">factor : 1
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">offset : 0
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">long_name : CPR Cloud Mask
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">valid_range : 0
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">missing : -9
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">missop : ==
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">sum_op_ncl : dim_sum_n over dimension(s): nbin_2B_GEOPROF
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">ncl 26> printVarSummary(data2)
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt"></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">Variable: data2
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">Type: float
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">Total Size: 4 bytes
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">1 values
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">Number of Dimensions: 1
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">Dimensions and sizes: [1]
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">Coordinates:
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">Number Of Attributes: 11
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">hdfeos_name : CPR_Cloud_mask
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">factor : 1
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">offset : 0
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">long_name : CPR Cloud Mask
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">valid_range : 0
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">missing : -9
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">missop : ==
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">sum_op_ncl : dim_sum_n over dimension(s): nbin_2B_GEOPROF
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">_FillValue_original : -9
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">_FillValue : -9
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">average_op_ncl : dim_avg_n over dimension(s): nray_2B_GEOPROF
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 27</span><span style="background-color:rgb(255,255,0)">> pltType
= "png" </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 28</span><span style="background-color:rgb(255,255,0)">> wks = gsn_open_wks(pltType,"cloudsat")
</span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 29</span><span style="background-color:rgb(255,255,0)">> plot = new(4,graphic)
</span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 30</span><span style="background-color:rgb(255,255,0)">> res = True
</span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 31</span><span style="background-color:rgb(255,255,0)">> res@gsnDraw
= False </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 32</span><span style="background-color:rgb(255,255,0)">> res@gsnFrame
= False </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span><span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 33</span><span style="background-color:rgb(255,255,0)">> res@lbLabelBarOn
= False </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 34</span><span style="background-color:rgb(255,255,0)">> res@mpFillOn
= False </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 36</span><span style="background-color:rgb(255,255,0)">> res@cnFillOn
= True </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 37</span><span style="background-color:rgb(255,255,0)">> res@cnFillPalette
= "WhiteBlueGreenYellowRed" </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 38</span><span style="background-color:rgb(255,255,0)">> res@cnLinesOn
= False </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 39</span><span style="background-color:rgb(255,255,0)">> res@cnLineLabelsOn
= False </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 40</span><span style="background-color:rgb(255,255,0)">> resP = True
</span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 41</span><span style="background-color:rgb(255,255,0)">> resP@gsnMaximize
= True </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 42</span><span style="background-color:rgb(255,255,0)">> resP@gsnPanelLabelBar
= True </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 43</span><span style="background-color:rgb(255,255,0)">> res@cnLevelSelectionMode
= "ManualLevels" </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 44</span><span style="background-color:rgb(255,255,0)">> res@cnMinLevelValF
= 0.025 </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 45</span><span style="background-color:rgb(255,255,0)">> res@cnMaxLevelValF
= 0.60 </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 46</span><span style="background-color:rgb(255,255,0)">> res@cnLevelSpacingF
= 0.025 </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 47</span><span style="background-color:rgb(255,255,0)">> lvl = (/
1200, 5520, 10230, 14160 /) </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 48</span><span style="background-color:rgb(255,255,0)">> res@gsnLeftString
= "total cloud fraction" </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 49</span><span style="background-color:rgb(255,255,0)">> do i=0,3
</span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 50</span><span style="background-color:rgb(255,255,0)">> res@gsnRightString
</span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 51</span><span style="background-color:rgb(255,255,0)">> res@gsnRightString=
alt40({lvl(i)})+" "+alt40@units </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 52</span><span style="background-color:rgb(255,255,0)">> plot(i)
= gsn_csm_contour_map(wks,data2({lvl(i)},:,:),res) </span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"><span style="background-color:rgb(255,255,0)">ncl 53</span><span style="background-color:rgb(255,255,0)">> end do
</span></span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">fatal:Number of subscripts do not match number of dimensions of variable,(1) Subscripts used, (2) Subscripts expected
</span></p>
<span style="font-size:8pt;background-color:rgb(255,255,0)"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,255,0) none repeat scroll 0% 0%;font-size:8pt">fatal:["Execute.c":8638]:Execute: Error occurred at or near line 66
</span></p>
<span style="font-size:8pt"></span>
<p style="margin-bottom:0in;line-height:100%"><span style="background:rgb(255,102,0) none repeat scroll 0% 0%;font-size:8pt"></span></p>
<span style="font-size:8pt"></span></div>
<span style="font-size:8pt"></span><br>
<p></p>
</div>
</div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" rel="noreferrer" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div>