[Ncep.list.nems.announce] passing information between dynamics and physics in NEMS

weiyu yang weiyu.yang at noaa.gov
Wed Feb 3 20:06:55 UTC 2016


If only a single variable need pass from dynamics to the physics, you 
may just simply to use the ESMF state add parameter function to attach 
this variable into the dynamics export ESMF state, then in the physics 
component import ESMF state, use the ESMF state get parameter function 
to get it out.  Based on ESMF version may be better to use the ESMF type 
logical variable ESMF_logical and use like ESMF_true and ESMF_false (I 
do not remember it exactly, some thing like this).  The ESMF logical 
variable will do the same thing as the regular logical variable.


On 2/1/2016 3:33 PM, Henry Juang - NOAA Federal wrote:
> If the variable will be back and forth between dynamic and physics 
> components, then the reasonable way is to pass through export/import 
> states as coupling. I suggest we make a reasonable length array in 
> exp/imp states to carry options between two components through 
> something like coupling.... a real array is more general to handle all 
> options, such 1.0 for truth, 0,0 for false. In case of option with 0.5 
> for example, real array can handle it!
> On Mon, Feb 1, 2016 at 12:26 PM, Philip Pegion - NOAA Affiliate 
> <philip.pegion at noaa.gov <mailto:philip.pegion at noaa.gov>> wrote:
>     Hi everyone,
>       I am finishing up adding IAU capability to the NEMS/GSM and I
>     need to pass a logical variable that is defined in the dynamics to
>     the physics (down to gloopb.f).  Is there a recommended method to
>     do this?  I cannot use namelist_def because the logical variable
>     will start and false, then switch to true, and back to false
>     during an IAU run.
>     Any suggestions are greatly appreciated.
>      Thanks,
>     Phil Pegion
>     _______________________________________________
>     Ncep.list.nems.announce mailing list
>     Ncep.list.nems.announce at lstsrv.ncep.noaa.gov
>     <mailto:Ncep.list.nems.announce at lstsrv.ncep.noaa.gov>
>     https://www.lstsrv.ncep.noaa.gov/mailman/listinfo/ncep.list.nems.announce
> _______________________________________________
> Ncep.list.nems.announce mailing list
> Ncep.list.nems.announce at lstsrv.ncep.noaa.gov
> https://www.lstsrv.ncep.noaa.gov/mailman/listinfo/ncep.list.nems.announce

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.lstsrv.ncep.noaa.gov/pipermail/ncep.list.nems.announce/attachments/20160203/5c5adf1d/attachment-0001.html 

More information about the Ncep.list.nems.announce mailing list