<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1493876884704_18623">Dear all. </div><div id="yui_3_16_0_ym19_1_1493876884704_18623">In my code, the output date is 2011-04-14</div><div id="yui_3_16_0_ym19_1_1493876884704_18625"> Month_names = (/"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"/)</div><div id="yui_3_16_0_ym19_1_1493876884704_18626"> Month_num = (/"1" ,"2","3","4","5","6","7","8","9","10,"11","12"/)</div><div id="yui_3_16_0_ym19_1_1493876884704_18627"> Rain = F[0]->precipitation</div><div id="yui_3_16_0_ym19_1_1493876884704_18628">; print(F[0])</div><div id="yui_3_16_0_ym19_1_1493876884704_18629"> Rain!0 = "longitude"</div><div id="yui_3_16_0_ym19_1_1493876884704_18630"> Rain!1 = "latitude"</div><div id="yui_3_16_0_ym19_1_1493876884704_18631"> RainF = Rain(latitude|:,longitude|:)</div><div id="yui_3_16_0_ym19_1_1493876884704_18632"> RainF@_FillValue = -9999.9 </div><div id="yui_3_16_0_ym19_1_1493876884704_18633"> RainF!0 = "latitude"</div><div id="yui_3_16_0_ym19_1_1493876884704_18634"> RainF!1 = "longitude"</div><div id="yui_3_16_0_ym19_1_1493876884704_18635"> RainF&longitude = longitude</div><div id="yui_3_16_0_ym19_1_1493876884704_18636"> RainF&latitude = latitude</div><div id="yui_3_16_0_ym19_1_1493876884704_18637"> RainF&longitude@units = "degrees_east"</div><div id="yui_3_16_0_ym19_1_1493876884704_18638"> RainF&latitude@units = "degrees_north"</div><div id="yui_3_16_0_ym19_1_1493876884704_18639"> printVarSummary(RainF)</div><div id="yui_3_16_0_ym19_1_1493876884704_18640"><br id="yui_3_16_0_ym19_1_1493876884704_18641"></div><div id="yui_3_16_0_ym19_1_1493876884704_18642"> Date_file = F[0]@BeginDate</div><div id="yui_3_16_0_ym19_1_1493876884704_18643"> Split_date = str_split(Date_file,"-")</div><div id="yui_3_16_0_ym19_1_1493876884704_18644"> Year = Split_date(0)</div><div id="yui_3_16_0_ym19_1_1493876884704_18645"> Month = Split_date(1)</div><div id="yui_3_16_0_ym19_1_1493876884704_18646"> Day = Split_date(2)</div><div id="yui_3_16_0_ym19_1_1493876884704_18571"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1493876884704_18647"> </div><div></div><div id="yui_3_16_0_ym19_1_1493876884704_18562" dir="ltr"> I have to change 04 month to april. For this I have defined 2 arrays Month_names and Month_num. </div><div id="yui_3_16_0_ym19_1_1493876884704_18562" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1493876884704_18562" dir="ltr">How should I do this. </div><div class="signature" id="yui_3_16_0_ym19_1_1493876884704_18832">Geeta.</div></div></body></html>