equinor / fmu-sumo-uploader

Upload to Sumo in the FMU context
https://fmu-sumo-uploader.readthedocs.io/en/latest/
Apache License 2.0
0 stars 3 forks source link

given config path is not used for parameter upload #64

Open perolavsvendsen opened 6 months ago

perolavsvendsen commented 6 months ago

The path to global variables/global config/config differs from the convention on some model setups. The SUMO_UPLOAD forward model takes the path as an argument, but this is not used when uploading parameters.

Config job:

FORWARD_MODEL SUMO_UPLOAD(<SEARCHPATH>="share/results/maps/inplace/*.gri", <CONFIG_PATH>=config/global_variables/<GLOBAL_VARIABLES_NAME>.yml)

Logs:

2024-05-16 04:34:55,541:INFO:fmu.sumo.uploader:Uploading parameters.txt
CONFIG_PATH: fmuconfig/output/global_variables.yml
2024-05-16 04:34:55,724:WARNING:fmu.sumo.uploader:Problem related to Sumo upload: [Errno 2] No such file or directory: 'fmuconfig/output/global_variables.yml' <class 'FileNotFoundError'>