<div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="">Just a quick observation: the fatal error was telling you exactly where the problem was:<br><div class="gmail_default" style="font-size:small"><font color="#000000" face="monospace, monospace"><span style="font-size:16px"><br></span></font></div><div class="gmail_default" style=""><font color="#000000" style=""><div class="gmail_default" style="color:rgb(0,0,0);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><font face="monospace, monospace" style="">fatal:syntax error: line 2 before or near / </font></div><div class="gmail_default" style="color:rgb(0,0,0);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><font face="monospace, monospace">  eos_file=/</font></div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><font face="monospace, monospace">-----------^</font></span></font></div><div class="gmail_default" style="font-size:small"><br></div>you were missing a quote mark before the first "/" in the file path:<br><br>It should be (I also added the ".he2" that Dennis pointed out):<br><font face="monospace, monospace"><br>ncl 2>   eos_file="/home/elham/Desktop/2011040011644_25451_CS_2B-GEOPROF_GRANULE_P1_R05_E03_F00.+".hdf.he2"</font><br><br>--Mary<br></div><div class="gmail_default"><font color="#000000" face="Calibri, Helvetica, sans-serif"><span style="font-size:16px"><br></span></font></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 4, 2018 at 1:48 PM, Dennis Shea <span dir="ltr"><<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</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 dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">eos_file=<span style="color:rgb(0,0,255)"><b>"</b></span>/home/elham/Desktop/<wbr>2011040011644_25451_CS_2B-GEOP<wbr>ROF_GRANULE_P1_R05_E03_F00.hdf<span style="color:rgb(0,0,255)"><b><wbr>.he2"<br><br></b></span></div><div><span style="color:rgb(0,0,255)"><font color="#000000">or<br><br></font></span></div><div><span style="color:rgb(0,0,255)"><font color="#000000">direos = "</font></span><span style="color:rgb(0,0,255)"><font color="#000000">/home/elham/Desktop/"<br></font></span></div><div><span style="color:rgb(0,0,255)"><font color="#000000">fileos  = "</font></span>2011040011644_25451_CS_2B-GEO<wbr>PROF_GRANULE_P1_R05_E03_F00.<wbr>hdf<span style="color:rgb(0,0,255)"><b>"<br></b></span></div><div><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)">ptheos = direos+fileos</span><b><br><br></b></span></div><div><span style="color:rgb(0,0,255)"><font color="#000000">f = <a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/addfile.shtml" target="_blank"><b>addfile</b></a>(</font> <span style="color:rgb(0,0,0)">ptheos<b>+".he2"</b>, "r")</span>   <span style="color:rgb(0,0,0)">; treat as HDF-EOS2 file</span><br></span></div><div><span style="color:rgb(0,0,0)"><b>print</b>(f)<br></span></div><div><span style="color:rgb(0,0,0)"></span></div><div><span style="color:rgb(0,0,255)"><b><br></b><span style="color:rgb(0,0,0)">===<br></span></span></div><div><span style="color:rgb(0,0,0)">Please note: <b>NCL 6.1.2 is 5.5</b> years old. Please upgrade to the recently released NCL 6.5.0<br></span></div><div><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)">There have been *MANY* upgrades and additions to NCL's capabilities.<br><br><a href="http://www.ncl.ucar.edu/current_release.shtml" target="_blank"><b>http://www.ncl.ucar.edu/<wbr>current_release.shtml</b></a><br><br></span></span></div><div><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)">Click 'Downloads'<br><br>===<br></span></span></div><div><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)">If there are installation problems, post questions to <a href="mailto:ncl-install@ucar.edu" target="_blank">ncl-install@ucar.edu</a><br></span></span></div><div>You must subscribe to this list before posting.<br></div><div><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)"><br><b><a href="http://www.ncl.ucar.edu/Support/email_lists.shtml" target="_blank">http://www.ncl.ucar.edu/<wbr>Support/email_lists.shtml</a></b><br></span></span></div><div><span style="color:rgb(0,0,255)"><b><br></b></span><br><span style="color:rgb(0,0,255)"></span></div><div><span style="color:rgb(0,0,255)"></span></div><div dir="ltr"><span style="color:rgb(0,0,255)"><b></b></span></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Sep 4, 2018 at 10:01 AM, Elham Ghasemifar <span dir="ltr"><<a href="mailto:elham.ghasemifar@modares.ac.ir" target="_blank">elham.ghasemifar@modares.ac.<wbr>ir</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">




<div dir="ltr">
<div id="m_6262549537271768854m_7463692202223460735divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif">
<p><font size="3" face="Calibri,Helvetica,sans-serif" color="black"><span style="font-size:12pt" id="m_6262549537271768854m_7463692202223460735divtagdefaultwrapper"></span></font></p>
<div>Dear colleges <br>
</div>
hello<br>
i ran hdfeos script for cloudsat data with the script,<br>
  file_name ="2011040011644_25451_CS_2B-GE<wbr>OPROF_GRANULE_P1_R05_E03_F00.<wbr>hdf"<br>
<br>
  eos_file=addfile(“/home/elham/<wbr>Desktop/2011040011644_25451_CS<wbr>_2B-GEOPROF_GRANULE_P1_R05_E03<wbr>_F00.hdf”+ ".he2","r")
<br>
  print(eos_file) <br>
<br>
but i receipt the such error in line 2, what can i do to remove the erorr<br>
<br>
<br>
<br>
root@ephyslab:/home/elham# ncl<br>
 Copyright (C) 1995-2013 - All Rights Reserved<br>
 University Corporation for Atmospheric Research<br>
 NCAR Command Language Version 6.1.2<br>
 The use of this software is governed by a License Agreement.<br>
 See <a href="http://www.ncl.ucar.edu/" rel="noopener noreferrer" disabled target="_blank">
http://www.ncl.ucar.edu/</a> for more details.<br>
ncl 0>   file_name ="2011040011644_25451_CS_2B-GE<wbr>OPROF_GRANULE_P1_R05_E03_F00.<wbr>hdf"<br>
ncl 1> <br>
ncl 2>   eos_file=/home/elham/Desktop/2<wbr>011040011644_25451_CS_2B-GEOPR<wbr>OF_GRANULE_P1_R05_E03_F00.+".<wbr>hdfaddfilencl 2>   eos_file=/home/elham/Desktop/2<wbr>011040011644_25451_CS_2B-GEOPR<wbr>OF_GRANULE_P1_R05_E03_F00.+".<wbr>hhdfaddfilncl 2>   eos_file=/home/elham/Desktop/2<wbr>011040011644_25451_CS_2B-GEOPR<wbr>OF_GRANULE_P1_R05_E03_F00.+".<wbr>hehdfaddfincl
 2>   eos_file=/home/elham/Desktop/2<wbr>011040011644_25451_CS_2B-GEOPR<wbr>OF_GRANULE_P1_R05_E03_F00.+".<wbr>he2hdfaddfncl 2>   eos_file=/home/elham/Desktop/2<wbr>011040011644_25451_CS_2B-GEOPR<wbr>OF_GRANULE_P1_R05_E03_F00.+".<wbr>he2"hdfaddncl 2>   eos_file=/home/elham/Desktop/2<wbr>011040011644_25451_CS_2B-GEOPR<wbr>OF_GRANULE_P1_R05_E03_F00.+".<wbr>he2",hdfadncl
 2>   eos_file=/home/elham/Desktop/2<wbr>011040011644_25451_CS_2B-GEOPR<wbr>OF_GRANULE_P1_R05_E03_F00.+".<wbr>he2","hdfancl 2>   eos_file=/home/elham/Desktop/2<wbr>011040011644_25451_CS_2B-GEOPR<wbr>OF_GRANULE_P1_R05_E03_F00.+".<wbr>he2","rhdfncl 2>   eos_file=/home/elham/Desktop/2<wbr>011040011644_25451_CS_2B-GEOPR<wbr>OF_GRANULE_P1_R05_E03_F00.+".<wbr>he2","r"hdncl
 2>   eos_file=/home/elham/Desktop/2<wbr>011040011644_25451_CS_2B-GEOPR<wbr>OF_GRANULE_P1_R05_E03_F00.+".<wbr>he2","r")hncl 2>   eos_file=/home/elham/Desktop/2<wbr>011040011644_25451_CS_2B-GEOPR<wbr>OF_GRANULE_P1_R05_E03_F00.+".<wbr>he2","r") ncl 2>   eos_file=/home/elham/Desktop/2<wbr>011040011644_25451_CS_2B-GEOPR<wbr>OF_GRANULE_P1_R05_E03_F00.+".<wbr>he2","r")
<br>
fatal:syntax error: line 2 before or near / <br>
  eos_file=/<br>
-----------^<br>
<p></p>
</div>
</div>

<br></div></div>______________________________<wbr>_________________<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/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">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/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>