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

Home » Public Forums » archive » Unable to create netCDF file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Unable to create netCDF file [message #75582] Thu, 31 March 2011 10:10
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
Any idea why I cannot create a netCDF file using tilde expansion?

IDL> id = NCDF_CREATE('~/test.ncd', CLOBBER = clobber)
% NCDF_CREATE: Unable to create the file, ~/test.ncd. (NC_ERROR=-31)

I thought it was a generic problem with tilde expansion, but it works
for plain files (the file text.txt exists and contains 'test').

IDL> openw, iunit, '~/test.txt', /get_lun
IDL> printf, iunit, 'test'
IDL> free_lun, iunit

NetCDF file creation works if I provide the fully-qualified path.

Version info:

IDL Version 8.0.1, Mac OS X (darwin x86_64 m64). (c) 2010, ITT Visual Information Solutions


Ken Bowman
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: code help
Next Topic: Re: Unable to create netCDF file

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

Current Time: Wed Oct 08 17:39:14 PDT 2025

Total time taken to generate the page: 0.00520 seconds