<p>Well that is interesting and here was i hoping i had just missed something obvious. </p>
<p>I may write a work around, like just put another directory on the u drive! </p>
<p>That's</p>
<div class="gmail_quote">On Jul 28, 2015 7:33 PM, "David Brown" <<a href="mailto:dbrown@ucar.edu">dbrown@ucar.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I believe that this is more than just a problem with Cygwin. There is<br>
a currently open ticket (NCL-1539) with the title:<br>
"addfile and gsn_open_wks do not work with directory paths that have<br>
spaces in the names (even when escaped properly)"<br>
<br>
We need to look into this further.<br>
-dave<br>
<br>
<br>
<br>
On Tue, Jul 28, 2015 at 11:49 AM, Lara Gunn <<a href="mailto:lara.n.gunn@gmail.com">lara.n.gunn@gmail.com</a>> wrote:<br>
> Hi Rick<br>
><br>
> Thanks for that reply but yes I thought of that already and it didn't work.<br>
> I also tried putting it in double quotes.<br>
><br>
> Thanks though I am sure it will be along those lines when I eventually<br>
> figure it out.<br>
><br>
> Lara<br>
><br>
> On Tuesday, July 28, 2015, Rick Brownrigg <<a href="mailto:brownrig@ucar.edu">brownrig@ucar.edu</a>> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> I don't have a cygwin box to test this, but perhaps you need to escape the<br>
>> spaces, even though they appear between quotations (?):<br>
>><br>
>> filename = "/cygdrive/u/Trading\ -\ Power/image"<br>
>><br>
>> HTH...<br>
>> Rick<br>
>><br>
>> On Tue, Jul 28, 2015 at 8:29 AM, Lara Gunn <<a href="mailto:lara.n.gunn@gmail.com">lara.n.gunn@gmail.com</a>> wrote:<br>
>>><br>
>>> Hi<br>
>>><br>
>>> I am currently running ncl 6.2.1 in cygwin and I am having an issue<br>
>>> writing to a folder on a mapped directory to my windows system.<br>
>>><br>
>>> I can write a file to one directory (NOTE THIS CODE WORKS)<br>
>>><br>
>>> filename = "/cygdrive/u/Meteorology/image"<br>
>>> wks = gsn_open_wks("png",filename)<br>
>>><br>
>>> but not to this one<br>
>>><br>
>>> filename = "/cygdrive/u/Trading - Power/image"<br>
>>><br>
>>> I have tried a few things including writing the image to a different<br>
>>> directory then using a shell script to move it, but I am trying to set<br>
>>> something up that needs to be done fast so the move takes too long.<br>
>>><br>
>>> Does anyone have an idea of how I create a image in a directory that has<br>
>>> spaces in the file anme please?<br>
>>><br>
>>> Thanks for your time<br>
>>><br>
>>><br>
>>> _______________________________________________<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/mailman/listinfo/ncl-talk</a><br>
>>><br>
>><br>
><br>
> _______________________________________________<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/mailman/listinfo/ncl-talk</a><br>
><br>
</blockquote></div>