<div dir="ltr">Hi Noelia:<div><br></div><div>I noticed that the ftp system prefers the files gzipped.  If you are able to log on, but not upload, it maybe because the file is too large.</div><div><br></div><div>Barry</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 10, 2017 at 4:15 PM, Noelia otero <span dir="ltr"><<a href="mailto:noeli1680@gmail.com" target="_blank">noeli1680@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">Hi again,<div><br></div><div>I am trying to upload the file but the ftp is not working now (maybe is temporary) .</div><div>In any case, I also wanted that I tried again with an older version of NCL (6.2.1) and it works..yesterday I was using 6.3.0 and I got the segmentation default. Then, it seems that it could be related to version of ncl? </div><div><br></div><div>I'll try to upload the file later, if you still suggest me to do it.</div><div><br></div><div>Thanks a lot,</div><div><br></div><div>Best</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Noelia </div><div><br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-12-10 6:36 GMT+01:00 Rick Brownrigg <span dir="ltr"><<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,<br><br></div>Are you able you able to ftp the file in question to us?  Using "addfile()" with "w" to both read and write should work, and in any case, it should not segv!<br><br><pre>ftp <a href="http://ftp.cgd.ucar.edu" target="_blank">ftp.cgd.ucar.edu</a>
anonymous
<i><enter your email address for the password></i>
cd incoming
put <i>file1</i>
put <i>file2</i>
. . .<i>continue with 'put' commands until all desired files are uploaded</i>. . .
quit
</pre>
<p>

When the upload is complete, send email
to <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk</a> or the NCL team
member that you've already been working with and include the exact
names of the files, and the approximate size of each file.
</p><p>

<font color="red">For security reasons, you cannot list the contents of
the 'incoming' directory. This is why we need to know the exact names
of the files.</font>
</p>

</div><div class="m_-7417375340867180030HOEnZb"><div class="m_-7417375340867180030h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 9, 2017 at 3:18 PM, Noelia otero <span dir="ltr"><<a href="mailto:noeli1680@gmail.com" target="_blank">noeli1680@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">Hi Dennis,<div><br></div><div>This is not a wrfout_nc file, sorry, it was just the name used in the script to call "file_in". What confuses me it's that when I open the file with addfile with the option "r" I can get the variables (lat, lon or whatever). The problem is when I want to overwrite some the values in there, because I open it as addfile with the option "w". Then when I try to read any variable the segmentation defaul happens. Any idea ?</div><div><br></div><div>Many thanks again,</div><div>Noelia</div><div><br></div></div><div class="m_-7417375340867180030m_-3458787058477492260HOEnZb"><div class="m_-7417375340867180030m_-3458787058477492260h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-12-09 22:42 GMT+01:00 Dennis Shea <span dir="ltr"><<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Typically, wrfout_nc files do not have variable named 'lat'<br><br></div>XLAT(Time, south_north, west_east)<br></div>also<br>XLONG(Time, south_north, west_east)<br><br></div>So, maybe it should be<br><br></div>lat2d = (/wrfout->XLAT(0,:,:)/)     ; 0 refers to the 1st time step<br></div>printVarSummary(lat2d)<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-7417375340867180030m_-3458787058477492260m_-1883125579834824499h5">On Sat, Dec 9, 2017 at 12:56 PM, Noelia otero <span dir="ltr"><<a href="mailto:noeli1680@gmail.com" target="_blank">noeli1680@gmail.com</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="m_-7417375340867180030m_-3458787058477492260m_-1883125579834824499h5"><div dir="ltr">Hi <div><br></div><div>I am getting a Segmentation fault (core dumped) when trying to read a variable from one file opened as:</div><div><br></div><div>wrfout = addfile(file_in,"w")<br></div><div><div>lat2d = (/wrfout->lat/)</div><div>Segmentation fault (core dumped)</div></div><div><br></div><div>I thought that it could due to a problem in the file, but I looked at the file and it seems fine. If I use:</div><div><div>wrfout = addfile(file_in,"r")<br></div><div>lat2d = (/wrfout->lat/)</div></div><div>it works.</div><div>The file I'm using is 52M..no too large...so I'm quite lost about what the problem can be... and the version of ncl Version 6.3.0.</div><div><br></div><div>Any idea?</div><div><br></div><div>Thanks!</div><div><br></div><div>Best</div><span class="m_-7417375340867180030m_-3458787058477492260m_-1883125579834824499m_2559334932514395200HOEnZb"><font color="#888888"><div>Noelia</div></font></span></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>
</blockquote></div><br></div>
</div></div><br>______________________________<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>
</div></div></blockquote></div><br></div>
</div></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><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br>US 914 432 3108<br></div></div></div>
</div>