35
Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate Le Souëf Earth, Ocean and Atmospheric Sciences University of British Columbia salishsea.eos.ubc.ca/nemo.html

Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate

Software Collaboration Toolsand the Salish Sea MEOPAR Project

Doug LatornellSusan Allen, Nancy Soontiens, Kate Le Souëf

Earth, Ocean and Atmospheric SciencesUniversity of British Columbia

salishsea.eos.ubc.ca/nemo.html

Page 2: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate

MEOPAR

● Marine Environmental Observation Prediction and Response

● Network of Centres of Excellence● meopar.ca

Page 3: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate

NEMO

● Nucleus for European Modelling of the Ocean● www.nemo-ocean.eu● Ocean model component of the DFO/EC/DND

CONCEPTS program● Regional scale configuration● Atmospheric forcing from Environment Canada models

Page 4: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate

Salish Sea

● British Columbia mainland south coast

● Strait of Georgia● Strait of Juan de Fuca● Puget Sound● Johnstone Strait

Courtesy of B. Moore-Maley

Page 5: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate

Salish Sea NEMO Model

● Resolution: ~500m horizontal; 1m to 20m depth● Time Scale: 1-10 days● Presently evaluating model skill via hindcast runs:

● Tidal amplitude and phase● Storm surge events● Stratification and deep water renewal over annual cycle

● Nancy Soontiens' talk -- Thu at 12:15 in Parent room

Page 6: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate

Online Collaboration

● Software Tools + Web Services● Instantly share documentation, results, tools & code

among research team● Share results with collaborators and stakeholders● Publish our experience with NEMO for other users

Page 7: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate

Think of the Researchers...

Page 8: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate

Think of the Researchers...

● Research productivity, not cool tools● New things to learn, and habits to change or form● Tools need to be:

● Powerful● Low cognitive load● Widely applicable, reusable

Page 9: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate

DocumentationTools

Distributed Version Control

Web Services

Automation Tools

Analysis Tools

Coordination Tools

Page 10: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate

Documentation Tools

reStructuredTextSphinx

Distributed Version Control

Mercurial (hg)

Web Services

bitbucket.org readthedocs.org nbviewer.ipython.org drive.google.com

Automation Tools

Python

Analysis Tools

PythonIPython Notebook

Markdown

Coordination Tools

Google Drive

Page 11: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate

Web Services

Researcher's Computer

P

ush

Not

ifica

tion

readthedocs.org/ salishsea-meopar-docs salishsea-meopar-tools

nbviewer.ipython.org/

UR

Ls

hg Repositories:

docstoolsanalysissalishsea-siteresultsNEMO-codeNEMO-forcingSS-run-sets...

OtherTeam

Members

The Internet

hg pullhg push

bitbucket.org/salishsea/

Tools: hg reStructuredText Sphinx Python IPython Notebook Markdown LaTeX

URLsGoogle Drive

Page 12: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate

Documentation

● Lots of good reasons to write documentation● ...And usually a few more reasons why not to...● Describe NEMO configuration experience

for future users● Describe working environment for new team members● Be kind to our future selves

Page 13: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate
Page 14: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate

Web Services

Researcher's Computer

P

ush

Not

ifica

tion

readthedocs.org/ salishsea-meopar-docs salishsea-meopar-tools

nbviewer.ipython.org/

UR

Ls

hg Repositories:

docstoolsanalysissalishsea-siteresultsNEMO-codeNEMO-forcingSS-run-sets...

OtherTeam

Members

The Internet

hg pullhg push

bitbucket.org/salishsea/

Tools: hg reStructuredText Sphinx Python IPython Notebook Markdown LaTeX

URLsGoogle Drive

Page 15: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate
Page 16: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate

Simple Docs Update

$ cd docs$ edit code-notes/salishsea-nemo/spinup.rst…

Page 17: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate
Page 18: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate

Simple Docs Update

$ cd docs$ edit code-notes/salishsea-nemo/spinup.rst…$ hg commit -m''Add info re: recent spin-up runs.''$ hg push

Page 19: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate

Web Services

Researcher's Computer

P

ush

Not

ifica

tion

readthedocs.org/ salishsea-meopar-docs salishsea-meopar-tools

nbviewer.ipython.org/

UR

Ls

hg Repositories:

docstoolsanalysissalishsea-siteresultsNEMO-codeNEMO-forcingSS-run-sets...

OtherTeam

Members

The Internet

hg pullhg push

bitbucket.org/salishsea/

Tools: hg reStructuredText Sphinx Python IPython Notebook Markdown LaTeX

URLsGoogle Drive

Page 20: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate
Page 21: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate
Page 22: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate

Docs Update with Preview

$ cd docs$ edit code-notes/salishsea-nemo/quickstart.rst…$ make html$ open _build/html/code-notes/salishsea-nemo/quickstart.html <review, edit, make, as necessary>

$ hg commit -m''Change to use new `salishsea run` command.''$ hg push

Page 23: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate

Widely Applicable, Reusable

Page 24: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate
Page 25: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate

Pre-processing and Analysis

● Preparation of files for boundary conditions and forcing● Analysis of model results for verification and new

insights● Mixture of narrative, math, code, plots, animations, …● Scientific Python libraries provide the platform● IPython Notebook enables us to keep narrative, math,

code, plots, etc. together, and share with minimal effort

Page 26: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate

Web Services

Researcher's Computer

P

ush

Not

ifica

tion

readthedocs.org/ salishsea-meopar-docs salishsea-meopar-tools

nbviewer.ipython.org/

UR

Ls

hg Repositories:

docstoolsanalysissalishsea-siteresultsNEMO-codeNEMO-forcingSS-run-sets...

OtherTeam

Members

The Internet

hg pullhg push

bitbucket.org/salishsea/

Tools: hg reStructuredText Sphinx Python IPython Notebook Markdown LaTeX

URLsGoogle Drive

Page 27: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate
Page 28: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate
Page 29: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate
Page 30: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate
Page 31: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate

Web Services

Researcher's Computer

P

ush

Not

ifica

tion

readthedocs.org/ salishsea-meopar-docs salishsea-meopar-tools

nbviewer.ipython.org/

UR

Ls

hg Repositories:

docstoolsanalysissalishsea-siteresultsNEMO-codeNEMO-forcingSS-run-sets...

OtherTeam

Members

The Internet

hg pullhg push

bitbucket.org/salishsea/

Tools: hg reStructuredText Sphinx Python IPython Notebook Markdown LaTeX

URLsGoogle Drive

Page 32: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate
Page 33: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate
Page 34: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate
Page 35: Software Collaboration Tools and the Salish Sea MEOPAR Project · Software Collaboration Tools and the Salish Sea MEOPAR Project Doug Latornell Susan Allen, Nancy Soontiens, Kate

Web Services

Researcher's Computer

P

ush

Not

ifica

tion

readthedocs.org/ salishsea-meopar-docs salishsea-meopar-tools

nbviewer.ipython.org/

UR

Ls

hg Repositories:

docstoolsanalysissalishsea-siteresultsNEMO-codeNEMO-forcingSS-run-sets...

OtherTeam

Members

The Internet

hg pullhg push

bitbucket.org/salishsea/

Tools: hg reStructuredText Sphinx Python IPython Notebook Markdown LaTeX

URLsGoogle DriveDoug Latornell (@dlatornell )Susan AllenNancy Soontiens