For the one-step workflows, @oliverwm1 wrote some code which prepares a local configuration dictionary with a mix of local and remote assets. The initial conditions are on GCS, but the diag_table and some other things are local. It would be nice to refactor the manual file-moving code in that workflow to a function in this package. I imagine something like this interface
def upload_config_to_url(config, url):
"""Upload a config dict and all of it's assets to the url
"""
The main difficulty is what the locations of the assets should be. Maybe, url should point to a directory, which will contain the assets and the configuration yaml.
For the one-step workflows, @oliverwm1 wrote some code which prepares a local configuration dictionary with a mix of local and remote assets. The initial conditions are on GCS, but the
diag_table
and some other things are local. It would be nice to refactor the manual file-moving code in that workflow to a function in this package. I imagine something like this interfaceThe main difficulty is what the locations of the assets should be. Maybe,
url
should point to a directory, which will contain the assets and the configuration yaml.