swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sven sent a new HDF demo example


From: pauljohn
Subject: Sven sent a new HDF demo example
Date: Wed, 27 Jun 2001 07:43:25 -0500

Thanks to Sven for this demo and informative comments in the top of the
file.

For anybody who wants to use HDF5 data storage, consider looking at
this:

http://lark.cc.ukans.edu/~pauljohn/SwarmFaq/WorkingExampleCode/java/HDFAppArchiverDemo.java

This example has an example showing what happens if you save "deep" or
"shallow".  Deep and shallow are used in the same sense that we use
those terms when we talk about copying objects. Recall a shallow copy
picks up IVARS like ints, doubles, etc, as well as references, but not
objects that are referred to. Deep is supposed to copy all the IVARS as
well as all objects that are referred to, such as the contents of lists.

>From this exercise we have learned that a deep save will pick up one
dimensional arrays, but not multidimensional arrays, but some volunteer
among us could extend this functionality in Swarm if it is desired.

With examples like this one, which Marcus originated, I'm gradually
starting to understand.  I have read for many hours the documentation
from the hdf team at ncsa and all I get is a headache, and an example
that works helps me to see what parts of that documentation are relevant
to my needs and which are not.

-- 
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ukans.edu/~pauljohn
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66045                FAX: (785) 864-5700

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]