+ All Categories
Home > Documents > Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin...

Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin...

Date post: 11-Mar-2020
Category:
Upload: others
View: 2 times
Download: 0 times
Share this document with a friend
24
Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National Science Foundation
Transcript
Page 1: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

Introduction to NCL

Mary Haley and Karin Meier-Fleischer

Visualization with NCL Fall 2014 Workshop

Sponsored in part by the National Science Foundation

Page 2: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

NCAR Command Language

An open source scripting language developed and supported at NCAR, tailored for the analysis and

visualization of geoscientific data

http://www.ncl.ucar.edu

DOI: http://dx.doi.org/10.5065/D6WD3XH5

Page 3: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

Input Shapefile

NetCDF HDF

HDF-EOS

GRIB 1/2

CCM ASCII

Fortran/C binary

Output

PostScript

PDF

PNG

NetCDF HDF

ASCII

Binary

SVG

NCAR Command Language An Integrated Post-Processing Environment

Fortran C

X11

Tavg = dim_avg(t)

Page 4: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

NCL users are world-wide •  Graduate students in climate sciences

•  Scientists at research centers and labs

•  Some commercial usage

Page 5: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

ecosystem model electric power extreme weather events fire weather forecasting fish climate flight experiments fluid dynamics fog forecast forest productivity fusion plasma geophysics support glacial climate studies greenhouse modeling heat balance heavy rainfall historical weather maps humidity projections hurricanes hydrology modeling improvement of dairy cattle insect research ionospheric studies lake effect snow storms larval transport lightning research magnetic resonance imaging magnetohydrodynamics mapping epidemiological data marine studies martian climate material stress and strain mercury deposits meso-gamma simulations microbiology microburst outflows

modeling of stem cells molecular physics monsoon studies morphodynamics, long term neuron model noble gas sampling ocean biology ocean eddy research oceanography optical data, display of ozone paleoclimate studies particle orbit physics planetary exploration data plasma simulation polar research radiation risk research radiowave propagation real-time ocean forecasting remote sensing renewable energy rice production road weather research satellite image processing scattometer studies sea breeze simulation sea ice studies sediment transport research ships in waves simulations snake bites in Brazil snow data assimilation soaring conditions for gliders social sciences soil moisture

solar irrigation change space geodesy space weather spread of farming & milk drinking star modeling station data plots storm surge analysis storms, forecasting of surf charts teaching tokamak modeling tornado climatology transport of aerosols from oil facilities tropopsheric air pollution turbulent particle-laden flow typhoon research urban flood demonstration urban meteorology volcanic signals in ice cores water resources and irrigation water vapor feedback weather display weather forecasting for sailboats weather modification wildfire simulation wildlife conservation and restoration program wind energy wind erosion wind forecasting for wind surfers wind resources

DTV propagation analysis IPCC research MARS cam NASA precipitation missions air quality research air science air ventilation assessment air-sea interaction aircraft icing research animal disease modeling applied insurance astronomy atmospheric research atmospheric teleconnections atomic energy aviation forecasting battlespace environment modeling bauxite refinery beam physics biofuels modeling biogeochemistry bird migration black hole bluetongue transmission risk borehole temperatures bushfire mitigation carbon cycle modelling cell motility climates of extrasolar planets cloud parameterization dimethylsulphoniopropionate disaster prevention drought predicting dust earth magnetic field

Types of research reported by NCL userss

Page 6: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

NCL’s main features •  Simple, robust file input and output

•  Hundreds of analysis (computational) functions

•  Visualizations are publication quality and highly customizable

•  Python modules (PyNIO and PyNGL) provide same file I/O and visualization capabilities

Page 7: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

Why NCL? •  Strong scientific community

•  User driven: developed in close

collaboration with researchers

•  Use of open source software

•  Free, open source

•  Well supported

{

Page 8: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

Well supported •  Knowledgeable and quick consulting

•  Direct access to developers •  Consulting and code from users

•  Hundreds of examples

•  Bugs fixed quickly (usually)

•  User tailored training with hands-on labs (like this one!)

Page 9: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

NCL’s computational analyses •  Array-based math (no need to loop

across dimensions)

•  Hundreds of computational functions, many tailored to climate and weather

•  Most handle missing data •  Can call C and Fortran routines from

NCL and PyNGL

•  Many contributions from users, they drive priorities

Page 10: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

NCL Visualizations •  High-quality, customizable

•  Contours, XY, vectors, streamlines

•  Many common map projections

•  Handles complex data (triangular meshes, hexagonal)

•  Specialized scripts: skew-T, wind roses, histograms, Taylor diagrams, panels, bar charts

•  Over 1,400 visualization “options”

Page 11: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

SAFRAN model file provided by Clotilde

Dubois of Meteo-France

Page 12: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

Hongmei Li of Max Planck Institute for

Meteorology in Hamburg

Page 13: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

Bathymetry from an ORCA12 grid file provided by Romain Bourdalle-Badie of Mercator Ocean. The variable is dimensioned 3059 x 4322

Page 14: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

Image: Karin Meier-Fleischer, DKRZ

Shapefiles useful for masking data

Page 15: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

Ufuk Turuncoglu, ITU Turkey Climate

Change Scenarios

Page 16: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

Typical plot used in climate studies.

Contributed by Dr. Xiaofeng Li,

of IAP/CAS.

Page 17: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

Contributed by Clément Vic, a PhD student at Laboratoire de Physique des Océans, Brest (FRANCE)

Page 18: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

Contributed by Clément Vic, a PhD student at Laboratoire de Physique des Océans, Brest (FRANCE)

Page 19: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

Over 20 specialized color tables provided by MeteoSwiss.

Visualizing COSMO model data from MeteoSwiss. This data contains rotated-latlon coordinates. COSMO NCL

library provided by Oliver Führer

Page 20: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

Example of ESMF regridding: model dataset provided by Pierre Nabat of Météo-France.

Page 21: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

Compares snowpack density from observations read off an ASCII file with Crocus snow model output.

Contributed by Eric Brun and Stéphane Senesi of Météo-France

Page 22: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

Nested contours from ICON dataset. Contributed by Daniel Reinert of DWD, Germany

Page 23: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

How we reach our users Workshops

Hundreds of website examples http://www.ncl.ucar.edu/Applications/ Active email lists

One-on-one correspondence with users

I am regridding a 12km by 12km lambert conical conformal grid of sparse emissions over the U.S. To a 1/2 by 2/3 degree grid over the same domain.  If I choose the grid corners to be rounded to zero decimal places, I get a slightly different answer in my final emissions than if I round the grid corner to 2 decimal places which is actually slightly (1%) less than the original emissions.  Why would this occur, and what is 'best practices' in choosing the grid corners for this scenario?"

New: Webinars

Page 24: Visualization with NCL Fall 2014 Workshop - DKRZ...Introduction to NCL Mary Haley and Karin Meier-Fleischer Visualization with NCL Fall 2014 Workshop Sponsored in part by the National

Questions?

Mary Haley [email protected]


Recommended