<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Elham,<div>Before posting to ncl-talk about a function please review the documentation. As noted in the cd_calendar documentation here:</div><div><a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/cd_calendar.shtml">https://www.ncl.ucar.edu/Document/Functions/Built-in/cd_calendar.shtml</a></div><div><br></div><div>"Must have a "units" attribute string in the format "units since basetime", for example, "days since 1971-1-1" (see examples below)."</div><div><br></div><div>Again, please review the documentation page about the function. If you have any further questions let the ncl-talk email list know.</div><div>Adam</div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Sep 14, 2018 at 10:51 AM Elham Ghasemifar <<a href="mailto:elham.ghasemifar@modares.ac.ir">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_135094194345156873divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Dear colleges</p>
<p>can any one help me about <span>cd_calendar, my data is 2b-geoprof (cloudsat) product , i don't know what can i do for plot them:<br>
</span></p>
<p></p>
<div><span style="font-size:8pt"></span><span style="font-size:8pt"></span><b><span style="font-family:Arial,Helvetica,sans-serif"></span></b><span style="font-family:Arial,Helvetica,sans-serif"><br>
</span></div>
<div><span style="font-family:Arial,Helvetica,sans-serif"><br>
</span></div>
<div><span style="font-family:Arial,Helvetica,sans-serif">ncl 27> alt40 = f->Height_2B_GEOPROF </span><br>
<span style="font-family:Arial,Helvetica,sans-serif">ncl 28> kalt = dimsizes(alt40)</span><br>
<span style="font-family:Arial,Helvetica,sans-serif">ncl 29> time = f->Profile_time_2B_GEOPROF</span><br>
<span style="font-family:Arial,Helvetica,sans-serif">ncl 30> ntime = dimsizes(time)</span><br>
<span style="font-family:Arial,Helvetica,sans-serif">ncl 31> yyyymm = cd_calendar(time,-1)</span><br>
<span style="font-family:Arial,Helvetica,sans-serif">fatal:cd_calendar: no 'units' attribute provided</span><br>
<span style="font-family:Arial,Helvetica,sans-serif">fatal:["Execute.c":8638]:Execute: Error occurred at or near line 31</span><br>
<br>
</div>
<br>
<p></p>
</div>
</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><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist, </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a> </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>