<div dir="ltr"><div><div><div><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt" id="gmail-docs-internal-guid-6a338d24-1ef9-8a90-4eb1-73a5e0f64b23"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">WWIII Notes - Weds, May 16, 2018</span></span></font></p><font size="2"><span style="font-family:arial,helvetica,sans-serif"><br></span></font><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Hi Everyone, </span></span></font></p><font size="2"><span style="font-family:arial,helvetica,sans-serif"><br></span></font><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Here are the very belated meeting notes from May when we had a discussion lead by Aron Roland.  <br></span></span></font></p><font size="2"><span style="font-family:arial,helvetica,sans-serif"><br></span></font><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt" id="gmail-docs-internal-guid-9fa3a2f1-1efd-50f8-b3c2-9da25eac52e4"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Updates on projects intended for next public release: </span></span></font></p><ul style="margin-top:0pt;margin-bottom:0pt"><li dir="ltr" style="list-style-type:disc;color:rgb(0,0,0);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">I have confirmed with everyone that their intended projects are all listed as “versions” on the raodmap on redmine: </span><a href="https://vlab.ncep.noaa.gov/redmine/projects/emc-ww3/roadmap" style="text-decoration:none"><span style="color:rgb(17,85,204);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap">https://vlab.ncep.noaa.gov/redmine/projects/emc-ww3/roadmap</span></a><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"> and that November is a good time for a public release. </span></span></font></p></li><li dir="ltr" style="list-style-type:disc;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"> </span><a href="https://vlab.ncep.noaa.gov/redmine/versions/1381" style="text-decoration:none"><span style="color:rgb(17,85,204);background-color:transparent;font-weight:700;font-style:normal;font-variant:normal;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap">6.XX Bit Reproducibility</span></a></span></font></p></li></ul><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;text-indent:36pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">-- First issue has been narrowed down to be caused during the reconciliation between two grids with the same rank.  MPI barriers seem to be helping. </span></span></font></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;text-indent:36pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">-- Still have other issues: ww3_gint, ww3_tp2.5 mod_defs are not bit-reproducible, point output in multigird </span></span></font></p><ul style="margin-top:0pt;margin-bottom:0pt"><li dir="ltr" style="list-style-type:disc;color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><a href="https://vlab.ncep.noaa.gov/redmine/versions/1353" style="text-decoration:none"><span style="color:rgb(17,85,204);background-color:transparent;font-weight:700;font-style:normal;font-variant:normal;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap">6.XX Namelist format for input files</span></a></span></font></p></li></ul><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;text-indent:36pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">-- A commit is ready for the master adding netcdf pre/post, shel namelist  </span></span></font></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;text-indent:36pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">-- Mickael is now working on grid </span></span></font></p><ul style="margin-top:0pt;margin-bottom:0pt"><li dir="ltr" style="list-style-type:disc;color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">No other Updates</span></span></font></p></li></ul><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span></span></font></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Here are the action items for moving forward after the discussion lead by Aron Roland: </span></span></font></p><font size="2"><span style="font-family:arial,helvetica,sans-serif"></span></font><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span></span></font></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><b>1. Design for replacing go to error statements:  </b><br></span></span></font></p><font size="2"></font><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">More descriptive errors than for situations like this where the following two lines of code produce the same error messages: </span></span></font><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Roboto;color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">    <span style="font-family:monospace,monospace">    READ(NDS,NML=OUTS,END=801,ERR=802,IOSTAT=J) </span></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:monospace,monospace"><span style="font-size:10pt;color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">      READ(NDS,NML=MISC,END=801,ERR=802,IOSTAT=J) </span></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Roboto;color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><span style="font-family:arial,helvetica,sans-serif">Which both print out the same error message “ERROR IN READNL”, not which namelist.  </span><br></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Roboto;color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">A proposed alternative would be to do: </span></span></font></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:monospace,monospace"><font size="2"><span style="color:rgb(33,33,33);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">       READ(NDS,NML=MISC,END=801,IOSTAT=J) </span></font></span></p><font size="2"><span style="font-family:arial,helvetica,sans-serif"><br></span></font><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Error message with a GO TO, for example in ww3_bound.ftn: </span></span></font></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">    <span style="font-family:monospace,monospace"> ! Checks consistency of NK</span></span></span></font></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:monospace,monospace"><font size="2"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">      IF (NKI.GT.NK) GOTO 2008</span></font></span></p><span style="font-family:monospace,monospace"><font size="2"><br></font></span><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:monospace,monospace"><font size="2"><span style="color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"> 2008 CONTINUE</span></font></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:monospace,monospace"><font size="2"><span style="color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">      WRITE (NDSE,1008) NK, NKI</span></font></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:monospace,monospace"><font size="2"><span style="color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">      CALL EXTCDE ( 68 )</span></font></span></p><font size="2"><span style="font-family:arial,helvetica,sans-serif"><br></span></font><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"> <font size="1"><span style="font-family:monospace,monospace">1008 FORMAT (/&#39; *** WAVEWATCH III ERROR IN W3BOUND: &#39;/               &amp;</span></font></span></span></font></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="1"><span style="font-family:monospace,monospace"><span style="color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">               &#39;     ILLEGAL NK, NK =&#39;,I3,&#39; DIFFERS FROM NKI =&#39;,I3/   &amp;</span></span></font></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="1"><span style="font-family:monospace,monospace"><span style="color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">               &#39;     IT WILL BE MANAGED SOON BY SPCONV&#39;)</span></span></font></p><br><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Sometimes many errors we will have the same “GOTO 2008” </span></span></font></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">A proposed alternative would be to do: </span></span></font></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:monospace,monospace"><font size="1"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">! Checks consistency of NK</span></font></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:monospace,monospace"><font size="1"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">      IF (NKI.GT.NK) </span></font></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:monospace,monospace"><font size="1"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">           </span><span style="color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">WRITE (NDSE,1008) NK, NKI !note 1008 should only be used once </span></font></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:monospace,monospace"><font size="1"><span style="color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">           CALL EXTCDE ( 68 )</span></font></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:monospace,monospace"><font size="1"><span style="color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">       END IF </span></font></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Roboto;color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><b>2. Proposed design for Interface for data types:</b></span></span></font></p><ol style="margin-top:0pt;margin-bottom:0pt" start="2"><ol style="margin-top:0pt;margin-bottom:0pt"><li dir="ltr" style="list-style-type:lower-alpha;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:arial,helvetica,sans-serif"><font size="2"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">This would be to remove the “<span style="font-family:monospace,monospace">USE   XXX</span>” and instead create and pass data structures into subroutines, for example: </span></font></span></p></li></ol></ol><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;margin-left:72pt"><span style="font-family:arial,helvetica,sans-serif"><font size="2"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">        </span><span style="font-family:monospace,monospace"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">w3srce(igrid(i)%src_type) </span></span></font></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;margin-left:72pt"><span style="font-family:arial,helvetica,sans-serif"><font size="2"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">instead of</span><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">     </span></font></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;margin-left:72pt"><span style="font-family:monospace,monospace"><font size="2"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">    w3srce(var1,var2,var3) </span></font></span></p><span style="font-family:arial,helvetica,sans-serif"><font size="2"></font></span><ol style="margin-top:0pt;margin-bottom:0pt" start="2"><ol style="margin-top:0pt;margin-bottom:0pt" start="2"><li dir="ltr" style="list-style-type:lower-alpha;color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:arial,helvetica,sans-serif"><font size="2"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">The thought would be to start with w3srce.  </span></font></span></p></li><li dir="ltr" style="list-style-type:lower-alpha;color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:arial,helvetica,sans-serif"><font size="2"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">We should keep in mind the needs for these data types for data assimilation requirements in th</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">e Joint Effort for Data assimilation Integration (</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">JEDI</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">) that NOAA is involved with. </span><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">JEDI requires that the geometry and the fields have to be independent</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">.  Specifically this means: </span></font></span></p></li><ol style="margin-top:0pt;margin-bottom:0pt"><li dir="ltr" style="list-style-type:lower-roman;color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:arial,helvetica,sans-serif"><font size="2"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"> geometry (whatever I need to allocate my variables): nlon, nlat, nfrq, ndir, grid(s), spec_grid(s).</span></font></span></p></li><li dir="ltr" style="list-style-type:lower-roman;color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:arial,helvetica,sans-serif"><font size="2"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">fields  (whatever needed to run the assimilation): In principle, the content of the restart file.</span></font></span></p></li><li dir="ltr" style="list-style-type:lower-roman;color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:arial,helvetica,sans-serif"><font size="2"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">etc     (whatever is useful for specific tasks): the content of the moddef. If this can be separated into multiple structures according to the content, e.g. coordinates, constants, physic_package_ related variables, etc. </span></font></span></p></li></ol></ol></ol><br><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><b>3. Moving allocates earlier: </b></span></span></font><br><ol style="margin-top:0pt;margin-bottom:0pt" start="3"><ol style="margin-top:0pt;margin-bottom:0pt"><li dir="ltr" style="list-style-type:lower-alpha;color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Can make branch now </span></span></font></p></li><li dir="ltr" style="list-style-type:lower-alpha;color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Start w/ data modules w3*datmd.ftn </span></span></font></p></li><li dir="ltr" style="list-style-type:lower-alpha;color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Example: </span></span></font></p></li></ol></ol><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">      <span style="font-family:monospace,monospace"><font size="1">   </font></span></span><span style="font-family:monospace,monospace"><font size="1"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"> IF ( FLCUR  ) THEN</span></font></span></span></font></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:monospace,monospace"><font size="1"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">              ALLOCATE ( WADATS(IMOD)%CA0(NSEA) ,           &amp;</span></font></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:monospace,monospace"><font size="1"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">                         WADATS(IMOD)%CAI(NSEA) ,           &amp;</span></font></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:monospace,monospace"><font size="1"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">                         WADATS(IMOD)%CD0(NSEA) ,           &amp;</span></font></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:monospace,monospace"><font size="1"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">                         WADATS(IMOD)%CDI(NSEA) ,           &amp;</span></font></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:monospace,monospace"><font size="1"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">                         STAT=ISTAT )</span></font></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:monospace,monospace"><font size="1"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">!AR: If u really want to check the status of the allocation u must put this call after initialization! Now it means nothing ...</span></font></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:monospace,monospace"><font size="1"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">              CHECK_ALLOC_STATUS ( ISTAT )</span></font></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-family:monospace,monospace"><font size="1"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">            END IF</span></font></span></p><font size="2"><span style="font-family:arial,helvetica,sans-serif"><br></span></font><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Instead: </span></span></font></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="1"><span style="font-family:monospace,monospace"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"> </span><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"> IF ( FLCUR  ) THEN</span></span></font></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="1"><span style="font-family:monospace,monospace"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">              ALLOCATE ( WADATS(IMOD)%CA0(NSEA)); WADATS(IMOD)%CA0(NSEA)=0.0 (appropraite kind) </span></span></font></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="1"><span style="font-family:monospace,monospace"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">CHECK_ALLOC_STATUS ( ISTAT )</span></span></font></p><font size="1"><span style="font-family:monospace,monospace"><br><br></span></font><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="1"><span style="font-family:monospace,monospace"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"> ,           &amp;</span></span></font></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="1"><span style="font-family:monospace,monospace"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">                         WADATS(IMOD)%CAI(NSEA) ,           &amp;</span></span></font></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="1"><span style="font-family:monospace,monospace"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">                         WADATS(IMOD)%CD0(NSEA) ,           &amp;</span></span></font></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="1"><span style="font-family:monospace,monospace"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">                         WADATS(IMOD)%CDI(NSEA) ,           &amp;</span></span></font></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="1"><span style="font-family:monospace,monospace"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">                         STAT=ISTAT )</span></span></font></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="1"><span style="font-family:monospace,monospace"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">!AR: If u really want to check the status of the allocation u must put this call after initialization! Now it means nothing ...</span></span></font></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="1"><span style="font-family:monospace,monospace"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">              CHECK_ALLOC_STATUS ( ISTAT )</span></span></font></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="1"><span style="font-family:monospace,monospace"><span style="color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">            END IF</span></span></font></p><ol style="margin-top:0pt;margin-bottom:0pt" start="4"><ol style="margin-top:0pt;margin-bottom:0pt" start="4"><li dir="ltr" style="list-style-type:lower-alpha;color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Plot of memory spikes and how to use memcheck, will be forthcoming from Aron.</span></span></font></p></li></ol></ol><p><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><b>4. CPP Flags: </b></span></span></font></p><ol style="margin-top:0pt;margin-bottom:0pt" start="4"><ol style="margin-top:0pt;margin-bottom:0pt"><li dir="ltr" style="list-style-type:lower-alpha;color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">The proposed time frame for this would be after public release, because it will be best to do this when as little development as possible is going on.  We need to remember to consider the projects that did not make it into the public release. <br></span></span></font></p></li></ol></ol><p><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><b>5. File handles:</b></span></span></font></p><ol style="margin-top:0pt;margin-bottom:0pt" start="4"><ol style="margin-top:0pt;margin-bottom:0pt"><li dir="ltr" style="list-style-type:lower-alpha;color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">This is for the write statements and opening files.  We need to be careful with this for when in coupled systems. <br></span></span></font></p></li></ol></ol><p><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><b>6. Data assimilation update needs, from Stelios:  </b></span></span></font></p><ol style="margin-top:0pt;margin-bottom:0pt" start="4"><ol style="margin-top:0pt;margin-bottom:0pt"><li dir="ltr" style="list-style-type:lower-alpha;color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(33,33,33);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Above data structures would be helpful as well as a slightly more compartmentalized wminit that separates data initialization from geometry initialization. </span></span></font></p></li></ol></ol><font size="2"><span style="font-family:arial,helvetica,sans-serif"><br clear="all"><br></span></font></div><font size="2"><span style="font-family:arial,helvetica,sans-serif">I have started a wiki page for all of these topics.  Please see: <a href="https://vlab.ncep.noaa.gov/redmine/projects/emc-ww3/wiki/Proposed_strategies_for_code_improvements">https://vlab.ncep.noaa.gov/redmine/projects/emc-ww3/wiki/Proposed_strategies_for_code_improvements</a><br><br></span></font></div><font size="2"><span style="font-family:arial,helvetica,sans-serif">Best, <br></span></font></div><font size="2"><span style="font-family:arial,helvetica,sans-serif">Jessica  <br></span></font><div><div><div><div><font size="2"><span style="font-family:arial,helvetica,sans-serif"><br>-- </span></font><br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Jessica Meixner<div>NCEP/EMC <br></div><div>NOAA Center for Weather and Climate Prediction </div></div></div></div></div></div></div>
</div></div></div></div></div>