Loading an ARMI DB when you don't have the App that created it #1688
Replies: 4 comments 12 replies
-
@jakehader @keckler @onufer I would love you input here. Is it just the This is a "I don't know what I don't know" situation. Thanks! |
Beta Was this translation helpful? Give feedback.
-
You also need for the relevant material classes to be available. If ARMI
can't find a material that is used in the reactor model, you can't do
db.load()
…On Mon, Apr 15, 2024, 6:54 PM John Stilley ***@***.***> wrote:
@jakehader <https://github.com/jakehader> @keckler
<https://github.com/keckler> @onufer <https://github.com/onufer> I would
love you input here. Is it *just* the Parameter / Settings definitions
that are the issue?
This is a "I don't know what I don't know" situation.
Thanks!
—
Reply to this email directly, view it on GitHub
<#1688 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFHRHMB7KHGCCCMIJIJCXCTY5RSDNAVCNFSM6AAAAABGIILXS2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TCMRTGY4TS>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
We have an internal visualization tool (XTView) that loads DBs to some extent without having access to the original app. I'm not sure how that works, but it might be a starting point for what you're trying to accomplish here. |
Beta Was this translation helpful? Give feedback.
-
I feel like I'm a big fan of option 1. Storing parameter defs and settings in the DB is borderline trivial from a data magnitude perspective, and putting them in there would indeed facilitate sharing of output DBs in a way that would be more portable, e.g. into other ARMI apps or just pure framework. Materials do scare me a little. If you're missing materials you won't really be able to e.g. get mass density and therefore won't be able to look at compositions in any detail. Then you can't getMass or anything and many of the useful ARMI post-processing features will not work. Of course if you don't want any ARMI data model abstractions whatsoever you can just read the hdf5 file directly (this is what xtview does) |
Beta Was this translation helpful? Give feedback.
-
Right now, the story goes that you can't load an ARMI DB if you don't have the ARMI
App
that was used to create the DB in the first place.This displeases me.
It means a lot more overhead in sharing ARMI outputs. You need to go find the
App
in question, get all its data and cruft, just to load an H5 file. ARMI should be easier to use than that.So, the question is: Why do you need the
App
?App
because that's where theParameter
s in the Database are defined.App
because it defines theSetting
s in thecs
object.Is there any other reason?
Beta Was this translation helpful? Give feedback.
All reactions