NCDF_ATTPUT segmentation fault with /STRING keyword [message #90491] |
Thu, 05 March 2015 05:17  |
andeh
Messages: 23 Registered: April 2011
|
Junior Member |
|
|
Hello,
The following lines of code cause my IDL session (linux, 8.3 and 8.4) to segfault. Do the gurus have any advice for my novice NCDF skills?
Cheers!
A
d = NCDF_CREATE( './test.nc', /CLOBBER, /NETCDF4_FORMAT )
theGroup = NCDF_GROUPDEF( d, 'groupname' )
theTitle = NCDF_VARDEF( theGroup, 'my_title' )
;; Segfault happens here, but ONLY when the /STRING keyword is set.
NCDF_ATTPUT, theGroup, theTitle, 'my_title', "blah blah blah", /STRING
|
|
|
|
|
|