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

Home » Public Forums » archive » Re: How do I get IDL to place a string array into a netdcf file attribute?
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: How do I get IDL to place a string array into a netdcf file attribute? [message #84427 is a reply to message #84408] Sun, 02 June 2013 10:40 Go to previous messageGo to previous message
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
Hi again,

On 06/02/2013 02:19 AM, Peter Thorne wrote:
> how to pass a flag meanings attribute which makes the flag
> arrays make sense to a user

I use NetCDF extensively, and as a user I will not expect a variable
attribute to be an array (I don't think that it is allowed by NetCDF
but I did not check it).
I don't see the problem with giving flag information as a variable. You
need to define a new dimension, nflags = 50 and then a variable
flags(nflags). You can refer to this flag variable in the concerned
variable's attributes.
I know that some institutions provide extensive metadata in their
attributes using XML (cf HDF_EOS formats), but this is not very handy
for everyone.

This is my personal opinion, but maybe someone out here has more
experience on writing attributes as arrays...

Cheers,
Fab
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Puzzling over inherited objects
Next Topic: How to improve the efficiency of IDL on cluster

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

Current Time: Fri Oct 10 00:13:16 PDT 2025

Total time taken to generate the page: 0.44899 seconds