13
WAVEWATCHIII & NOPP A case study for a R2O development paradigm Arun Chawla Chief, Coupling & Dynamics Group Modeling & Data Assimila<on Branch EMC

WAVEWATCHIII & NOPP · 2020. 1. 6. · NOPP Wave Research Program • In 2010 NWS, USACE, ONR and BOEM joined hands under the auspices of the Naonal Ocean Partnership Program (NOPP)

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: WAVEWATCHIII & NOPP · 2020. 1. 6. · NOPP Wave Research Program • In 2010 NWS, USACE, ONR and BOEM joined hands under the auspices of the Naonal Ocean Partnership Program (NOPP)

WAVEWATCHIII&NOPP

AcasestudyforaR2Odevelopmentparadigm

ArunChawlaChief,Coupling&DynamicsGroupModeling&DataAssimila<onBranchEMC

Page 2: WAVEWATCHIII & NOPP · 2020. 1. 6. · NOPP Wave Research Program • In 2010 NWS, USACE, ONR and BOEM joined hands under the auspices of the Naonal Ocean Partnership Program (NOPP)

DevelopmentHistoryofWAVEWATCHIII •  StructuraldevelopmentbyHendrikTolman

–  V2.22•  Publicrelease2002•  Singlegridmodel•  Modular,Fortran90,MPIformulaLon•  Includedpackagesdevelopedbyexternalcollaborators(e.g.Exact-NL,WAM3physics)

–  V3.14•  Publicrelease2008•  Physicspackagesmostlyunchanged(minoraddiLonslikelineargrowthterm)•  MaindevelopmentwasamulL-gridtwowaynestedformulaLon

–  V4.18•  Publicrelease2013•  Significantchangeindevelopmentparadigm

–  ModelnowinacommunitydevelopmentparadigmwithcodeownershipnowdistributedovermulLplegroupsindifferentcountries.–  VersioncontroltomanagedifferentcontribuLons

•  Significantadvancementinmodelfeatures–  MulLplephysicspackages–  Numericaldevelopment

2

Page 3: WAVEWATCHIII & NOPP · 2020. 1. 6. · NOPP Wave Research Program • In 2010 NWS, USACE, ONR and BOEM joined hands under the auspices of the Naonal Ocean Partnership Program (NOPP)

NOPPWaveResearchProgram•  In2010NWS,USACE,ONRandBOEMjoinedhandsundertheauspicesoftheNaLonal

OceanPartnershipProgram(NOPP)tosupportresearchbyAcademia,IndustryandGovernmentwithanaimto–  BringadvancesinwindwavemodelingresearchtooperaLonalmodels–  Focusondeepandshallowwaterdynamics–  Unify(asmuchaspossible)oncommonpla^orms

•  7differentprojectswereselected•  TwoopensourcemodelswereidenLfied–WAVEWATCHIII(fordeepwaterwaves)and

SWAN(forshallowwaterwaves)•  NWSofferedWAVEWATCHIIIasadevelopmentpla^ormfortheresearch•  NCEPtookontheroleforcreaLngandsupporLngthecommunitydevelopmentpla^orm•  Thecommunitydevelopmentpla^ormhasconLnuedtoday(almost3yearspasttheend

oftheoriginalNOPPProgram)

Page 4: WAVEWATCHIII & NOPP · 2020. 1. 6. · NOPP Wave Research Program • In 2010 NWS, USACE, ONR and BOEM joined hands under the auspices of the Naonal Ocean Partnership Program (NOPP)

RulesofEngagement•  Seangupasinglecoderepositoryforthewavemodel

–  WeusedEMCsubversionserver–  CommoncodebaseforresearchandoperaLons–  OperaLonalcodeasubsetofthemaindevelopmentcode–  Alldevelopmentinthemaincodebase

•  Seanguptherulesfordevelopment–  MaincodewasintheTrunk–  Developmentteamssetupbranches–  BranchesweresetupasafuncLonof“development”not“insLtute”–  RegularcommunicaLonwasseenaskey(monthlytelecons+semi–annualmeeLngs)–  A“codingprinciples”guidewasdeveloped

•  Aregressiontestsuite–  CriLcalforcodedevelopment,speciallywhenmulLpleteamsinvolved–  Hastobeasautomatedaspossibletobetestedatbothbranchandtrunklevel–  WW3currentlyhasover600regressiontests(consideringallopLons)–  Anynewfeaturethatisdevelopedneedstocomewitharegressiontestcase(providedbydeveloper)

Page 5: WAVEWATCHIII & NOPP · 2020. 1. 6. · NOPP Wave Research Program • In 2010 NWS, USACE, ONR and BOEM joined hands under the auspices of the Naonal Ocean Partnership Program (NOPP)

TransiLoningcodestooperaLons•  AcommoncoderepositoryforbothresearchandoperaLonalcodeisessenLal

•  Needtoworkwithdevelopmentcenter(e.g.EMC)to–  IdenLfytesLngcondiLonsthatareasclosetooperaLonsaspossible– MeetoperaLonalcomputaLonalrequirements–  Followagreedcodingstandards–  Address“criLcalgaps”inoperaLonalcapability

•  CommunicaLonisabsolutelyessenLalforanysuccessfultransiLonfromresearchtooperaLons.Requireslisteningtobothsides

Page 6: WAVEWATCHIII & NOPP · 2020. 1. 6. · NOPP Wave Research Program • In 2010 NWS, USACE, ONR and BOEM joined hands under the auspices of the Naonal Ocean Partnership Program (NOPP)

