wavewatchiii & nopp · 2020. 1. 6. · nopp wave research program • in 2010 nws, usace, onr...

Post on 24-Jan-2021

1 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

WAVEWATCHIII&NOPP

AcasestudyforaR2Odevelopmentparadigm

ArunChawlaChief,Coupling&DynamicsGroupModeling&DataAssimila<onBranchEMC

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

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)

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)

TransiLoningcodestooperaLons•  AcommoncoderepositoryforbothresearchandoperaLonalcodeisessenLal

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

•  CommunicaLonisabsolutelyessenLalforanysuccessfultransiLonfromresearchtooperaLons.Requireslisteningtobothsides

Example1–NewPhysicspackage•  OldPhysics

–  Physicspackagedevelopedin1996–  CodesinfinalconfiguraLoninoperaLonsin2001–  AlldevelopmentatEMC

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

NewPhysics OldPhysics

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

repository•  DevelopmentteamworkedwithNCEPcodemanagerstobringtheirchangesinto

WAVEWATCHIIIrepository•  Coupledwave–hurricanetestsrunningatEMCwithin6months•  InoperaLonsnowwehaveonewaycoupledwave–hurricanemodels

–  AllowedustoreLrestandalonehurricanewindsdrivenwavemodels

•  Nextyeardevelopmentplansincludetwo–waycoupledwave–hurricanemodels

AWOcouplingforMaghew

OperaLonalHWRFControlCoupled

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

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

FinalRemarks•  OurexperiencesinworkingwithNOPPandseangupthecommunitydevelopment

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

•  AsmoothlyfuncLoningR2OpathwayisextremelybeneficialtoEMC(insignificantlyreducingtheLmeittakestobringresearchideasintooperaLons)aswellasthedevelopers(toseetheirworkbeingimplementedinoperaLons)

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

top related