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

Home » Public Forums » archive » Re: NC_check_name error when using NCDF_VARDEF
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: NC_check_name error when using NCDF_VARDEF [message #79906] Mon, 16 April 2012 14:52 Go to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article <25d91b3c-f8eb-4548-a60f-061d11c9f67c@l3g2000vbv.googlegroups.com>,
Jason Webster <jason.r.webster@gmail.com> wrote:

>>> fid=NCDF_CREATE('/Volumes/Disk2/Data/Volcanic_Impact/
>>> atmos_'+variable(i)+'_el_chichon.nc',/CLOBBER)
>>
>>> memvid=NCDF_VARDEF(fid,'member',[memid],/FLOAT)
>>
>>> varvid=NCDF_VARDEF(fid,variable,[lonid,latid,timid,memid],/F LOAT)
>>
>> Should be?
>>
>> varvid=NCDF_VARDEF(fid,variable[i],[lonid,latid,timid,memid] ,/FLOAT)
>>
>>
>> Ken Bowman
>
> Thank You!

It's a good thing that you were using the variable name in the output
file, or it would have been impossible to diagnose, although the error
message was a clue that a variable name was somehow screwed up.

Ken
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: An IsoContour Question
Next Topic: Re: An IsoContour Question

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

Current Time: Wed Oct 08 11:29:12 PDT 2025

Total time taken to generate the page: 0.00415 seconds