Feature: optional loading of an EPOCH input deck#93
Feature: optional loading of an EPOCH input deck#93JoelLucaAdams merged 37 commits intoepochpic:mainfrom
Conversation
|
Hi @Dartrisen, thank you very much for implementing the new feature! This is a great first start although it would be nice to also allow for this parameter would accept On top of adding this feature could you also add some additional documentation to highlight how this works? Probably a small section after this https://sdf-xarray.readthedocs.io/en/latest/key_functionality.html#loading-specific-variables or potentially a new page if you prefer. |
|
FYI, you might want to additionally pull in branch #89 so that it works with datatrees as well |
JoelLucaAdams
left a comment
There was a problem hiding this comment.
Thank you for the feature implementation! There are a few things that need ironing out that I have listed below.
On top of those changes you also need to add some tests please
JoelLucaAdams
left a comment
There was a problem hiding this comment.
Looks great now, nice job!
LiamPattinson
left a comment
There was a problem hiding this comment.
Hi, this pretty much all looks good to me. I just have a few comments, but two of them would require a fairly major overhaul of the branch, so it would be understandable if you would rather merge now and consider coming back to it later. Setting epydeck as an optional dependency would be pretty easy though.
|
There are lots of duplicate tests in here, for now we can ignore this problem as it will be resolved when someone tackles #100 |
LiamPattinson
left a comment
There was a problem hiding this comment.
Nice, this is looking a lot better! Just a few minor issues from here, one of which was an existing issue in the code that may as well be fixed while we're at it.
|
@Dartrisen can you also add your info to the |
|
are we good to merge? @LiamPattinson @JoelLucaAdams |
LiamPattinson
left a comment
There was a problem hiding this comment.
Looks good to me, sorry that we got a bit lost in the minutiae there!
Now you can get access to the input.deck file by simply doing this:
The package
epydeckshould be installed in your virtual environment to use this. The default value ofload_deckisFalse.Resolves #91