<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Andrew,<div class="">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" class="">ncrcat</font> (see here&nbsp;<a href="http://research.jisao.washington.edu/data_sets/nco/#example8" class="">http://research.jisao.washington.edu/data_sets/nco/#example8</a>) or using CDO with the <font face="Menlo" class="">merge</font> option (see here for the complete guide&nbsp;<a href="https://www.rsmas.miami.edu/users/rajib/cdo.pdf" class="">https://www.rsmas.miami.edu/users/rajib/cdo.pdf</a>). These methods will work <b class="">without</b> problems as long as you have a well-defined time coordinate in your files and the vertical levels are always the same.&nbsp;</div><div class="">Cheers</div><div class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class="Apple-interchange-newline">Guido Cioni</div><div class=""><a href="http://guidocioni.altervista.org" class="">http://guidocioni.altervista.org</a>&nbsp;</div><div class=""><br class=""></div></div><br class="Apple-interchange-newline" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class="Apple-interchange-newline"></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">Il giorno 26 apr 2016, alle ore 19:22, Andrew Kren - NOAA Affiliate &lt;<a href="mailto:andrew.kren@noaa.gov" class="">andrew.kren@noaa.gov</a>&gt; ha scritto:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Dear NCL Talk,<div class=""><br class=""></div><div class="">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 =&nbsp;<font face="arial, helvetica, sans-serif" class="">factor*(short2flt(q[:]-&gt;ham_airT))-273.15, it gives me this error:</font></div><div class=""><font face="arial, helvetica, sans-serif" class=""><br class=""></font></div><div class=""><div style="margin: 0px; line-height: normal;" class=""><font face="arial, helvetica, sans-serif" class="">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;" class=""><font face="arial, helvetica, sans-serif" class="">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;" class=""><font face="arial, helvetica, sans-serif" class=""><br class=""></font></div><div style="margin: 0px; line-height: normal;" class=""><font face="arial, helvetica, sans-serif" class="">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&nbsp;make my code portable so I can&nbsp;join any number of files for a particular storm case, since not all cases have the same&nbsp;amount of time retrievals.</font></div><div style="margin: 0px; line-height: normal;" class=""><font face="arial, helvetica, sans-serif" class=""><br class=""></font></div><div style="margin: 0px; line-height: normal;" class=""><font face="arial, helvetica, sans-serif" class="">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.&nbsp;</font></div><div style="margin: 0px; line-height: normal;" class=""><font face="arial, helvetica, sans-serif" class=""><br class=""></font></div><div style="margin: 0px; line-height: normal;" class=""><font face="arial, helvetica, sans-serif" class="">Thanks,</font></div><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div class="">Andrew Kren, PhD<br class="">
Research Scientist I, Global Observing Systems Analysis (GOSA) Group<br class="">
NOAA ESRL Global Systems Division (Rm 3C515)<br class="">
325 Broadway, Boulder, CO 80305<br class="">
<a href="tel:%28303%29%20497-5418" value="+13034975847" target="_blank" class="">(303) 497-5418</a><span class=""><font color="#888888" class=""><br class="">
</font></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div>
<span id="cid:48030BC2-42D3-45F4-91B3-983860C5E531@fritz.box">&lt;format_file.txt&gt;</span><span id="cid:42DAC19E-94C6-49B1-B689-A9D957876E40@fritz.box">&lt;compare_AVAPS_HAMSR_HS3_2011.ncl&gt;</span>_______________________________________________<br class="">ncl-talk mailing list<br class=""><a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a><br class="">List instructions, subscriber options, unsubscribe:<br class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk<br class=""></div></blockquote></div><br class=""></div></body></html>