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

Home » Public Forums » archive » NetCDF and empty variables
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: NetCDF and empty variables [message #66201 is a reply to message #66142] Tue, 21 April 2009 21:03 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mark writes:

> That said, there's nothing weird about this file except that it has an
> unlimited dimension (N_HISTORY) with size zero. And that's not really
> very weird at all.
>
> The ncdump utility shows this:
>
> $ ncdump -v HISTORY_PARAMETER 69003_prof.nc
> netcdf \69003_prof {
> dimensions:
> DATE_TIME =3D 14 ;
> STRING256 =3D 256 ;
> STRING64 =3D 64 ;
> STRING32 =3D 32 ;
> STRING16 =3D 16 ;
> STRING8 =3D 8 ;
> STRING4 =3D 4 ;
> STRING2 =3D 2 ;
> N_PROF =3D 16 ;
> N_PARAM =3D 2 ;
> N_LEVELS =3D 94 ;
> N_CALIB =3D 1 ;
> N_HISTORY =3D UNLIMITED ; // (0 currently)
> variables:
> ...etc
>
> and so does IDL
>
> IDL> id =3D ncdf_open('C:\Temp\69003_prof.nc')
> IDL> inq =3D ncdf_inquire(id)
> IDL> ncdf_diminq, id, inq.recdim, name, size
> IDL> print, name, size
> N_HISTORY 0
> IDL> ncdf_close, id

Yeah, so what does that mean that it has an unlimited
dimension. Why would someone do that? :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: VISualize 2009 summary
Next Topic: image correlation

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

Current Time: Fri Oct 10 09:38:09 PDT 2025

Total time taken to generate the page: 0.80039 seconds