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

Home » Public Forums » archive » Re: Creating 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
Re: Creating netCDF file [message #79982] Fri, 20 April 2012 08:40
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article <6c766a2e-16b9-42a5-b71b-db9a50ec909d@j9g2000pbn.googlegroups.com>,
shambhu <shambhu.mca36@gmail.com> wrote:

> Hi all,
>
> I have a .pro which takes 5(t,q,m,h,p) input and gives 7(p, z, d, r,
> s, t, a) output parameters. please tell me how to make netCDF file for
> this. For me its working for 4 variables. When i define 5th parameter
> its giving error " NC_UNLIMITED dimension already in use". Please tell
> me, how to resolve this.
>
> id = NCDF_CREATE(file_name, CLOBBER = clobber) ;Create
> netCDF output file
>
> tid = NCDF_DIMDEF(id, 'time', t)
> qid = NCDF_DIMDEF(id, 'q', q)
> mid = NCDF_DIMDEF(id, 'Md', Md)
> hid = NCDF_DIMDEF(id, 'H', h)
> pid = NCDF_DIMDEF(id, 'hplus', hplus)
>
> vid = NCDF_VARDEF(id, 'data', [tid, qid, Mdid, hid, pid], /
> LONG) ;Define data variable
> NCDF_CONTROL, id, /ENDEF
> NCDF_VARPUT, id, 'data', data
> NCDF_CLOSE,
> id ;Close
> netCDF output file

Your question as written doesn't make sense.

With more information someone might be able to help.

What are the dimensions of all of these parameters?

Ken Bowman
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Keyword DIMENSION not allowed in call to: MOMENT
Next Topic: Re: How to speed up large FOR loops?

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

Current Time: Wed Oct 08 13:56:42 PDT 2025

Total time taken to generate the page: 0.00596 seconds