[ncl-talk] Problem with ncl in cygwin
Lara Gunn
lara.n.gunn at gmail.com
Tue Jul 28 11:49:49 MDT 2015
Hi Rick
Thanks for that reply but yes I thought of that already and it didn't work.
I also tried putting it in double quotes.
Thanks though I am sure it will be along those lines when I eventually
figure it out.
Lara
On Tuesday, July 28, 2015, Rick Brownrigg <brownrig at ucar.edu> wrote:
> Hi,
>
> I don't have a cygwin box to test this, but perhaps you need to escape the
> spaces, even though they appear between quotations (?):
>
> filename = "/cygdrive/u/Trading\ -\ Power/image"
>
> HTH...
> Rick
>
> On Tue, Jul 28, 2015 at 8:29 AM, Lara Gunn <lara.n.gunn at gmail.com
> <javascript:_e(%7B%7D,'cvml','lara.n.gunn at gmail.com');>> wrote:
>
>> Hi
>>
>> I am currently running ncl 6.2.1 in cygwin and I am having an issue
>> writing to a folder on a mapped directory to my windows system.
>>
>> I can write a file to one directory (NOTE THIS CODE WORKS)
>>
>> filename = "/cygdrive/u/Meteorology/image"
>> wks = gsn_open_wks("png",filename)
>>
>> but not to this one
>>
>> filename = "/cygdrive/u/Trading - Power/image"
>>
>> I have tried a few things including writing the image to a different
>> directory then using a shell script to move it, but I am trying to set
>> something up that needs to be done fast so the move takes too long.
>>
>> Does anyone have an idea of how I create a image in a directory that has
>> spaces in the file anme please?
>>
>> Thanks for your time
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu <javascript:_e(%7B%7D,'cvml','ncl-talk at ucar.edu');>
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150728/6ebf5ebb/attachment.html
More information about the ncl-talk
mailing list