Slide 1

Slide 1 text

Pangeo for Plasma Thomas Nicholas (Columbia University / Lamont-Doherty Earth Observatory) [email protected] Lessons for plasma software from the climate data analytics community

Slide 2

Slide 2 text

Who am I?

Slide 3

Slide 3 text

Who am I? PhD with Ben Dudson, Fulvio Militello, BOUT++

Slide 4

Slide 4 text

Who am I? PhD with Ben Dudson, Fulvio Militello, BOUT++ RSE with Ryan Abernathey, various projects

Slide 5

Slide 5 text

What do I do now?

Slide 6

Slide 6 text

What I hope to convince you of ● Our computational infrastructure needs to change a lot ● Can use solutions from climate science community ● Modular approach makes everyone's work easier ● Opportunities exist for plasma coders...

Slide 7

Slide 7 text

A multi-agency initiative across the federal government to spark change and inspire open science engagement through events and activities that will advance adoption of open science. Website: https://open.science.gov/ WH: https://www.whitehouse.gov/ostp/news-updates/ Nature: https://doi.org/10.1038/d41586-023-00019-y The White House announces The Federal Year of Open Science NASA ✦ NSF ✦ NOAA ✦ DOA ✦ DOC ✦ DOE ✦ GSA ✦ NEH ✦ NIH ✦ NIST ✦ USDA ✦ USGS Along with other organizations, including CENDI group, voluntary collaboration among Federal managers, and HELIOS, a coalition of 80+ universities

Slide 8

Slide 8 text

Climate Science == Plasma Physics ● Multidimensional (often fluid turbulent) ● Large (bigger than local RAM) ● On regular but warped grids ● Often pulled from central servers ● From multiple sources but with common structure (e.g. experimental and simulation data for same device).

Slide 9

Slide 9 text

Climate Science == Plasma Physics ● Multidimensional (often fluid turbulent) ● Large (bigger than local RAM) ● On regular but warped grids ● Often pulled from central servers ● From multiple sources but with common structure (e.g. experimental and simulation data for same device). =

Slide 10

Slide 10 text

Typical scientific workflow

Slide 11

Slide 11 text

Typical scientific workflow step 3: debug Because you likely rolled-your-own code…

Slide 12

Slide 12 text

Problem 1: Code not reused

Slide 13

Slide 13 text

Problem 1: Code not reused Modern data science libraries 🚀 Me as PhD student, circa 2017 MATLAB

Slide 14

Slide 14 text

Problem 2: Data accessibility

Slide 15

Slide 15 text

Problem 2: Data accessibility

Slide 16

Slide 16 text

Problem 2: Data accessibility

Slide 17

Slide 17 text

Problem 2: Data accessibility

Slide 18

Slide 18 text

Problem 3: Scale “Brb, let me just go download the data to my laptop…”

Slide 19

Slide 19 text

Problem 3: Scale “Brb, let me just go download the data to my laptop…”

Slide 20

Slide 20 text

Problem 3: Scale “Brb, let me just go download the data to my laptop…”

Slide 21

Slide 21 text

Problem 3: Scale “Brb, let me just go download the data to my laptop…”

Slide 22

Slide 22 text

Problem 3: Scale “Brb, let me just go download the data to my laptop…”

Slide 23

Slide 23 text

Problem 3: Scale

Slide 24

Slide 24 text

Geoscientists’ solution:

Slide 25

Slide 25 text

Geoscientists’ solution: ✨ ✨

Slide 26

Slide 26 text

Solution 1: Modular, open ecosystem

Slide 27

Slide 27 text

Solution 1: Modular, open ecosystem Domain-agnostic libraries General-purpose tools Domain-specific packages Science projects

Slide 28

Slide 28 text

Solution 1: Modular, open ecosystem

Slide 29

Slide 29 text

Solution 2: Cloud Computing

Slide 30

Slide 30 text

Solution 2: Cloud Computing

Slide 31

Slide 31 text

Solution 2: Cloud Computing

Slide 32

Slide 32 text

Solution 2: Cloud Computing

Slide 33

Slide 33 text

Solution 2: Cloud Computing

Slide 34

Slide 34 text

Solution 3: Parallel computing frameworks

Slide 35

Slide 35 text

Solution 3: Parallel computing frameworks

Slide 36

Slide 36 text

How might this work for plasma?

Slide 37

Slide 37 text

How might this work for plasma? Domain-agnostic libraries General-purpose tools Fusion plasma projects

Slide 38

Slide 38 text

How might this work for plasma? Domain-agnostic libraries General-purpose tools tokamak-specific packages Fusion plasma projects

Slide 39

Slide 39 text

How might this work for plasma? -PLASMA

Slide 40

Slide 40 text

How might this work for plasma? Shared plasma metadata conventions Tokamak plotting package Common analysis tools (e.g. field-line tracing) Code-specific compatibility wrappers Standard data model Blog post: https://hackmd.io/@TomNicholas/rkyERwcoO#

Slide 41

Slide 41 text

Other bonuses of joining this ecosystem - Parallel and out-of-core analysis - Labelled dimensions - Unit-aware arithmetic - Easier reproducibility - Plotting flexibility - Machine Learning integration SIX

Slide 42

Slide 42 text

Summary ● Geoscience has same problems as plasma physics 🌍🤝🌞 ● Being solved using: ○ Modular community software ecosystem 🔧 ○ Cloud computing ⛅ ○ Parallel execution frameworks 🚀 ● It's working for them - it could work for us! 🔬

Slide 43

Slide 43 text

No content