Example1–NewPhysicspackage•  OldPhysics

–  Physicspackagedevelopedin1996–  CodesinfinalconfiguraLoninoperaLonsin2001–  AlldevelopmentatEMC

•  Newphysics–  DevelopedundertheauspicesofNOPP–  Codingdoneincommonrepository–  PhysicsdevelopmentledbyIFREMERinFrance–  PhysicspackagestestedinglobalcondiLonsformulL–yearscenarios–  CommoncodebaseledtoseamlesstransiLontoEMCparallels–  ConstantcommunicaLonallowedresearchteamtoaddresskeyissuesduringparallels–  TransiLonfromresearchcodetooperaLonswasachievedin9months

Page 7: WAVEWATCHIII & NOPP · 2020. 1. 6. · NOPP Wave Research Program • In 2010 NWS, USACE, ONR and BOEM joined hands under the auspices of the Naonal Ocean Partnership Program (NOPP)

NewPhysics OldPhysics

Page 8: WAVEWATCHIII & NOPP · 2020. 1. 6. · NOPP Wave Research Program • In 2010 NWS, USACE, ONR and BOEM joined hands under the auspices of the Naonal Ocean Partnership Program (NOPP)
Page 9: WAVEWATCHIII & NOPP · 2020. 1. 6. · NOPP Wave Research Program • In 2010 NWS, USACE, ONR and BOEM joined hands under the auspices of the Naonal Ocean Partnership Program (NOPP)

Example2–Wave–Hurricanecoupling•  IniLaldevelopmentwasPhDthesisatUniversityofRhodeIsland•  Developmentworkwasdoneusingapublicreleaseversion(v2.22)ofthecodenotin

repository•  DevelopmentteamworkedwithNCEPcodemanagerstobringtheirchangesinto

WAVEWATCHIIIrepository•  Coupledwave–hurricanetestsrunningatEMCwithin6months•  InoperaLonsnowwehaveonewaycoupledwave–hurricanemodels

–  AllowedustoreLrestandalonehurricanewindsdrivenwavemodels

•  Nextyeardevelopmentplansincludetwo–waycoupledwave–hurricanemodels

Page 10: WAVEWATCHIII & NOPP · 2020. 1. 6. · NOPP Wave Research Program • In 2010 NWS, USACE, ONR and BOEM joined hands under the auspices of the Naonal Ocean Partnership Program (NOPP)

AWOcouplingforMaghew

OperaLonalHWRFControlCoupled

Page 11: WAVEWATCHIII & NOPP · 2020. 1. 6. · NOPP Wave Research Program • In 2010 NWS, USACE, ONR and BOEM joined hands under the auspices of the Naonal Ocean Partnership Program (NOPP)

NewFeaturesinWAVEWATCHIIIsinceNOPP•  I/O

–  Expandedlistofoutputparameters–  NetcdfopLon

•  Numerical–  MulLplegridtypes(curvilinear,unstructured,SMC,tripolaretc.)–  SecondorderadvecLonscheme–  ImplicitpropagaLon

•  Physicspackages–  Newgrowth/dissipaLonpackages–  Wave–mudandwave–icedissipaLon–  MoveablebedfricLon–  NewnonlinearinteracLonsterm(mulLpleDIA,TSA)–  TrackingwaveparLLons

•  Couplingcapability–  MulLplecouplinginfrastructure(NEMS/NUOPC,OASIS)–  Wave–atmospherecouplingphysics–  Wave–oceancouplingphysics

11

Page 12: WAVEWATCHIII & NOPP · 2020. 1. 6. · NOPP Wave Research Program • In 2010 NWS, USACE, ONR and BOEM joined hands under the auspices of the Naonal Ocean Partnership Program (NOPP)

WAVEWATCHIIIdevelopmentpartnerstoday•  IFREMER•  UKMO•  ENVIRONMENTCANADA•  NRL•  ECMWF•  USACE•  SwinburneUniversity•  UniversityofRhodeIsland•  UniversityofMelbourne•  FNMOC•  GFDL•  USGS•  NOS•  BIO

Page 13: WAVEWATCHIII & NOPP · 2020. 1. 6. · NOPP Wave Research Program • In 2010 NWS, USACE, ONR and BOEM joined hands under the auspices of the Naonal Ocean Partnership Program (NOPP)

FinalRemarks•  OurexperiencesinworkingwithNOPPandseangupthecommunitydevelopment

pla^ormforWAVEWATCHIIIhasshownusthatforsuccessfultransiLonfromR2Oweneed–  Acommoncodebasefordevelopmentwithstrictrulesthatareenforced–  Cleartwo–waycommunicaLonbetweenEMCandtheresearchers–  DevelopmenttobetestedincondiLonspertainingtooperaLonalneeds(asfaraspossible)

•  AsmoothlyfuncLoningR2OpathwayisextremelybeneficialtoEMC(insignificantlyreducingtheLmeittakestobringresearchideasintooperaLons)aswellasthedevelopers(toseetheirworkbeingimplementedinoperaLons)

•  Ofthe7researchproposalsfundedunderNOPP,2workeddirectlywiththeWAVEWATCHIIIcodebase.ThesearenowusedinoperaLonsatBOM,INCOIS,UKMO,METEO-FRANCE,ENVIRONMENTCANADA,ECMWFandmore