equinor / fmu-sumo

Interaction with Sumo in the FMU context
https://fmu-sumo.readthedocs.io/en/latest/
Apache License 2.0
0 stars 6 forks source link

Content of parameters.txt available to data consumers #203

Closed adnejacobsen closed 1 year ago

adnejacobsen commented 1 year ago

Discussion: https://equinor.slack.com/archives/C0152LS9TTP/p1686565753823709

To be refined

adnejacobsen commented 1 year ago

While working on this issue and testing the code I ran the same case multiple times with everything except the SUMO_UPLOAD jobs commented out. At one point parameters.txt was replaced with parameters.txt_backup_2023-09-05_13-48-18Z. This would probably not happen if I didn't run ERT in an existing runpath, which I'm guessing users are not supposed to do. Should we handle this and use whatever file matches parameters.txt* or should the upload not proceed if parameters.txt does not exist? Any thoughts @perolavsvendsen @daniel-sol?

perolavsvendsen commented 1 year ago

I think ERT is communicating some intentions here by explicitly changing the filename, so my gut feeling is that we fetch it if it is there and called parameters.txt, else do nothing. Down the line when we know more we should coordinate with ERT on how to get the contents of parameters.txt.