Re: length of full path

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Fri Jun 04 2010 - 11:38:46 MDT

It appears to be 220 characters on my MAC.

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"

  ;nchar = 221 ; FAIL
   nchar = 220

   char = new ( nchar, "character")
   ca = stringtochar("a")
   char = ca(0)

   pltName = chartostring( char )
   pltType = "eps"

   wks = gsn_open_wks(pltType, pltName)
   gsn_draw_colormap(wks)

On 6/4/10 8:51 AM, Fang, Fan (GSFC-610.2)[ADNET SYSTEMS INC] wrote:
> What is the character limit of a full path name of a graphic output file (e.g. .eps file) that can be specified in NCL?
>
> We had "segmentation fault" if the file name with path is too long.
>
> -Fan
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Jun 4 11:38:51 2010

This archive was generated by hypermail 2.1.8 : Mon Jun 07 2010 - 16:48:44 MDT