<div dir="ltr"><div>Hi,</div><div><br></div><div>Thank you for the reply. I already tried that example in time_labels but it did not work. It gave me an execute error. <br></div><div>fatal:["Execute.c":8640]:Execute: Error occurred at or near line 51 in file sat_hov_jf_x1.ncl</div><div>The variable I am plotting is zonal mean.<br></div><div><br></div><div>Variable: air_z<br>Type: float<br>Total Size: 53760 bytes<br>            13440 values<br>Number of Dimensions: 2<br>Dimensions and sizes:     [time | 70] x [lon | 192]<br>Coordinates: <br>            time: [1919712..1921368]<br>            lon: [ 0..358.125]<br>Number Of Attributes: 16<br>  _FillValue :   -9.96921e+36<br>  long_name :    mean Daily Air temperature at 2 m<br>  units :   degK<br>  precision :    2<br>  least_significant_digit : 1<br>  GRIB_id : 11<br>  GRIB_name :      TMP<br>  var_desc :      Air temperature<br>  dataset :   NCEP Reanalysis Daily Averages<br>  level_desc : 2 m<br>  statistic :     Mean<br>  parent_stat :  Individual Obs<br>  valid_range :        ( 150, 400 )<br>  actual_range : ( 204.925, 314.85 )<br>  missing_value : -9.96921e+36<br>  average_op_ncl :       dim_avg_n over dimension(s): lat</div><div><br></div><div><br></div><div>These were my resources for plotting: <br></div><br><div>  wks  = gsn_open_wks ("x11", "sat_time_lon" )           <br><br>  res                      = True               ; plot mods desired<br>  res@cnFillOn             = True               ; turn on color fill<br>  res@cnFillPalette        = "temp_diff_18lev"           ; set color map<br><br>  res@tiMainString         = ""   ; title<br><br>  res@cnLevelSelectionMode = "ManualLevels"     ; manual contour levels<br>  res@cnMinLevelValF       = -40.          ; min level<br>  res@cnMaxLevelValF       =  40.               ; max level<br>  res@cnLevelSpacingF      = 2.                 ; contour level spacing<br>  res@cnLinesOn            = False<br><br> <br>  restick = True<br>  restick@ttmFormat = "%N/%D %H:%M:%S"<br>;  restick@ttmAxis = "YL"<br>;  restick@ttmMajorStride = 20<br>  time_axis_labels(data&date,res,restick)<br>  <br>  plot = gsn_csm_hov(wks, air_z(:,{160:290}), res) <br>  <br></div><div>Thanks,</div><div>Soumik<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 24, 2019 at 1:13 PM Rick Brownrigg <<a href="mailto:brownrig@ucar.edu">brownrig@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>There are several examples at:</div><div><br></div><div><a href="http://ncl.ucar.edu/Applications/time_labels.shtml" target="_blank">http://ncl.ucar.edu/Applications/time_labels.shtml</a></div><div><br></div><div>Rick<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 24, 2019 at 12:03 PM Soumik Basu via ncl-talk <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I am plotting daily temperatures from 1st Jan 2019 to 11th March 2019 against longitudes. But I couldn't get the time in right format. <br></div><div>Can anybody please help me to get the dates along y-axis in the right format? <br></div><div>I am using NCEP Reanalysis data and I am attaching the code and the plot. <br></div><div><br></div><div>Thanks,</div><div>Soumik<br></div><div><br>-- <br><div dir="ltr" class="gmail-m_-5053736702506442033gmail-m_2239087278279303693gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>-- </div>“We’ve all got both light and dark inside us. What matters is the part we choose to act on. That’s who we really are.” – J.K. Rowling<div><br></div><div>**************************************************************************************************</div><div>Dr. Soumik Basu</div><div>Post Doctoral Research Faculty</div><div><span style="font-size:12.8px">International Arctic Research Center, UAF, Fairbanks, AK, USA</span></div><div><span style="font-size:12.8px">PhD in Atmospheric Sciences</span><br></div><div>M.Sc. in Atmospheric Sciences</div><div>Email: <a href="mailto:suvro05@gmail.com" target="_blank">suvro05@gmail.com</a></div><div>website: <a href="http://soumikbasu.weebly.com/" target="_blank">http://soumikbasu.weebly.com/</a></div><div><br></div><div>***************************************************************************************************</div></div></div></div></div></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>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>-- </div>“We’ve all got both light and dark inside us. What matters is the part we choose to act on. That’s who we really are.” – J.K. Rowling<div><br></div><div>**************************************************************************************************</div><div>Dr. Soumik Basu</div><div>Post Doctoral Research Faculty</div><div><span style="font-size:12.8px">International Arctic Research Center, UAF, Fairbanks, AK, USA</span></div><div><span style="font-size:12.8px">PhD in Atmospheric Sciences</span><br></div><div>M.Sc. in Atmospheric Sciences</div><div>Email: <a href="mailto:suvro05@gmail.com" target="_blank">suvro05@gmail.com</a></div><div>website: <a href="http://soumikbasu.weebly.com/" target="_blank">http://soumikbasu.weebly.com/</a></div><div><br></div><div>***************************************************************************************************</div></div></div></div></div>