esm-tools / esm_runscripts

GNU General Public License v2.0
3 stars 5 forks source link

Prep release #173

Closed ackerlar closed 3 years ago

ackerlar commented 3 years ago

added fix to avoid that precompute or compute start before necessary files are in place from coupling shell scripts

ackerlar commented 3 years ago

@pgierz I added the loop and it seems to work fine. You have to specify in general something like:

        files_to_wait_for: 
            - "/work/ba0989/a270124/125ka_FINAL_TEST03/couple/latest_atmo_forcing_file.nc"
            - "/work/ba0989/a270124/125ka_FINAL_TEST03/couple/latest_ocean_forcing_file.nc"
pgierz commented 3 years ago

Requested changes: make sure to use get instead of direct access with [key-name], to avoid a key error.

mandresm commented 3 years ago

Can this be then merged?

pgierz commented 3 years ago

yes