SlideShare una empresa de Scribd logo
1 de 61
Descargar para leer sin conexión
Geoscience	
 Data	
 
Analysis	
 and	
 Visualization
	
 Tools	
 from	
 NCAR
HDF/HDF-EOS Workshop XI
Nov 6-8, 2007
David Brown!
Mesa	
 Lab	
 ·	
 Boulder,	
 Colorado

Visualization	
 and	
 Enabling	
 Technologies	
 Section
National Center for Atmospheric Research
Photos: Lynda Lester
Topics
• 

• 
• 
• 
• 

Two interfaces: the same capabilities (mostly)
–  NCL - a self-contained scripting language
–  PyNGL and PyNIO - Python modules
Quick overview: visualization and analysis
Data model
State of our I/O component development
Enabling access to HDF 5, HDFEOS 5, and
NetCDF 4

HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
PyNIO and PyNGL
July 2006
(Numeric 24.x/NumPy 1.0)
PyNIO
2005

PyNGL
2004

NIO
2005
2000-present:
30+ NCL Workshops
1995: NCL Conference

1992: NCARG Conference

Original Fortran
Late 60s

GSUN - Late 90s

PyHLU
2003

NCL
Mid 90s
C interface
Mid 90s

HLUs
Mid 90s

GKS/CGM/Fortran 77/UNIX conversion
NCAR Graphics
1980s
NCAR Command Language (NCL)
A scripting language designed for
scientific data analysis and visualization

1.  Simple, robust file
input and output
2.  Hundreds of
analysis functions
3.  Visualizations
(2D) are world
class and highly
customizable
http://www.ncl.ucar.edu/
HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
NCL: Data analysis
•  Array-based syntax and operators
•  Hundreds of functions
- 
- 
- 
- 

Spherical harmonics
Scalar and vector regridding
Vertical interpolation
EOFs

•  Many tailored to geosciences
•  Most handle missing data
•  Can call C and Fortran routines
HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
NCL: Visualization
•  High-quality and customizable visualizations
•  Contours, XY, vectors, streamlines
• 
Maps with most common map projections
•  Handles data on regular and irregular grids,
triangular meshes
•  Specialized scripts for skew-T, wind roses,
histograms, Taylor diagrams, panels, bar charts
•  GSUN interface: simplifies visualization
•  Over 1,400 visualization options available

HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
PyNGL - Python module
• 
• 
• 
• 

Python NCL Graphics Library
Python version of popular GSUN interface
Same publication-quality graphics as NCL
Utilizes existing Python modules and
development tools (swig, Numeric, NumPy)
•  Contains some climate-specific data
analysis functions
•  Extensive and updated documentation

http://www.pyngl.ucar.edu/
HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
NCL Data Model
•  Based on netCDF 3
•  Language variables can have:
•  Named dimensions
•  Attributes
•  Coordinates variables
•  A convention in NetCDF but a language feature in
NCL
•  1d array with the same name as a dimension
•  Contains coordinate values for dimension elements

HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
Supported file format I/O
•  One function reads all supported data
formats:
•  NetCDF (now including NetCDF4 classic),
HDF4, HDF-EOS
2, GRIB 1 and 2
•  Writes NetCDF and HDF4

•  All file formats massaged into same
model: file variables have basically the
same features as internal variables
•  Flat name space: HDF group names are
appended to variable names
HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
PyNIO - Python module
• 
• 
• 
• 
• 

Same I/O library as NCL (libnio)
Reads and writes same formats as NCL
Same NetCDF-like view of all formats
But interfaces with NumPy for data access
Modeled on the Scientific NetCDF module
–  NioVariable type is a reference to the variable in
the file (metadata is attached to variable)
–  Dereferencing it results in a NumPy variable with
no metadata

•  *Numpy is a Python array processing module

http://www.pyngl.ucar.edu/Nio.shtml
HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
2D Coordinates
•  Traditional NetCDF coordinate variables are
1D vectors
•  However, satellite data and model data on
modern grids require 2D coordinate grids
•  2D coordinate variables created on the fly for
GRIB grids and HDFEOS Grid-type data
•  Added value variables that allow data to be
plotted on any map projection

HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
Enabling NetCDF 4 ‘classic’
•  Recompile with NetCDF 4 and HDF 5 1.8
beta (we also included szip)
•  Add options for specifying format and
compression level
•  Tests using ncl_convert2nc on GRIB files
show reduction in file size by ~1/2 over GRIB.
•  Caveats:
–  Beta version NetCDF 4 not yet supported on some
architectures (64 bit mainly)
–  Not supported for OPeNDAP NetCDF client library
HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
Path to HDF, HDFEOS 5 and
full NetCDF 4 support
•  size_t for dimension sizes to enable large
variables on 64-bit hosts
•  Add support for more atomic types (int64)
•  Support for groups in the file context
•  User control of chunking
•  Compound and variable length data types
•  Components to read HDF 5 and HDFEOS 5
•  Current NetCDF module extended to handle v4
•  More support for aggregation
HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
Current status
•  NCL 5.0.0 released this week
–  NCSA-style Open Source license (finally)
–  Binaries available under slightly more
restrictive license (because of included 3rd
party software)

