<div dir="ltr">What does the pc stand for?</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 26, 2016 at 1:43 PM, Guilherme Martins <span dir="ltr"><<a href="mailto:jgmsantos@gmail.com" target="_blank">jgmsantos@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Try to reorder the dimensions with:</div><div><b><br></b></div><div><b>ncpdq </b>-a time,pc <a href="http://tmp1.nc/" target="_blank">tmp1.nc</a> <a href="http://tmp2.nc/" target="_blank">tmp2.nc</a><br></div><div><br></div><div>ncpdq is a NCO tool.</div><div><br></div><div>Guilherme.</div></div><div><div class="h5"><br><div class="gmail_quote"><div dir="ltr">Em ter, 26 de abr de 2016 às 16:33, Andrew Kren - NOAA Affiliate <<a href="mailto:andrew.kren@noaa.gov" target="_blank">andrew.kren@noaa.gov</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I tried both just now. With CDO, it worked on some variables, because the time dimension on those was in the leftmost dimension. But the others, the variables I also need, has time in the rightmost dimension. Can CDO also work with this?</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 26, 2016 at 1:07 PM, Guido Cioni <span dir="ltr"><<a href="mailto:guidocioni@gmail.com" target="_blank">guidocioni@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">It shouldn't be a problem, along_track is still an integer as dimension... Did you try with the command suggested on the webpage that I sent you? Did you try with CDO, which sometime is smarter with “complicated" files? Otherwise you can try to open the nc file with ncl or fortran and manually modify the name of the dimensions to something more default. </p>
<p dir="ltr">Are you files big? Otherwise I can have a look On them and see what it's working </p><div><div>
<div class="gmail_quote">Il 26 apr 2016 8:58 PM, "Andrew Kren - NOAA Affiliate" <<a href="mailto:andrew.kren@noaa.gov" target="_blank">andrew.kren@noaa.gov</a>> ha scritto:<br type="attribution"><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Guido,<div><br></div><div>I tried NCO, but it gave me this error, presumably because my time coordinate is called "along_track" and not "time". Is there a workaround for this?</div></div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 26, 2016 at 11:27 AM, Guido Cioni <span dir="ltr"><<a href="mailto:guidocioni@gmail.com" target="_blank">guidocioni@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Andrew,<div>I would suggest you to merge data together BEFORE reading them into NCL. You can easily do that either with NCO and the command <font face="Menlo">ncrcat</font> (see here <a href="http://research.jisao.washington.edu/data_sets/nco/#example8" target="_blank">http://research.jisao.washington.edu/data_sets/nco/#example8</a>) or using CDO with the <font face="Menlo">merge</font> option (see here for the complete guide <a href="https://www.rsmas.miami.edu/users/rajib/cdo.pdf" target="_blank">https://www.rsmas.miami.edu/users/rajib/cdo.pdf</a>). These methods will work <b>without</b> problems as long as you have a well-defined time coordinate in your files and the vertical levels are always the same. </div><div>Cheers</div><div><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div><br>Guido Cioni</div><div><a href="http://guidocioni.altervista.org" target="_blank">http://guidocioni.altervista.org</a> </div><div><br></div></div><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div>
</div>
<br><div><blockquote type="cite"><div><div><div>Il giorno 26 apr 2016, alle ore 19:22, Andrew Kren - NOAA Affiliate <<a href="mailto:andrew.kren@noaa.gov" target="_blank">andrew.kren@noaa.gov</a>> ha scritto:</div><br></div></div><div><div><div><div dir="ltr">Dear NCL Talk,<div><br></div><div>I have data that is netcdf format of various aircraft microwave retrievals. These retrievals of temperature, moisture, etc, are in units of (lev,time) in each file. I want to join all of the files together so that I can compare the data to dropsondes. However, when I do the addfiles feature, and grab the data using temp_hamsr = <font face="arial, helvetica, sans-serif">factor*(short2flt(q[:]->ham_airT))-273.15, it gives me this error:</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><div style="margin:0px;line-height:normal"><font face="arial, helvetica, sans-serif">warning:File /scratch4/BMC/shout/Andrew.Kren/hamsr_data/2011/HS3/L2/HAMSR_L2_20110908T185915_20110909T185423_v01.nc dimension sizes do not conform to others in list; skipping file</font></div><div style="margin:0px;line-height:normal"><font face="arial, helvetica, sans-serif">warning:A valid instance of variable ham_airT was not found in one or more elements of the file list</font></div><div style="margin:0px;line-height:normal"><font face="arial, helvetica, sans-serif"><br></font></div><div style="margin:0px;line-height:normal"><font face="arial, helvetica, sans-serif">I know what this error means after looking it up online and on the NCL help page. It is because my leftmost dimension is not time (level instead), which is required to merge them together. Is there any workaround to do this, like reorder when reading in, with what format my data is in? Basically I want to make my code portable so I can join any number of files for a particular storm case, since not all cases have the same amount of time retrievals.</font></div><div style="margin:0px;line-height:normal"><font face="arial, helvetica, sans-serif"><br></font></div><div style="margin:0px;line-height:normal"><font face="arial, helvetica, sans-serif">I also attached an ncl_filedump output of the format of the data I am reading. The along track metadata refers to time dimension in this case. </font></div><div style="margin:0px;line-height:normal"><font face="arial, helvetica, sans-serif"><br></font></div><div style="margin:0px;line-height:normal"><font face="arial, helvetica, sans-serif">Thanks,</font></div><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Andrew Kren, PhD<br>
Research Scientist I, Global Observing Systems Analysis (GOSA) Group<br>
NOAA ESRL Global Systems Division (Rm 3C515)<br>
325 Broadway, Boulder, CO 80305<br>
<a href="tel:%28303%29%20497-5418" value="+13034975847" target="_blank">(303) 497-5418</a><span><font color="#888888"><br>
</font></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div>
</div></div><span><format_file.txt></span><span><compare_AVAPS_HAMSR_HS3_2011.ncl></span>_______________________________________________<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" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br></div></blockquote></div><br></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Andrew Kren, PhD<br>
Research Scientist I, Global Observing Systems Analysis (GOSA) Group<br>
NOAA ESRL Global Systems Division (Rm 3C515)<br>
325 Broadway, Boulder, CO 80305<br>
<a href="tel:%28303%29%20497-5418" value="+13034975847" target="_blank">(303) 497-5418</a><span><font color="#888888"><br>
</font></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>
</div></blockquote></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Andrew Kren, PhD<br>
Research Scientist I, Global Observing Systems Analysis (GOSA) Group<br>
NOAA ESRL Global Systems Division (Rm 3C515)<br>
325 Broadway, Boulder, CO 80305<br>
<a href="tel:%28303%29%20497-5418" value="+13034975847" target="_blank">(303) 497-5418</a><span><font color="#888888"><br>
</font></span></div></div></div></div></div></div></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></div></div></div><span class="HOEnZb"><font color="#888888"><div dir="ltr">-- <br></div><div dir="ltr"><div><font size="2"><div>------------------------------------------------------------------------------------------</div><div>Dr. Guilherme Martins</div><div>Instituto Nacional de Pesquisas Espaciais (INPE)<br></div></font></div><div><font size="2">Centro de Previsão de Tempo e Estudos Climáticos (CPTEC)<br></font>Grupo de Desenvolvimento em Assimilação de Dados (GDAD)<font size="2"><br></font></div><div>Telefone (INPE/CP): <a href="tel:%2B55%2012%203186-8551" value="+551231868551" target="_blank">+55 12 3186-8551</a> || Celular (TIM): <a href="tel:%2B55%2012%2098152-8580" value="+5512981528580" target="_blank">+55 12 98152-8580</a><br>E-mail: <a href="mailto:guilherme.martins@inpe.br" target="_blank">guilherme.martins@inpe.br</a> || <a href="mailto:jgmsantos@gmail.com" target="_blank">jgmsantos@gmail.com</a><br>Skype: guilherme.martins.<br>Homepage: <a href="https://sites.google.com/site/jgmsantos" target="_blank">https://sites.google.com/site/jgmsantos</a><br>Currículo Lattes: <a href="http://lattes.cnpq.br/5997657584785803" target="_blank">http://lattes.cnpq.br/5997657584785803</a><span><br></span>------------------------------------------------------------------------------------------</div></div>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Andrew Kren, PhD<br>
Research Scientist I, Global Observing Systems Analysis (GOSA) Group<br>
NOAA ESRL Global Systems Division (Rm 3C515)<br>
325 Broadway, Boulder, CO 80305<br>
<a href="tel:%28303%29%20497-5418" value="+13034975847" target="_blank">(303) 497-5418</a><span><font color="#888888"><br>
</font></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>