[ncl-talk] Problem with ncl in cygwin

Rick Brownrigg brownrig at ucar.edu
Tue Jul 28 09:39:05 MDT 2015


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> 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
> 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/ca8e696c/attachment.html 


More information about the ncl-talk mailing list