Skip to content
This repository has been archived by the owner on Jun 1, 2019. It is now read-only.

update of orbital parameters at run time #44

Open
mvertens opened this issue Sep 1, 2018 · 0 comments
Open

update of orbital parameters at run time #44

mvertens opened this issue Sep 1, 2018 · 0 comments

Comments

@mvertens
Copy link
Contributor

mvertens commented Sep 1, 2018

In the MCT driver, the orbital parameters were updated in the driver at run time via the following code:

! update the orbital data as needed
       if (trim(orb_mode) == trim(seq_infodata_orb_variable_year)) then
          orb_nyear =  orb_iyear + (year - orb_iyear_align)
          if (orb_nyear /= orb_cyear) then
             orb_cyear = orb_nyear
             call shr_orb_params(orb_cyear, orb_eccen, orb_obliq, orb_mvelp, &
                  orb_obliqr, orb_lambm0, orb_mvelpp, iamroot_CPLID)
             call seq_infodata_putData(infodata,orb_eccen=orb_eccen,orb_obliqr=orb_obliqr, &
                  orb_lambm0=orb_lambm0,orb_mvelpp=orb_mvelpp)
          endif
       endif

In CMEPS, it seems that every component needs to update its own orbital settings based on the clock
and its attribute of orb_variable_year

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant