Collaborative WRF-based research and education enabled by software containers

Similar documents
Cloud-based WRF Downscaling Simulations at Scale using Community Reanalysis and Climate Datasets

ArcGIS Enterprise: What s New. Philip Heede Shannon Kalisky Melanie Summers Sam Williamson

WRF Modeling System Overview

WRF Modeling System Overview

ArcGIS GeoAnalytics Server: An Introduction. Sarah Ambrose and Ravi Narayanan

WRF Modeling System Overview

NR402 GIS Applications in Natural Resources

The File Geodatabase API. Craig Gillgrass Lance Shipman

ArcGIS Deployment Pattern. Azlina Mahad

A Cloud-Based Flood Warning System For Forecasting Impacts to Transportation Infrastructure Systems

Introduction to ArcGIS GeoAnalytics Server. Sarah Ambrose & Noah Slocum

Establishing the Weather Research and Forecast (WRF) Model at NWS Miami and Incorporating Local Data sets into Initial and Boundary Conditions

National Scientific Library at Tbilisi State University

ArcGIS Earth for Enterprises DARRON PUSTAM ARCGIS EARTH CHRIS ANDREWS 3D

ArcGIS Enterprise: What s New. Philip Heede Shannon Kalisky Melanie Summers Shreyas Shinde

Gridded Ambient Air Pollutant Concentrations for Southern California, User Notes authored by Beau MacDonald, 11/28/2017

Web GIS Administration: Tips and Tricks

Welcome to NR502 GIS Applications in Natural Resources. You can take this course for 1 or 2 credits. There is also an option for 3 credits.

Portal for ArcGIS: An Introduction

Using the LEAD Portal for Customized Weather Forecasts on the TeraGrid

WRF modeling: HPC experiences and cloud challenges

Introduction to Portal for ArcGIS. Hao LEE November 12, 2015

Using the EartH2Observe data portal to analyse drought indicators. Lesson 4: Using Python Notebook to access and process data

Geographic Systems and Analysis

Introduction to Portal for ArcGIS

Simulating Future Climate Change Using A Global Climate Model

GIS Boot Camp for Education June th, 2011 Day 1. Instructor: Sabah Jabbouri Phone: (253) x 4854 Office: TC 136

WRF Modeling System Overview

Web GIS Deployment for Administrators. Vanessa Ramirez Solution Engineer, Natural Resources, Esri

CWMS Modeling for Real-Time Water Management

Geospatial Fire Behavior Modeling App to Manage Wildfire Risk Online. Kenyatta BaRaKa Jackson US Forest Service - Consultant

Enabling Web GIS. Dal Hunter Jeff Shaner

UNIT 4: USING ArcGIS. Instructor: Emmanuel K. Appiah-Adjei (PhD) Department of Geological Engineering KNUST, Kumasi

Administering your Enterprise Geodatabase using Python. Jill Penney

INTRODUCTION TO GEOGRAPHIC INFORMATION SYSTEM By Reshma H. Patil

DP Project Development Pvt. Ltd.

Importance of Technology as part of the NWS New Orleans/Baton Rouge Impact- Based Decision Support Pilot Project

The Open Sourcing of Infrastructure

Innovation. The Push and Pull at ESRI. September Kevin Daugherty Cadastral/Land Records Industry Solutions Manager

Gridded Traffic Density Estimates for Southern

Leveraging Web GIS: An Introduction to the ArcGIS portal

Bloomsburg University Weather Viewer Quick Start Guide. Software Version 1.2 Date 4/7/2014

climateprediction.net progress so far

Student Nowcasting and Observations of Winter Weather with the DOW at University of North Dakota Education in Research (SNOWD-UNDER)

Fundamentals of Computational Science

WRF Modeling System Overview

ArcGIS Web Tools, Templates, and Solutions for Defence & Intelligence. Renee Bernstein Esri Solutions Engineer

ArcGIS Platform For NSOs

A. Title Page. Proposal to

Generation and Initial Evaluation of a 27-Year Satellite-Derived Wind Data Set for the Polar Regions NNX09AJ39G. Final Report Ending November 2011

Continuous Machine Learning

Deutscher Wetterdienst

No. of Days. Building 3D cities Using Esri City Engine ,859. Creating & Analyzing Surfaces Using ArcGIS Spatial Analyst 1 7 3,139

Geo-enabling a Transactional Real Estate Management System A case study from the Minnesota Dept. of Transportation

The File Geodatabase API. Dave Sousa, Lance Shipman

Annual Report for Blue Waters Allocation: Sonia Lasher-Trapp, Oct 2017

Esri and GIS Education

High-Performance Scientific Computing

BASIC TECHNOLOGY Pre K starts and shuts down computer, monitor, and printer E E D D P P P P P P P P P P

GIS at UCAR. The evolution of NCAR s GIS Initiative. Olga Wilhelmi ESIG-NCAR Unidata Workshop 24 June, 2003

Portal for ArcGIS: An Introduction. Catherine Hynes and Derek Law

CHAPTER 22 GEOGRAPHIC INFORMATION SYSTEMS

Troubleshooting Replication and Geodata Services. Liz Parrish & Ben Lin

WeatherHawk Weather Station Protocol

Oregon Department of Transportation. Geographic Information Systems Strategic Plan

NATS 101 Section 13: Lecture 25. Weather Forecasting Part II

ArcGIS Enterprise: Administration Workflows STUDENT EDITION

Web GIS Patterns and Practices

Oakland County Parks and Recreation GIS Implementation Plan

Geodatabase Management Pathway

I. Objectives Describe vertical profiles of pressure in the atmosphere and ocean. Compare and contrast them.

State of GIS at the High Performance Computing Cluster

Web GIS: Architectural Patterns and Practices. Shannon Kalisky Philip Heede

Administering Your Enterprise Geodatabase using Python. Gerhard Trichtl

Biology 559R: Introduction to Phylogenetic Comparative Methods Topics for this week:

Experiment 1 Scientific Writing Tools

The DRIHM Portal: architecture, design principles and issues.

Web GIS & ArcGIS Pro. Zena Pelletier Nick Popovich

Orchestrating a Climate Modeling Pipeline. using Python and RAM Disk

Workshop and Session Descriptions

ON SITE SYSTEMS Chemical Safety Assistant

The WRF Developmental Testbed Center (DTC)

RHOAPS. Real-time Hydrology Ocean Atmosphere Prediction System. Pronunciation: Ropes Motto: More than just THREDDS

Development and operation of GIS exercise materials for undergraduate students

Grid implementation of the Weather Research and Forecasting model

Real case simulations using spectral bin cloud microphysics: Remarks on precedence research and future activity

Incorporating ArcGIS Pro in your Curriculum

New SPOT Program. Customer Tutorial. Tim Barry Fire Weather Program Leader National Weather Service Tallahassee

GIS Software. Evolution of GIS Software

Weather Forecasting: Lecture 2

CAS GE 365 Introduction to Geographical Information Systems. The Applications of GIS are endless

Time Series Analysis with SAR & Optical Satellite Data

IMS4 ARWIS. Airport Runway Weather Information System. Real-time data, forecasts and early warnings

Geodatabase 101 Why, What, & How

James P. Koermer * Plymouth State College Plymouth, New Hampshire

An Overview of HPC at the Met Office

THE WEATHER RESEARCH AND FORECAST MODEL VERSION 2.0

Geodatabase Programming with Python

Weather Research and Forecasting (WRF) Performance Benchmark and Profiling. July 2012

Getting Started with Community Maps

Transcription:

Collaborative WRF-based research and education enabled by software containers J. Hacker, J. Exby, K. Fossell National Center for Atmospheric Research Contributions from Tim See (U. North Dakota) 1

Why the Weather Research and Forecasting (WRF) model in Docker? WRF is a state-of-the science numerical weather prediction (NWP) model for operations and research Compilation and execution can be an intensive effort, slowing time to results Huge complex code Numerous and non-trivial dependencies Inexperienced users can take months to get WRF running for results Classroom opportunities for hands-on numerical weather prediction can be intensive to produce Research is almost never reproducible Collaboration is difficult and cumbersome 2

Goals of WRF-Docker Lower the technical difficulty for new users Graduate students can accomplish early results simultaneous to learning the Unix/Linux skills needed for more in-depth work Provide a reference context Trivialize classroom and lab experimentation Provide a platform for reproducible numerical weather prediction research Facilitate efficient and easy collaboration WRF in a container is not a black box. 3

