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

update of orbital parameters at run time #44

@mvertens

Description

@mvertens

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions