Menu

#495 Error updating gotm.yaml

Consolidation
open
Knut
2022-10-27
2022-10-27
No

After updating GOTM, we need to convert the gotm yaml in setups to conform to the new version.

In MOSSCO_SETUPDIR, we use gotm.yaml in only 1 place (how did we run the oterh 1D setups????), and there, conversion fails

python3 $MOSSCO_DIR/external/gotm/code/scripts/python/update_setup.py --gotm $MOSSCO_DIR/external/gotm/install/bin/gotm $MOSSCO_SETUPDIR/helgoland/gotm.yaml
    initialize_gotm
 ------------------------------------------------------------------------
        Reading configuration from: gotm.yaml
        configuring modules ....
    init_airsea_yaml
        done
    init_observations_yaml
    init_stokes_drift_yaml
        done
    init_turbulence_yaml
        done.
    init_meanflow_yaml
        done
    init_eqstate_yaml
    init_density()
            rho0=     1027.00000000000
        done.
 ERROR: the following setting(s) were not recognized:

 - /surface/wave
 - /eq_state
 If you want GOTM to ignore unknown settings in gotm.yaml,
 rerun with --ignore_unknown_config.
1

Is it ok to just proceed with -iognore-unknown-config? And how is it placed

python3 update_setup.py --gotm gotm --ignore_unknown_config gotm.yaml
usage: update_setup.py [-h] [--out OUT] [--gotm GOTM] [--detail {minimal,default,full}] infile [infile ...]
update_setup.py: error: unrecognized arguments: --ignore_unknown_config

Discussion


Log in to post a comment.

MongoDB Logo MongoDB