-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds extra metadata to fields about their origin #241
Conversation
@theurich @oehmke @danrosen25 I could able to query the fields in acceptor side and it looks like following,
At this point I am aiming to create namespaces and nested states in the generic component side based on the information provided by the |
@theurich @oehmke @danrosen25 BTW, I am not sure this is the right approach to make provider name information available to other components. Anyway, let me know what you think. |
@theurich I add a new option |
@theurich I added extra documentation. Please review it when you have time. I am also working on NUOPC app prototype to test new feature. Once it is ready, I'll open another PR in there and linked to here. |
@uturuncoglu sounds good. It is on my todo list. :-) |
@theurich BTW, we could extend the existing |
Yes, a dedicated proto is my preference here, too! |
@theurich I wonder if it is possible to set following attributes through use of
So, i am trying to construct the atmospheric component by querying nested states and without setting those sharing is not working properly and code hangs at some point. Anyway, let me know what you think. I could push current version to a branch if you want to see. |
@theurich Okay. I found it. No worries. |
New draft app prototype PR can be found in here esmf-org/nuopc-app-prototypes#7 |
@uturuncoglu Please merge |
@theurich Okay. Testing soon. |
@uturuncoglu @theurich |
@danrosen25 I like the idea of being able to select the branch for NUOPC app protos repo once this feature is integrated into the Development Tests action. |
@theurich I have merged develop to both ESMF and NUOPC app port branches. I also install the updated version of ESMF in my end. it seems that |
@theurich It seems that
and I have
If I remember this was an issue before and not related with the PR. It is failing on just one particular combo. |
Yes, I saw that in my "Development Tests" action, too, yesterday. Strange thing is that it had not been happening on develop for a while. But certainly not related to your PR. |
It's the same issue I tried to fix by downgrading the OpenMPI Library. The delay time is < 3 seconds, which is impossible. The
|
@theurich Fix Branch: https://github.com/danrosen25/esmf/tree/refs/heads/fix/devtest_macostime |
@uturuncoglu @theurich - This should be fixed now |
@danrosen25 that's awesome! Thank you! |
the contents of an Info object.
Instead implement Import-/ExportState naming based on compLabel for more clarity.
explicitly provided VM, and use this to target acceptor VM for field mirroring with NameSpace.
…pace Focus on Namespace handling for targeted field mirror
@theurich Okay. I merged your PR and make this to ready for review. |
Moving and continuing conversation from #328:
User code should access the "Namespace" attribute, not the nested state name. The "Namespace" attribute is guaranteed to be identical to the component label of the user provided run sequence. So NUOPC internal name mangling for state names, etc., does not affect the "Namespace" attribute. Does that make sense? |
@theurich Okay. That makes sense. Please go ahead and merge it if you have all the changes (incl. doc). Let me know if you need anything from my end. |
Sounds good. It will take me a little bit. I will push them and let you know when I am finished with it. Also will touch your prototype app code at the same time. |
FieldTransferPolicy attribute. Update documentation.
@uturuncoglu and @danrosen25 the updated mirror section in the documentation can be reviewed at https://earthsystemmodeling.org/docs/nightly/feature/provider_metadata/NUOPC_refdoc/node3.html#SECTION00034900000000000000 |
@theurich I have just tested your changes with my application and it is working as expected after some minor modification. So, I think this is good to go. |
Documentation also looks good. Thanks for all your help. |
@uturuncoglu That sounds good. I'll go ahead and merge the PR. |
This PR aims to enhance NUOPC layer by adding extra metadata to the import and export states and also fields in those states about their origin. By this way, the acceptor component could query the metadata to see the origin of the fields like following,