<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>A simple search of NCL documentation yields:</div><div><br></div><div><a href="https://www.ncl.ucar.edu/Document/Language/reorder.shtml"><b>https://www.ncl.ucar.edu/Document/Language/reorder.shtml</b></a></div><div><br></div><div><b>---</b></div><div><a href="https://www.ncl.ucar.edu/Document/Manuals/language_man.pdf"><b>https://www.ncl.ucar.edu/Document/Manuals/language_man.pdf</b></a></div><div style="font-family:sans-serif">page 7<font size="2">: Section 2.11.1 Dimension <span class="gmail-highlight">reorder</span>ing: </font></div><div><br></div><div>===========</div><div> spi = f->SPI<span style="color:rgb(0,0,255)"> ; SPI (len, time, rlat, rlon)</span></div><div><span style="color:rgb(0,0,255)"> <br></span></div><div><span style="color:rgb(0,0,255)"> <span style="color:rgb(0,0,0)">spi_reorder = spi(time|:,len|:,rlat|:,rlon|:)<br></span></span></div><div><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)"> printVarSummary(spi_reorder</span>)</span></div><div><span style="color:rgb(0,0,255)"><br></span></div><div><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)">or, overwrite with reassignment syntax [ <b>:=</b> ] </span><br></span></div><div><span style="color:rgb(0,0,255)"><br></span></div><div><span style="color:rgb(0,0,255)"> <span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)">spi <b>=:</b> spi(time|:,len|:,rlat|:,rlon|:)</span></span></span></div><div><span style="color:rgb(0,0,255)"> <span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)">printVarSummary(spi)</span></span></span></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 16, 2019 at 10:46 AM Oluwaseun Ilori <<a href="mailto:wilseun@gmail.com">wilseun@gmail.com</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>Hello:</div><div> I have a .nc file with dimensions of a float type "<span style="color:rgb(0,0,255)">float SPI (len, time, rlat, rlon)</span>" and I want to change it to be of type "<span style="color:rgb(0,0,255)">float SPI (time, len, rlat, rlon)</span>". I mean <br></div><div><span style="color:rgb(0,0,255)">float SPI (len, <b><span style="color:rgb(255,0,0)">time</span></b>, rlat, rlon) <span style="color:rgb(0,0,0)">to</span> <span style="color:rgb(0,0,255)">float SPI (<b><span style="color:rgb(255,0,0)">time</span></b>, len, rlat, rlon). <br></span></span></div><div><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,255)"><font color="#000000">How will I do this and attached is the output of the "ncdump" of my nc file. </font><br></span></span></div><div><br></div><div>--- <br><div dir="ltr" class="gmail-m_3528016825120272465gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span style="font-family:monospace,monospace"><span style="background-color:rgb(243,243,243)"><span style="color:rgb(0,0,255)"><i>OLUWASEUN ILORI</i></span></span></span></div><div><span style="font-family:monospace,monospace"><i>B.Tech(Hons) in Meteorology</i></span></div><div><span style="font-family:monospace,monospace"><i>M.Tech in Meteorology and climate science(in view)</i></span></div><div><span style="font-family:monospace,monospace"><i>Phone: +2347031000687 +2348069154213<br></i></span></div><div><span style="font-family:monospace,monospace"><i>Federal University of Technology Akure. Nigeria.</i></span></div><div><span style="font-family:monospace,monospace"><i>Facebook: </i></span><span><a href="https://www.facebook.com/hilorywilson" target="_blank"><span><span>http://facebook.com/</span><span></span>hilorywilson</span></a><br></span></div><div>linkedln: <a href="https://www.linkedin.com/in/wilson-ilori-447952108" target="_blank">https://www.linkedin.com/in/wilson-ilori-447952108</a></div><div>Twitter: HiloryW<br></div><div><span></span></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>