Not a turn-key approach Important use cases in an education Change input data sets for land use Change input data sets for initial and boundary conditions Change physics, diffusion, time steps, etc Change code and recompile in known environment Our container development allows all of these, including deployments on cloud providers or local compute hardware. 4

Vision: End to end Share output CLOUD STORAGE Acquire data Set up model (WPS) Run model (WRF) Archive metadata LOCAL DISK/SERVER Any or all on a commercial cloud platform Plot results (NCL) Run on your command line and link to your filesystem 5

Bit-wise reproducibility Incomplete list of test platforms AWS EC2 Packet Tiny Atom Reproducible on all platforms so far 6

University of North Dakota Classroom Implementation Access Docker-WRF through Amazon Web Services. Students completed a classroom assignments to create an ensemble output of a tornadic supercell over North Dakota. Students personally changed the parameterization schemes within WRF. Classroom discussion generated through changing of parameterizations. Sample Plots below From Tim See, UND) CAPE Accumulated Precipitation Surface Analysis

University of North Dakota Classroom Implementation From Tim See, UND) Total Cost for Homework Assignment: $40.21 over 11 days Inflated cost due to not shutting down instances properly first day. Reproducibility of Docker allows for plots to remain the same across all students. Students were able to complete their model runs from personal laptops.

Dynamic pull of terrestrial data sets (WPS_GEOG) work in progress Current practice Local Disk (desktop, HPC, cloud, etc.) Run geogrid Download datasets Store files locally or remove & repeat when necessary Dataset 1 Data Returned namelist.wps Request entire dataset Return entire dataset Dataset 2 WPS_GEOG Data Server Downsides: Model Domain Required to download and store entire datasets and unnecessary data Not conducive to cloud or container environments Large files to store and transfer Costs ($) associated with storing or downloading/transferring data in cloud Computational inefficiencies in containers due to size of files

Dynamic pull of terrestrial data sets (WPS_GEOG) work in progress Current practice Local Disk (desktop, HPC, cloud, etc.) Run geogrid Download datasets Store files locally or remove & repeat when necessary Dataset 1 Model Domain Data Returned namelist.wps Request entire dataset Return entire dataset Dataset 2 WPS_GEOG Data Server New utility Local Disk Request only files required Return subset of files for defined domain and resolution WPS_GEOG Subset Utility Containerized & Standalone Package namelist.wps Reads namelist.wps for defined model grid and desired resolution Creates a list of only necessary data files for given domain and resolution Downloads subset of files required Dataset 1 Run geogrid Model Domain Data Returned (Manual or Container) Option to keep subset of files locally -orremove them Dataset 2

Zero to WRF! in 3 Steps Using a relatively modern laptop, workstation, server. Linux, Mac, Windows: 1. Install docker for free! https://docker.com/products/ 2. git clone https://github.com/ncar/container-wrf (Hurricane Sandy and Katrina) 3. cd 3.7.1/demos/local ; docker-compose up (psssst. Windows users- please first edit docker-compose.yml for output DIR) VOILA! May 31 2017 11

Demo So a University professor gives their student a dollar to do some atmospheric science in one hour, then write a paper to help toward graduation! Is this possible? " 1 &' AWS (10 ) 12

Demo Architecture 13

32 core WRF run on AWS script to spin up a new AWS resource for our compute ac cess only script to launch the docker-compose.yml elements: two containers with data a container with wrf executables a container with NCL scripts to post process copy files from AWS back to macbook visualize results on macbook pro. May 31 2017 14

Live Demo Time Fingers crossed wifi is fast! 15

Next Steps Dynamic data query for smaller downloads AWS Batch Singularity and Swarms 16

NCAR Resources NCAR RAL Docker-WRF Project Web site: https://www.ral.ucar.edu/projects/ncar-docker-wrf NCAR Github repo: https://github.com/ncar/container-wrf NCAR Dockerhub repo: https://hub.docker.com/r/bigwxwrf/ bigwxwrf/ncar-wrf bigwxwrf/ncar-ncl bigwxwrf/ncar-wpsgeog bigwxwrf/ncar-wrfinputsandy bigwxwrf/ncar-wrfinputkatrina bigwxwrf/ubc-wrf Slack channel for docker-wrf community discussion. email: exby@ucar.edu for invitations https://ncar-dockerwrf.slack.com Docker WRF at NCAR/RAL 17