<div dir="ltr"><br><div>Hello, </div><div><br></div><div>I would like to name the time dimension in my data. Please give me advice on this? </div><div>Thank you, all </div><div><br></div><div>----------------------------------Summary of the data----------------------------------------------</div><div>Variable: TN10pd<br>Type: float<br>Total Size: 497664000 bytes<br> 124416000 values<br>Number of Dimensions: 3<br>Dimensions and sizes: [480] x [lat | 360] x [lon | 720]<br>Coordinates: <br> lat: [89.75..-89.75]<br> lon: [0.25..359.75]<br>Number Of Attributes: 16<br> time : 692496<br> units : degC<br> actual_range : ( -65.84994, 0 )<br> comments : GTS data and is gridded using the Shepard Algorithm<br> max_period : 6z to 6z<br> dataset : CPC Global Temperature<br> avg_period : 0000-00-01 00:00:00<br> valid_range : ( -90, 50 )<br> cell_methods : time: mean<br> long_name : Daily Minimum Temperature<br> parent_stat : Other<br> statistic : Minimum<br> level_desc : Surface<br> var_desc : Minimum Temperature<br> missing_value : -9.96921e+36<br> _FillValue : -9.96921e+36<br></div><div><br></div><div> ----------------------------------------------------------------------------------------------------------------</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 9, 2020 at 5:56 PM Zilore Mumba via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.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>Thanks! Dennis, I will try the code as soon as I have access to my computer.</div><div>For Rick, I want the output in text (txt) format. If I can have each grid point on a line, then I can run fortran on the data outside of the ncl script. I am assuming this is what the code from Dennis does. I will try it<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 9, 2020 at 4:24 AM Dennis Shea <<a href="mailto:shea@ucar.edu" target="_blank">shea@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> prc(time,lat,lon)</div><div>---------------------<br></div><div> dimprc = dimsizes(prc)</div><div> ntim = dimprc(0)</div><div> nlat = dimprc(1)</div><div> mlon = dimprc(2)</div><div><br></div><div>; loop over each grid point</div><div><br></div><div> do nl=0,nlat-1</div><div> do ml=0,mlon-1</div><div> prcts = prc(:,nl,ml) ; prc(tim) <=== time series</div><div> :<br></div><div> [use NCL or invoke fortran via a shared object]</div><div> :<br></div><div> end do ; ml</div><div> end do ; nl<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 8, 2020 at 1:58 PM Zilore Mumba via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.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">I have a netcdf file containing daily precipitation data over 30 years on a grid of 96 points in x and 99 points in y. I would like to work with the data on a grid-point by grid-point basis. I think this would be best achieved by having a time series of the data at each grid point. I can then use, eg. fortran to make some computation, such as the start/end of the wet session.<div>I wonder if someone would have a script that can generate such time series. My search in the ncl documentation and archives achieves nothing.</div><div>I will appreciate any help or advice on this.</div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>
</blockquote></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div><font face="georgia, serif"><br></font></div><div><font size="1" face="georgia, serif"><b>Master Course student,</b><br></font></div><div><div><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-repeat:initial"><font size="1" face="georgia, serif">Atmospheric Dynamic Laboratory </font></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;line-height:normal;background-image:initial;background-position:initial;background-repeat:initial"><font size="1" face="georgia, serif">Department Of Climate And Energy System Engineering</font></p><font size="1" face="georgia, serif"><span style="line-height:13.91px">Ewha Womans University</span><span style="line-height:13.91px"> </span> <br></font></div><font size="1" face="georgia, serif"><font color="#444444">Research Cooperation Building 408, 52, Ewhayeodae-gil, Seodaemun-gu, Seoul, 03760, Korea.</font> </font></div></div><div><span style="font-family:georgia,serif;font-size:x-small"><b>Engineer</b></span><font size="1" face="georgia, serif"><span><br></span></font></div><div dir="ltr"><div><font size="1" face="georgia, serif">Research Division of Climate Change and Resources</font></div><div><font size="1" face="georgia, serif">Information & Research Institute of Meteorology, Hydrology and Environment </font></div><div><table style="width:494.9pt;border-collapse:collapse;border:medium none" width="660" cellspacing="0" cellpadding="0" border="1"><tbody></tbody></table></div><div><font size="1" face="georgia, serif"><span lang="FR-CH">Department of Meteorology </span><br></font></div><div><font size="1" face="georgia, serif"><span lang="FR-CH"><span lang="FR-CH">Juulchny street-5</span><span lang="FR-CH"><span lang="FR-CH">,Ulaanbaatar-Mongolia</span><br></span></span></font></div><div><font size="1" face="georgia, serif"><span lang="FR-CH"><span lang="FR-CH"><span lang="FR-CH">Mobile: +976 88051007<span style="background-color:rgb(255,255,255)"><span></span></span></span></span></span></font></div><div><font size="1" face="georgia, serif">E-mail: <a href="mailto:n.baljin@gmail.com" target="_blank">n.baljin@gmail.com</a><span name="baljinnyam@irimhe.namem.gov.mn"><br> :</span><a href="mailto:baljinnyam@irimhe.namem.gov.mn" title="baljinnyam@irimhe.namem.gov.mn" target="_blank">baljinnyam@irimhe.namem.gov.mn</a></font></div><div><div><font size="1" face="georgia, serif">Уур амьсгалын өөрчлөлт, нөөцийн судалгааны хэлтэс</font></div><div><font size="1" face="georgia, serif">Ус цаг уур орчны судалгаа мэдээллийн хүрээлэн</font></div><div><font size="1" face="georgia, serif">Цаг уур орчны шинжилгээний газар</font></div><div><font size="1" face="georgia, serif">Жуулчны гудамж - 5 Улаанбаатар , Монгол</font></div><div><font size="1" face="georgia, serif">Утас: 976 88051007</font></div><div><font size="1" face="georgia, serif">Ажлын утас: 11 326612</font></div><div><font size="1" face="georgia, serif">Емэйл хайг: <a href="mailto:n.baljin@gmail.com" target="_blank">n.baljin@gmail.com</a> </font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>