Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement nested run sequences #13

Open
ghost opened this issue Sep 18, 2020 · 3 comments
Open

implement nested run sequences #13

ghost opened this issue Sep 18, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Sep 18, 2020

implement nested run sequences and arbitrary FORTRAN functions, as in this config:
https://github.com/NOAA-EMC/DATM-MOM6-CICE5/blob/ca3d21bd89f967e4c25953eaa3349829c739b528/parm/nems.configure.med_atm_ocn_ice.IN#L51-L70

# Run Sequence #
runSeq::
  @@[coupling_interval_slow_sec]
    MED MedPhase_prep_ocn
    MED -> OCN :remapMethod=redist
    OCN
    @@[coupling_interval_fast_sec]
      MED MedPhase_prep_ice
      MED -> ICE :remapMethod=redist
      ATM
      ICE
      ATM -> MED :remapMethod=redist
      ICE -> MED :remapMethod=redist
      MED MedPhase_atm_ocn_flux
      MED MedPhase_accum_fast
    @
    OCN -> MED :remapMethod=redist
    MED MedPhase_write_restart
  @
::
@ghost ghost self-assigned this Sep 18, 2020
@ghost
Copy link
Author

ghost commented Sep 18, 2020

need to figure out how many sequences can be nested per-sequence, and how many layers deep the nesting can go

@ghost ghost mentioned this issue Sep 23, 2020
@ghost
Copy link
Author

ghost commented Sep 23, 2020

it seems that nested sequences run with even multiple time intervals of their containing sequence (i.e. a 30 minute sequence will run twice inside a 1 hour sequence)

@ghost ghost changed the title nested run sequences w/ custom function implementations implement nested run sequences w/ custom function implementations Sep 30, 2020
@ghost ghost changed the title implement nested run sequences w/ custom function implementations implement nested run sequences Sep 30, 2020
@ghost
Copy link
Author

ghost commented Sep 30, 2020

pull request #15 implemented custom functions as members of a defined mediator object

@ghost ghost added the enhancement New feature or request label Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

0 participants