comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » NCDF_ATTPUT segmentation fault with /STRING keyword
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
NCDF_ATTPUT segmentation fault with /STRING keyword [message #90491] Thu, 05 March 2015 05:17 Go to previous message
andeh is currently offline  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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: EOF Arctic Oscillation for beginner
Next Topic: Save hundreds of TIFFs as .bsq

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:55:51 PDT 2025

Total time taken to generate the page: 0.00410 seconds