•  PyNGL/PyNIO 1.2.0 available
–  Supports NumPy 1.0.x and Python 2.5
–  Binaries (easy installation) available for:
•  Various flavors of Linux, Mac OSX, Cygwin
•  Other Unix systems, 32 and 64 bit
HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
Distribution of NCL sites

Distribution of PyNGL/PyNIO sites
Support
•  Websites with extensive documentation
•  Tutorials
•  Hundreds of examples with
downloadable scripts
•  Active email lists
–  ncl-talk@ucar.edu, pyngl-talk@ucar.edu

•  Hands-on training workshops
HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
Download locations
•  NCL
http://www.ncl.ucar.edu/download.html

•  PyNGL and PyNIO
http://www.pyngl.ucar.edu/download.html

HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
Questions? Email me: dbrown@ucar.edu

HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
education

What kind of research

monsoons

(from our ESG download website)

rainfall

cloud modeling

climate change
data conversion
lightning
oceanography
marine studies
air quality
planetary
atmospheres

dust

atmospheric research

astronomy

weather forecasting

paleoclimatology
utility forecasting
pollution
acoustics

salmon abundance
glaciers

hydrology

medical

flood risk mgmt

fire modeling

physics
agriculture
HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007	
 
microbiology

electric power
storms
aerosol light
absorption
Sample GRIB output
from PyNIO

filename:
ruc2.T00Z.bgrbanl
path: /Users/dbrown/grib/ruc2.T00Z.bgrbanl.grb
file global attributes:
dimensions:
gridx_236 = 113
gridy_236 = 151
lv_HYBL2 = 40
lv_DBLL3 = 5
variables:
float PRES_236_TRO ( gridx_236, gridy_236 )
center :
US National Weather Service - NCEP (WMC)
long_name : Pressure
units :
Pa
_FillValue : -999
coordinates : gridlat_236 gridlon_236
level_indicator :
7
grid_number : 236
parameter_number : 1
model :
RUC Model from FSL (isentropic; scale: 20km at 40N)
forecast_time :
0
initial_time : 05/11/2000 (00:00)
…
float gridlat_236 ( gridx_236, gridy_236 )
corners :
ARRAY
long_name : latitude
GridType : Lambert Conformal Secant or Tangent, Conical or bipolar

	


…

units :

degrees_north
Resources (a.k.a. attributes)
•  Same control mechanism for NCL and
PyNGL
•  Detailed control of the appearance of a
visualization
•  Example using POP grid ocean current
data

HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
NCL and PyNGL visualization
examples
•  scatter and line plots, contours, vectors,
skew-t, meteograms, maps, wind barbs,
bar charts, streamlines, trajectories,
filled polygons, paneled visualizations

HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
Skew-T graphic
Courtesy of
Dennis Shea

A Skew-T plot is
used by
meteorologists to
analyze data from
a balloon
sounding.
Based on a visualization
of Adam Phillips
Based on a visualization
of Joel Norris (Scripps)
using dummy data
Data from Climate Analysis Section
Christian Guillemot
GRIB 2 TIGGE (THORPEX Interactive Grand Global Ensemble) data
Japan Meteorological Agency
!

THORPEX - an international research and development
program responding to the weather related challenges of
the 21st century to accelerate improvements in the
accuracy of 1-day to 2- week high impact weather
forecasts for the benefit of society, the economy and the

!

environment.
Courtesy Jeff Yin
NCAR CGD
Image courtesy of Nan
Rosenbloom, CGD
First two map databases built-in; high-resolution available as simple download
Christophe Cassou
(CNRS/CERFACS)

This grid could be
described as a tripole
grid that is further
modified by the
arbitrary displacement
of some portions of the
grid to achieve finer
resolution over areas
of interest (typically,
ocean areas).
Courtesy Mark Stevens, NCAR CGD
Brett D. Estrada
Naval Research Laboratory
Grid from Tom Gross
NOAA/NOS/CSDL/MMAP
Special grids you can contour
Soon to include vectors and streamlines

•  Grids already on a triangular mesh
•  Grids with “cell boundary” information
•  Grids represented by one-dimensional arrays
of x, y, and z values

HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007	
 

http://isccp.giss.nasa.gov/
HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007	
 

http://isccp.giss.nasa.gov/
ARPEGE GRID
(used by Meteo-France)
Christophe Cassou
(CNRS/CERFACS)

Similar to ISCCP grid,
but with somewhat finer
resolution. Grid is rotated
with respect to the globe
so as to put its poles
somewhere other than at
the North and South
Pole.

HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
Data from Dave Randall,
Todd Ringler,
Ross Heikes of CSU

Most geodesic grids
appear to be formed by
elaborating an
icosahedron; each of the
20 faces of the
icosahedron is
subdivided into smaller
triangles in a more or less
obvious way.
Data from Dave Randall,
Todd Ringler,
Ross Heikes of CSU
Station data:
contouring on a
triangular mesh
Triangular mesh from Brett D.
Estrada, Naval Research Laboratory

HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007	
 

Grid from Brett D. Estrada, Naval Research Laboratory
Triangular mesh from Tom
Gross
NOAA/NOS/CSDL/MMAP
Samples from VASPACKT
Vectors and streamlines on a triangular mesh

• 
• 
• 
• 
• 

Developed by Dave Kennison
Simple vectors
Curly vectors
Streamlines
Examples use dummy data

HDF/HDEOS	
 Workshop	
 XI,	
 November	
 2007
Simple
vectors
Curly vectors
Streamlines

Más contenido relacionado

La actualidad más candente

Exploiting HDF5 Technologies to Represent Geo-Information-An Example with Com...
Exploiting HDF5 Technologies to Represent Geo-Information-An Example with Com...Exploiting HDF5 Technologies to Represent Geo-Information-An Example with Com...
Exploiting HDF5 Technologies to Represent Geo-Information-An Example with Com...
The HDF-EOS Tools and Information Center
 
Interoperability with netCDF-4 - Experience with NPP and HDF-EOS5 products
Interoperability with netCDF-4 - Experience with NPP and HDF-EOS5 productsInteroperability with netCDF-4 - Experience with NPP and HDF-EOS5 products
Interoperability with netCDF-4 - Experience with NPP and HDF-EOS5 products
The HDF-EOS Tools and Information Center
 

La actualidad más candente (20)

HDF Update 2016
HDF Update 2016HDF Update 2016
HDF Update 2016
 
NetCDF and HDF5
NetCDF and HDF5NetCDF and HDF5
NetCDF and HDF5
 
Earth Science Data and Information System (ESDIS) Project Update
Earth Science Data and Information System (ESDIS) Project UpdateEarth Science Data and Information System (ESDIS) Project Update
Earth Science Data and Information System (ESDIS) Project Update
 
Exploiting HDF5 Technologies to Represent Geo-Information-An Example with Com...
Exploiting HDF5 Technologies to Represent Geo-Information-An Example with Com...Exploiting HDF5 Technologies to Represent Geo-Information-An Example with Com...
Exploiting HDF5 Technologies to Represent Geo-Information-An Example with Com...
 
HDF-EOS Data Product Developer's Guide
HDF-EOS Data Product Developer's GuideHDF-EOS Data Product Developer's Guide
HDF-EOS Data Product Developer's Guide
 
SPD and KEA: HDF5 based file formats for Earth Observation
SPD and KEA: HDF5 based file formats for Earth ObservationSPD and KEA: HDF5 based file formats for Earth Observation
SPD and KEA: HDF5 based file formats for Earth Observation
 
Data Interoperability
Data InteroperabilityData Interoperability
Data Interoperability
 
HDF & HDF-EOS Data & Support at NSIDC
HDF & HDF-EOS Data & Support at NSIDCHDF & HDF-EOS Data & Support at NSIDC
HDF & HDF-EOS Data & Support at NSIDC
 
Bridging ICESat and ICESat-2 Standard Data Products
Bridging ICESat and ICESat-2 Standard Data ProductsBridging ICESat and ICESat-2 Standard Data Products
Bridging ICESat and ICESat-2 Standard Data Products
 
NASA HDF/HDF-EOS Data for Dummies (and Developers)
NASA HDF/HDF-EOS Data for Dummies (and Developers)NASA HDF/HDF-EOS Data for Dummies (and Developers)
NASA HDF/HDF-EOS Data for Dummies (and Developers)
 
HDF Group Support for NPP/NPOESS/JPSS
HDF Group Support for NPP/NPOESS/JPSSHDF Group Support for NPP/NPOESS/JPSS
HDF Group Support for NPP/NPOESS/JPSS
 
Migration of audio files using Hadoop, SCAPE Information Day, 25 June 2014
Migration of audio files using Hadoop, SCAPE Information Day, 25 June 2014Migration of audio files using Hadoop, SCAPE Information Day, 25 June 2014
Migration of audio files using Hadoop, SCAPE Information Day, 25 June 2014
 
Efficiently serving HDF5 via OPeNDAP
Efficiently serving HDF5 via OPeNDAPEfficiently serving HDF5 via OPeNDAP
Efficiently serving HDF5 via OPeNDAP
 
Interoperability with netCDF-4 - Experience with NPP and HDF-EOS5 products
Interoperability with netCDF-4 - Experience with NPP and HDF-EOS5 productsInteroperability with netCDF-4 - Experience with NPP and HDF-EOS5 products
Interoperability with netCDF-4 - Experience with NPP and HDF-EOS5 products
 
NEON HDF5
NEON HDF5NEON HDF5
NEON HDF5
 
ICESat-2 Metadata and Status
ICESat-2 Metadata and StatusICESat-2 Metadata and Status
ICESat-2 Metadata and Status
 
Introduction to HDFLook_MODIS
Introduction to HDFLook_MODISIntroduction to HDFLook_MODIS
Introduction to HDFLook_MODIS
 
HDFEOS.org User Analsys, Updates, and Future
HDFEOS.org User Analsys, Updates, and FutureHDFEOS.org User Analsys, Updates, and Future
HDFEOS.org User Analsys, Updates, and Future
 
HDF OPeNDAP Project Update and Demo
HDF OPeNDAP Project Update and DemoHDF OPeNDAP Project Update and Demo
HDF OPeNDAP Project Update and Demo
 
Accelerating Science with Cloud Technologies in the ABoVE Science Cloud
Accelerating Science with Cloud Technologies in the ABoVE Science CloudAccelerating Science with Cloud Technologies in the ABoVE Science Cloud
Accelerating Science with Cloud Technologies in the ABoVE Science Cloud
 

Destacado

Pygrib documentation
Pygrib documentationPygrib documentation
Pygrib documentation
Arulalan T
 
Investing in the Future of Geoscience Research Services
Investing in the Future of Geoscience Research ServicesInvesting in the Future of Geoscience Research Services
Investing in the Future of Geoscience Research Services
Richard Huffine
 
Science and Engineering Resources: Earth Science / Geoscience
Science and Engineering Resources: Earth Science / GeoscienceScience and Engineering Resources: Earth Science / Geoscience
Science and Engineering Resources: Earth Science / Geoscience
Joseph Kraus
 
Dp Geosc Info Presentation Final Version 2
Dp Geosc Info Presentation Final Version 2Dp Geosc Info Presentation Final Version 2
Dp Geosc Info Presentation Final Version 2
Smita Chandra
 
satellite image processing
satellite image processingsatellite image processing
satellite image processing
avhadlaxmikant
 
Top 10 geotechnical engineer interview questions and answers
Top 10 geotechnical engineer interview questions and answersTop 10 geotechnical engineer interview questions and answers
Top 10 geotechnical engineer interview questions and answers
boolady2131
 

Destacado (20)

Bernard Rowe - Global Geoscience
Bernard Rowe - Global GeoscienceBernard Rowe - Global Geoscience
Bernard Rowe - Global Geoscience
 
Pygrib documentation
Pygrib documentationPygrib documentation
Pygrib documentation
 
Climate Change Geoscience
Climate Change GeoscienceClimate Change Geoscience
Climate Change Geoscience
 
Challenges InTeGrating Engineering and Geoscience Cultures
Challenges InTeGrating Engineering and Geoscience CulturesChallenges InTeGrating Engineering and Geoscience Cultures
Challenges InTeGrating Engineering and Geoscience Cultures
 
Incomplete And Missing Data In Geoscience Databases
Incomplete And Missing Data In Geoscience DatabasesIncomplete And Missing Data In Geoscience Databases
Incomplete And Missing Data In Geoscience Databases
 
Investing in the Future of Geoscience Research Services
Investing in the Future of Geoscience Research ServicesInvesting in the Future of Geoscience Research Services
Investing in the Future of Geoscience Research Services
 
Vol2 s2 dec14 int jr of geo sci n technology
Vol2 s2 dec14 int jr of geo sci n technologyVol2 s2 dec14 int jr of geo sci n technology
Vol2 s2 dec14 int jr of geo sci n technology
 
Jie huang
Jie huangJie huang
Jie huang
 
Weather, Geology & Physics: Reducing Risks
Weather, Geology & Physics: Reducing RisksWeather, Geology & Physics: Reducing Risks
Weather, Geology & Physics: Reducing Risks
 
Taking Technology in the Field: Data Collection and Mapping on a Tablet PC
Taking Technology in the Field: Data Collection and Mapping on a Tablet PCTaking Technology in the Field: Data Collection and Mapping on a Tablet PC
Taking Technology in the Field: Data Collection and Mapping on a Tablet PC
 
Science and Engineering Resources: Earth Science / Geoscience
Science and Engineering Resources: Earth Science / GeoscienceScience and Engineering Resources: Earth Science / Geoscience
Science and Engineering Resources: Earth Science / Geoscience
 
Chapter 1 Geoscience Application Challenges to Computing Infrastructure
Chapter 1 Geoscience Application Challenges to Computing InfrastructureChapter 1 Geoscience Application Challenges to Computing Infrastructure
Chapter 1 Geoscience Application Challenges to Computing Infrastructure
 
Dp Geosc Info Presentation Final Version 2
Dp Geosc Info Presentation Final Version 2Dp Geosc Info Presentation Final Version 2
Dp Geosc Info Presentation Final Version 2
 
TECH 1940 Science & Tech? Science vs. Tech?
TECH 1940 Science & Tech?  Science vs. Tech?TECH 1940 Science & Tech?  Science vs. Tech?
TECH 1940 Science & Tech? Science vs. Tech?
 
Teac lesson 5
Teac lesson 5Teac lesson 5
Teac lesson 5
 
Geoscience satellite image processing
Geoscience satellite image processingGeoscience satellite image processing
Geoscience satellite image processing
 
Introduction
IntroductionIntroduction
Introduction
 
satellite image processing
satellite image processingsatellite image processing
satellite image processing
 
Top 10 geotechnical engineer interview questions and answers
Top 10 geotechnical engineer interview questions and answersTop 10 geotechnical engineer interview questions and answers
Top 10 geotechnical engineer interview questions and answers
 
Satellite image processing
Satellite image processingSatellite image processing
Satellite image processing
 

Similar a Geoscience Data Analysis and Visualization Tools from NCAR

Team 04 3 d open land use
Team 04 3 d open land useTeam 04 3 d open land use
Team 04 3 d open land use
plan4all
 
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial DataCloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Safe Software
 
2. Develop a MapReduce program to calculate the frequency of a given word in ...
2. Develop a MapReduce program to calculate the frequency of a given word in ...2. Develop a MapReduce program to calculate the frequency of a given word in ...
2. Develop a MapReduce program to calculate the frequency of a given word in ...
Prof. Maulik Trivedi
 
Implementation of OGC Web Coverage Service Using HDF5/HDF-EOS5 as the Base Fi...
Implementation of OGC Web Coverage Service Using HDF5/HDF-EOS5 as the Base Fi...Implementation of OGC Web Coverage Service Using HDF5/HDF-EOS5 as the Base Fi...
Implementation of OGC Web Coverage Service Using HDF5/HDF-EOS5 as the Base Fi...
The HDF-EOS Tools and Information Center
 

Similar a Geoscience Data Analysis and Visualization Tools from NCAR (20)

Using HDF5 Archive Information Package to preserve HDF-EOS2 data
Using HDF5 Archive Information Package to preserve HDF-EOS2 dataUsing HDF5 Archive Information Package to preserve HDF-EOS2 data
Using HDF5 Archive Information Package to preserve HDF-EOS2 data
 
The Earth System Grid Federation: Origins, Current State, Evolution
The Earth System Grid Federation: Origins, Current State, EvolutionThe Earth System Grid Federation: Origins, Current State, Evolution
The Earth System Grid Federation: Origins, Current State, Evolution
 
Welcome to HDF Workshop V
Welcome to HDF Workshop VWelcome to HDF Workshop V
Welcome to HDF Workshop V
 
Support for NPP/NPOESS/JPSS by The HDF Group
 Support for NPP/NPOESS/JPSS by The HDF Group Support for NPP/NPOESS/JPSS by The HDF Group
Support for NPP/NPOESS/JPSS by The HDF Group
 
Building the Next Generation Earth System Grid Federation (ESGF2)
Building the Next Generation Earth System Grid Federation (ESGF2)Building the Next Generation Earth System Grid Federation (ESGF2)
Building the Next Generation Earth System Grid Federation (ESGF2)
 
Deep Hybrid DataCloud
Deep Hybrid DataCloudDeep Hybrid DataCloud
Deep Hybrid DataCloud
 
HDF5 and The HDF Group
HDF5 and The HDF GroupHDF5 and The HDF Group
HDF5 and The HDF Group
 
Incorporating ISO Metadata Using HDF Product Designer
Incorporating ISO Metadata Using HDF Product DesignerIncorporating ISO Metadata Using HDF Product Designer
Incorporating ISO Metadata Using HDF Product Designer
 
GES DISC Eexperiences with HDF Formats for MEaSUREs Projects
GES DISC Eexperiences with HDF Formats for MEaSUREs ProjectsGES DISC Eexperiences with HDF Formats for MEaSUREs Projects
GES DISC Eexperiences with HDF Formats for MEaSUREs Projects
 
Archive Information Packages for NASA HDF-EOS Data
Archive Information Packages for NASA HDF-EOS DataArchive Information Packages for NASA HDF-EOS Data
Archive Information Packages for NASA HDF-EOS Data
 
Working with HDF and netCDF Data in ArcGIS: Tools and Case Studies
Working with HDF and netCDF Data in ArcGIS: Tools and Case StudiesWorking with HDF and netCDF Data in ArcGIS: Tools and Case Studies
Working with HDF and netCDF Data in ArcGIS: Tools and Case Studies
 
Team 04 3 d open land use
Team 04 3 d open land useTeam 04 3 d open land use
Team 04 3 d open land use
 
HDF Update
HDF UpdateHDF Update
HDF Update
 
HDF Status and Development
HDF Status and DevelopmentHDF Status and Development
HDF Status and Development
 
NASA HDF/HDF-EOS Data Access Challenges
NASA HDF/HDF-EOS Data Access ChallengesNASA HDF/HDF-EOS Data Access Challenges
NASA HDF/HDF-EOS Data Access Challenges
 
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial DataCloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
 
Content Framework for Operational Environmental Remote Sensing Data Sets: NPO...
Content Framework for Operational Environmental Remote Sensing Data Sets: NPO...Content Framework for Operational Environmental Remote Sensing Data Sets: NPO...
Content Framework for Operational Environmental Remote Sensing Data Sets: NPO...
 
2. Develop a MapReduce program to calculate the frequency of a given word in ...
2. Develop a MapReduce program to calculate the frequency of a given word in ...2. Develop a MapReduce program to calculate the frequency of a given word in ...
2. Develop a MapReduce program to calculate the frequency of a given word in ...
 
Implementation of OGC Web Coverage Service Using HDF5/HDF-EOS5 as the Base Fi...
Implementation of OGC Web Coverage Service Using HDF5/HDF-EOS5 as the Base Fi...Implementation of OGC Web Coverage Service Using HDF5/HDF-EOS5 as the Base Fi...
Implementation of OGC Web Coverage Service Using HDF5/HDF-EOS5 as the Base Fi...
 
Plans for Enhanced NetCDF-4 Interface to HDF5 Data
Plans for Enhanced NetCDF-4 Interface to HDF5 DataPlans for Enhanced NetCDF-4 Interface to HDF5 Data
Plans for Enhanced NetCDF-4 Interface to HDF5 Data
 

Más de The HDF-EOS Tools and Information Center

Más de The HDF-EOS Tools and Information Center (20)

Cloud-Optimized HDF5 Files
Cloud-Optimized HDF5 FilesCloud-Optimized HDF5 Files
Cloud-Optimized HDF5 Files
 
Accessing HDF5 data in the cloud with HSDS
Accessing HDF5 data in the cloud with HSDSAccessing HDF5 data in the cloud with HSDS
Accessing HDF5 data in the cloud with HSDS
 
The State of HDF
The State of HDFThe State of HDF
The State of HDF
 
Highly Scalable Data Service (HSDS) Performance Features
Highly Scalable Data Service (HSDS) Performance FeaturesHighly Scalable Data Service (HSDS) Performance Features
Highly Scalable Data Service (HSDS) Performance Features
 
Creating Cloud-Optimized HDF5 Files
Creating Cloud-Optimized HDF5 FilesCreating Cloud-Optimized HDF5 Files
Creating Cloud-Optimized HDF5 Files
 
HDF5 OPeNDAP Handler Updates, and Performance Discussion
HDF5 OPeNDAP Handler Updates, and Performance DiscussionHDF5 OPeNDAP Handler Updates, and Performance Discussion
HDF5 OPeNDAP Handler Updates, and Performance Discussion
 
Hyrax: Serving Data from S3
Hyrax: Serving Data from S3Hyrax: Serving Data from S3
Hyrax: Serving Data from S3
 
Accessing Cloud Data and Services Using EDL, Pydap, MATLAB
Accessing Cloud Data and Services Using EDL, Pydap, MATLABAccessing Cloud Data and Services Using EDL, Pydap, MATLAB
Accessing Cloud Data and Services Using EDL, Pydap, MATLAB
 
HDF - Current status and Future Directions
HDF - Current status and Future DirectionsHDF - Current status and Future Directions
HDF - Current status and Future Directions
 
HDF - Current status and Future Directions
HDF - Current status and Future Directions HDF - Current status and Future Directions
HDF - Current status and Future Directions
 
H5Coro: The Cloud-Optimized Read-Only Library
H5Coro: The Cloud-Optimized Read-Only LibraryH5Coro: The Cloud-Optimized Read-Only Library
H5Coro: The Cloud-Optimized Read-Only Library
 
MATLAB Modernization on HDF5 1.10
MATLAB Modernization on HDF5 1.10MATLAB Modernization on HDF5 1.10
MATLAB Modernization on HDF5 1.10
 
HDF for the Cloud - Serverless HDF
HDF for the Cloud - Serverless HDFHDF for the Cloud - Serverless HDF
HDF for the Cloud - Serverless HDF
 
HDF5 <-> Zarr
HDF5 <-> ZarrHDF5 <-> Zarr
HDF5 <-> Zarr
 
HDF for the Cloud - New HDF Server Features
HDF for the Cloud - New HDF Server FeaturesHDF for the Cloud - New HDF Server Features
HDF for the Cloud - New HDF Server Features
 
Apache Drill and Unidata THREDDS Data Server for NASA HDF-EOS on S3
Apache Drill and Unidata THREDDS Data Server for NASA HDF-EOS on S3Apache Drill and Unidata THREDDS Data Server for NASA HDF-EOS on S3
Apache Drill and Unidata THREDDS Data Server for NASA HDF-EOS on S3
 
STARE-PODS: A Versatile Data Store Leveraging the HDF Virtual Object Layer fo...
STARE-PODS: A Versatile Data Store Leveraging the HDF Virtual Object Layer fo...STARE-PODS: A Versatile Data Store Leveraging the HDF Virtual Object Layer fo...
STARE-PODS: A Versatile Data Store Leveraging the HDF Virtual Object Layer fo...
 
HDF5 and Ecosystem: What Is New?
HDF5 and Ecosystem: What Is New?HDF5 and Ecosystem: What Is New?
HDF5 and Ecosystem: What Is New?
 
HDF5 Roadmap 2019-2020
HDF5 Roadmap 2019-2020HDF5 Roadmap 2019-2020
HDF5 Roadmap 2019-2020
 
Leveraging the Cloud for HDF Software Testing
Leveraging the Cloud for HDF Software TestingLeveraging the Cloud for HDF Software Testing
Leveraging the Cloud for HDF Software Testing
 

