<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; ">Laura,<div><br></div><div>Sorry, I mean I could NOT reproduce your issue on my Mac.</div><div>6.1.2 on my Mac generated a NetCDF file properly.</div><div><br></div><div>Wei<br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><br class="Apple-interchange-newline"><a href="mailto:huangwei@ucar.edu">huangwei@ucar.edu</a></div><div>VETS/CISL<br>National Center for Atmospheric&nbsp;Research<br>P.O. Box 3000 (1850 Table Mesa Dr.)<br>Boulder, CO 80307-3000 USA<br>(303) 497-8924</div></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Oct 22, 2013, at 10:20 AM, Wei Huang &lt;<a href="mailto:huangwei@ucar.edu">huangwei@ucar.edu</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Laura,<div><br></div><div>I could reproduce your issue.</div><div><br></div><div>You may try:</div><div><br></div><div>ncl_convert2nc MERRA100.prod.assim.tavgM_2d_flx_Nx.197901.hdf.he5</div><div><br></div><div>as this one is truly a HDF-EOS data.</div><div><br></div><div>Wei<br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; font-family: 'Times New Roman'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: 'Times New Roman'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; font-family: 'Times New Roman'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><br class="Apple-interchange-newline"><a href="mailto:huangwei@ucar.edu">huangwei@ucar.edu</a></div><div>VETS/CISL<br>National Center for Atmospheric&nbsp;Research<br>P.O. Box 3000 (1850 Table Mesa Dr.)<br>Boulder, CO 80307-3000 USA<br>(303) 497-8924</div></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Oct 22, 2013, at 9:31 AM, Laura Briley &lt;<a href="mailto:auraell@umich.edu">auraell@umich.edu</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif; "><div>Hi,</div><span id="OLK_SRC_BODY_SECTION">I am trying to use the ncl_convert2nc command to convert hdf files to netcdf but get the error: "if: Expression Syntax". &nbsp;Here is the important information that I think you need:<div><br></div><div><div>[Laura-Brileys-MacBook:~] laura% ncl -V</div><div>6.1.2</div><div>[Laura-Brileys-MacBook:My Passport/Data/MERRA] laura% ncl_convert2nc MERRA100.prod.assim.tavgM_2d_flx_Nx.197901.hdf&nbsp;</div><div>if: Expression Syntax.</div><div>[Laura-Brileys-MacBook:My Passport/Data/MERRA] laura% uname -a</div><div>Darwin Laura-Brileys-MacBook.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun &nbsp;7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386</div></div><div><br></div><div>I have put one of the files on your ftp site:&nbsp;MERRA100.prod.assim.tavgM_2d_flx_Nx.197901.hdf</div><div><br></div><div>Others have had the same problem but I have not come across any solutions yet:</div><div><a href="http://www.ncl.ucar.edu/Support/talk_archives/2011/3210.html">http://www.ncl.ucar.edu/Support/talk_archives/2011/3210.html</a></div><div><a href="http://www.ncl.ucar.edu/Support/talk_archives/2010/2138.html">http://www.ncl.ucar.edu/Support/talk_archives/2010/2138.html</a></div><div><br></div><div>Laura Briley</div></span></div>
_______________________________________________<br>ncl-talk mailing list<br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br></blockquote></div><br></div></div>_______________________________________________<br>ncl-talk mailing list<br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br></blockquote></div><br></div></body></html>