Último

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Último (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

Geoscience Data Analysis and Visualization Tools from NCAR

  • 1. Geoscience Data Analysis and Visualization Tools from NCAR HDF/HDF-EOS Workshop XI Nov 6-8, 2007 David Brown!
  • 2. Mesa Lab · Boulder, Colorado Visualization and Enabling Technologies Section National Center for Atmospheric Research Photos: Lynda Lester
  • 3. Topics •  •  •  •  •  Two interfaces: the same capabilities (mostly) –  NCL - a self-contained scripting language –  PyNGL and PyNIO - Python modules Quick overview: visualization and analysis Data model State of our I/O component development Enabling access to HDF 5, HDFEOS 5, and NetCDF 4 HDF/HDEOS Workshop XI, November 2007
  • 4. PyNIO and PyNGL July 2006 (Numeric 24.x/NumPy 1.0) PyNIO 2005 PyNGL 2004 NIO 2005 2000-present: 30+ NCL Workshops 1995: NCL Conference 1992: NCARG Conference Original Fortran Late 60s GSUN - Late 90s PyHLU 2003 NCL Mid 90s C interface Mid 90s HLUs Mid 90s GKS/CGM/Fortran 77/UNIX conversion NCAR Graphics 1980s
  • 5. NCAR Command Language (NCL) A scripting language designed for scientific data analysis and visualization 1.  Simple, robust file input and output 2.  Hundreds of analysis functions 3.  Visualizations (2D) are world class and highly customizable http://www.ncl.ucar.edu/ HDF/HDEOS Workshop XI, November 2007
  • 6. NCL: Data analysis •  Array-based syntax and operators •  Hundreds of functions -  -  -  -  Spherical harmonics Scalar and vector regridding Vertical interpolation EOFs •  Many tailored to geosciences •  Most handle missing data •  Can call C and Fortran routines HDF/HDEOS Workshop XI, November 2007
  • 7. NCL: Visualization •  High-quality and customizable visualizations •  Contours, XY, vectors, streamlines •  Maps with most common map projections •  Handles data on regular and irregular grids, triangular meshes •  Specialized scripts for skew-T, wind roses, histograms, Taylor diagrams, panels, bar charts •  GSUN interface: simplifies visualization •  Over 1,400 visualization options available HDF/HDEOS Workshop XI, November 2007
  • 8. HDF/HDEOS Workshop XI, November 2007
  • 9. PyNGL - Python module •  •  •  •  Python NCL Graphics Library Python version of popular GSUN interface Same publication-quality graphics as NCL Utilizes existing Python modules and development tools (swig, Numeric, NumPy) •  Contains some climate-specific data analysis functions •  Extensive and updated documentation http://www.pyngl.ucar.edu/ HDF/HDEOS Workshop XI, November 2007
  • 10. NCL Data Model •  Based on netCDF 3 •  Language variables can have: •  Named dimensions •  Attributes •  Coordinates variables •  A convention in NetCDF but a language feature in NCL •  1d array with the same name as a dimension •  Contains coordinate values for dimension elements HDF/HDEOS Workshop XI, November 2007
  • 11. Supported file format I/O •  One function reads all supported data formats: •  NetCDF (now including NetCDF4 classic), HDF4, HDF-EOS 2, GRIB 1 and 2 •  Writes NetCDF and HDF4 •  All file formats massaged into same model: file variables have basically the same features as internal variables •  Flat name space: HDF group names are appended to variable names HDF/HDEOS Workshop XI, November 2007
  • 12. PyNIO - Python module •  •  •  •  •  Same I/O library as NCL (libnio) Reads and writes same formats as NCL Same NetCDF-like view of all formats But interfaces with NumPy for data access Modeled on the Scientific NetCDF module –  NioVariable type is a reference to the variable in the file (metadata is attached to variable) –  Dereferencing it results in a NumPy variable with no metadata •  *Numpy is a Python array processing module http://www.pyngl.ucar.edu/Nio.shtml HDF/HDEOS Workshop XI, November 2007
  • 13. 2D Coordinates •  Traditional NetCDF coordinate variables are 1D vectors •  However, satellite data and model data on modern grids require 2D coordinate grids •  2D coordinate variables created on the fly for GRIB grids and HDFEOS Grid-type data •  Added value variables that allow data to be plotted on any map projection HDF/HDEOS Workshop XI, November 2007
  • 14. Enabling NetCDF 4 ‘classic’ •  Recompile with NetCDF 4 and HDF 5 1.8 beta (we also included szip) •  Add options for specifying format and compression level •  Tests using ncl_convert2nc on GRIB files show reduction in file size by ~1/2 over GRIB. •  Caveats: –  Beta version NetCDF 4 not yet supported on some architectures (64 bit mainly) –  Not supported for OPeNDAP NetCDF client library HDF/HDEOS Workshop XI, November 2007
  • 15. Path to HDF, HDFEOS 5 and full NetCDF 4 support •  size_t for dimension sizes to enable large variables on 64-bit hosts •  Add support for more atomic types (int64) •  Support for groups in the file context •  User control of chunking •  Compound and variable length data types •  Components to read HDF 5 and HDFEOS 5 •  Current NetCDF module extended to handle v4 •  More support for aggregation HDF/HDEOS Workshop XI, November 2007
  • 16. Current status •  NCL 5.0.0 released this week –  NCSA-style Open Source license (finally) –  Binaries available under slightly more restrictive license (because of included 3rd party software) •  PyNGL/PyNIO 1.2.0 available –  Supports NumPy 1.0.x and Python 2.5 –  Binaries (easy installation) available for: •  Various flavors of Linux, Mac OSX, Cygwin •  Other Unix systems, 32 and 64 bit HDF/HDEOS Workshop XI, November 2007
  • 17. Distribution of NCL sites Distribution of PyNGL/PyNIO sites
  • 18. Support •  Websites with extensive documentation •  Tutorials •  Hundreds of examples with downloadable scripts •  Active email lists –  ncl-talk@ucar.edu, pyngl-talk@ucar.edu •  Hands-on training workshops HDF/HDEOS Workshop XI, November 2007
  • 19. Download locations •  NCL http://www.ncl.ucar.edu/download.html •  PyNGL and PyNIO http://www.pyngl.ucar.edu/download.html HDF/HDEOS Workshop XI, November 2007
  • 20. Questions? Email me: dbrown@ucar.edu HDF/HDEOS Workshop XI, November 2007
  • 21. education What kind of research monsoons (from our ESG download website) rainfall cloud modeling climate change data conversion lightning oceanography marine studies air quality planetary atmospheres dust atmospheric research astronomy weather forecasting paleoclimatology utility forecasting pollution acoustics salmon abundance glaciers hydrology medical flood risk mgmt fire modeling physics agriculture HDF/HDEOS Workshop XI, November 2007 microbiology electric power storms aerosol light absorption
  • 22. Sample GRIB output from PyNIO filename: ruc2.T00Z.bgrbanl path: /Users/dbrown/grib/ruc2.T00Z.bgrbanl.grb file global attributes: dimensions: gridx_236 = 113 gridy_236 = 151 lv_HYBL2 = 40 lv_DBLL3 = 5 variables: float PRES_236_TRO ( gridx_236, gridy_236 ) center : US National Weather Service - NCEP (WMC) long_name : Pressure units : Pa _FillValue : -999 coordinates : gridlat_236 gridlon_236 level_indicator : 7 grid_number : 236 parameter_number : 1 model : RUC Model from FSL (isentropic; scale: 20km at 40N) forecast_time : 0 initial_time : 05/11/2000 (00:00) … float gridlat_236 ( gridx_236, gridy_236 ) corners : ARRAY long_name : latitude GridType : Lambert Conformal Secant or Tangent, Conical or bipolar … units : degrees_north
  • 23. Resources (a.k.a. attributes) •  Same control mechanism for NCL and PyNGL •  Detailed control of the appearance of a visualization •  Example using POP grid ocean current data HDF/HDEOS Workshop XI, November 2007
  • 24. HDF/HDEOS Workshop XI, November 2007
  • 25. HDF/HDEOS Workshop XI, November 2007
  • 26. HDF/HDEOS Workshop XI, November 2007
  • 27. HDF/HDEOS Workshop XI, November 2007
  • 28. HDF/HDEOS Workshop XI, November 2007
  • 29. NCL and PyNGL visualization examples •  scatter and line plots, contours, vectors, skew-t, meteograms, maps, wind barbs, bar charts, streamlines, trajectories, filled polygons, paneled visualizations HDF/HDEOS Workshop XI, November 2007
  • 30.
  • 31.
  • 32. Skew-T graphic Courtesy of Dennis Shea A Skew-T plot is used by meteorologists to analyze data from a balloon sounding.
  • 33.
  • 34.
  • 35.
  • 36. Based on a visualization of Adam Phillips
  • 37. Based on a visualization of Joel Norris (Scripps) using dummy data
  • 38. Data from Climate Analysis Section Christian Guillemot
  • 39. GRIB 2 TIGGE (THORPEX Interactive Grand Global Ensemble) data Japan Meteorological Agency ! THORPEX - an international research and development program responding to the weather related challenges of the 21st century to accelerate improvements in the accuracy of 1-day to 2- week high impact weather forecasts for the benefit of society, the economy and the ! environment.
  • 41.
  • 42. Image courtesy of Nan Rosenbloom, CGD
  • 43. First two map databases built-in; high-resolution available as simple download
  • 44. Christophe Cassou (CNRS/CERFACS) This grid could be described as a tripole grid that is further modified by the arbitrary displacement of some portions of the grid to achieve finer resolution over areas of interest (typically, ocean areas).
  • 46. Brett D. Estrada Naval Research Laboratory
  • 47. Grid from Tom Gross NOAA/NOS/CSDL/MMAP
  • 48. Special grids you can contour Soon to include vectors and streamlines •  Grids already on a triangular mesh •  Grids with “cell boundary” information •  Grids represented by one-dimensional arrays of x, y, and z values HDF/HDEOS Workshop XI, November 2007
  • 49. HDF/HDEOS Workshop XI, November 2007 http://isccp.giss.nasa.gov/
  • 50. HDF/HDEOS Workshop XI, November 2007 http://isccp.giss.nasa.gov/
  • 51. ARPEGE GRID (used by Meteo-France) Christophe Cassou (CNRS/CERFACS) Similar to ISCCP grid, but with somewhat finer resolution. Grid is rotated with respect to the globe so as to put its poles somewhere other than at the North and South Pole. HDF/HDEOS Workshop XI, November 2007
  • 52. Data from Dave Randall, Todd Ringler, Ross Heikes of CSU Most geodesic grids appear to be formed by elaborating an icosahedron; each of the 20 faces of the icosahedron is subdivided into smaller triangles in a more or less obvious way.
  • 53. Data from Dave Randall, Todd Ringler, Ross Heikes of CSU
  • 54. Station data: contouring on a triangular mesh
  • 55.
  • 56. Triangular mesh from Brett D. Estrada, Naval Research Laboratory HDF/HDEOS Workshop XI, November 2007 Grid from Brett D. Estrada, Naval Research Laboratory
  • 57. Triangular mesh from Tom Gross NOAA/NOS/CSDL/MMAP
  • 58. Samples from VASPACKT Vectors and streamlines on a triangular mesh •  •  •  •  •  Developed by Dave Kennison Simple vectors Curly vectors Streamlines Examples use dummy data HDF/HDEOS Workshop XI, November 2007