SlideShare ist ein Scribd-Unternehmen logo
1 von 30
Downloaden Sie, um offline zu lesen
PRACTICAL METHODS FOR
MAKING HDF DATA USABLE IN
NETCDF-BASED TOOLS
Chris Lynnes and Fan Fang
Goddard Earth Sciences
Data and Information Services Center

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009
1
Panoply
IDV

GrADS

Ferret

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

2
2
"And then a
miracle occurs..."

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

Unidata IDV

3

3
IDV with HDF-EOS5 “self-describing format”

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

4
4
IDV with HDF-EOS5 “self-describing format”

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

4
4
Panoply w/HDF5

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

5
5
Ferret and GrADS with HDF-EOS5

*Can be opened if user defines dimensions and uses xdfopen
HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

6
6
Solution #1: Convert to netCDF
• On-the-fly conversion to netCDF-3
• Custom C++ code
• Acquiring the URL executes the conversion and
downloads the file

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

7
7
Panoply w/converted AIRS L3

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

8
8
IDV w/Converted AIRS L2
Surface Air Temperature

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

9
9
But...
• Custom C++ code is expensive to maintain
• Z dimension scale values are hard to find in AIRS
data
–
–
–
–

vdatas w/non-standard names
external documents
therefore: hard-coded in C++ class
if only we could attach standard Z dimscales to the SDS

• New class for each dataset

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

10
10
Solution #2: Lats4D Conversion
• Essentially a GrADS script from Arlindo DaSilva, NASA/GSFC/
GMAO
• Same on-the-fly mechanism as NetCDF converter
• If you can read it into GrADS, you can convert it (usually)
– Dimensions can be defined in GrADS control file
– Limited to L3 and L4 gridded products
– Handles both HDF-EOS and HDF
• Also supports subsetting

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

11
11
TRMM Monthly (May 2009) in Panoply
Lats4D Conversion + Subset

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

12
12
Solution #3: OGC Web Coverage Service
• OGC WCS with netCDF/CF-1 profile
–
–
–
–

Supports subsetting
But: “prefers” interpolation to user’s resolution
Requests are difficult for users to submit
Works better for machine-to-machine interfaces
• DataFed
• DLR

– Using GMU-developed WCS Server

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

13
13
AIRS L3 via WCS in Panoply

wget -O airs_wcs.nc 'http://acdisc.sci.gsfc.nasa.gov/daac-bin/wcsAIRSL3?VERSION=1.0.0&SERVICE=WCS
&REQUEST=getCoverage&FORMAT=NetCDF&COVERAGE=AIRX3STD:ascending:TotCldLiqH2O_A
&BBOX=-179.5,-89.5,179.5,89.5&TIME=2007-04-07/2007-04-07/P1D&CRS=CRS:84&RESX=1.0&RESY=1.0'
HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

14
14
Solution #4: OPeNDAP
• HDF handlers
– Released HDF5 version supports L3 grid
– New HDF4 and HDF5 version supports
• HDF4
• L2 swath

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

15
15
OPeNDAP Usability Results
IDV Panoply Ferret GrADS
✓

Comments
exc. AIRX3C2M

✓

latest version only

AIRS L3

✓

✓

MODIS L3

✓

✓

OMI L3

✓

✓

✓

✓

TOMS L3

✓

✓

✓

AIRS L2

✓

✓

✓

✓
x

✓

x
x
x

✓

x

HIRDLS L2
MLS L2
MODIS L2

✓

OMI L2

✓

HDF Workshop
Thursday, November 5, 2009

✓

✓

5 Nov 2009

so far: MOD04, MOD07
exc. OMIBRO, OMHCO,
OMOCLO, OMUVB

16
16
OMI L3 NearUV AAOD via OPeNDAP
in Panoply

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

17
17
(but watch out for fast rendering in IDV)

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

18
18
IDV w/fast rendering off

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

19
19
Panoply w/MODIS L2 via new OPeNDAP
HDF4 handler

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

20
20
Panoply w/AIRS L2 via new OPeNDAP
HDF4 Handler

• Cool..but who projected the data and how?
HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

21
21
Solution #5: GrADS Data Server
• DAP protocol, but data read by GrADS
– Sort of like an OPeNDAP with a GrADS handler
– If you can read it in in GrADS...

• Includes time aggregation
– (Not always a good thing)

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

22
22
MERRA via GDS in Panoply

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

23
23
Solution #6?: netcdf library
MERRA HDF Subset from Lats4D in Panoply

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

24
24
netcdf libraries
• netcdf-java library can read some HDF files
– But not HDF-EOS...
• Tried adding lat/long dimscales to an HDF-EOS2 grid, to
no avail

– Except for an MLS L3 HDF-EOS5
• (not a standard product)

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

25
25
Panoply, using netcdf-java
w/ MLS L3, HDF-EOS5

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

26
26
Can we make netcdf libraries read
HDF-EOS?
• Might require joint effort between UCAR, THG
and tool developers to develop and debug...
• OR, solution might emerge from HDF-EOS5 /
netCDF-4 Augmentation effort
• ...BUT
– could make a lot of conversions unnecessary
– would make data usage much easier for users

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

27
27
Trade Space

OPeNDAP

Cons
Costly
Data size expansion
L3/L4 grid only
Slow
Interpolation
Costly
Reprojects L2 swath

netcdf library

L3/L4 only
Slow
HDF-EOS

Custom C++
Conversion
Lats4D Conversion
WCS

Pros
L2 swath + L3/L4 grid
Fast
Easy to add
HDF + HDF-EOS
Subsetting

L2 swath + L3/L4 grid
Efficient
Inexpensive
GrADS Data Server HDF + HDF-EOS

HDF Workshop
Thursday, November 5, 2009

Enables many tools
Obsoletes conversion
5 Nov 2009

28
28
Future of HDF-netCDF Tool
Interoperability: Key Challenges
• Level 1b data (calibrated radiance)
– How should we fit the channel/wavelength dimension
into CF1?

• Level 2 in native swath coordinates
• netCDF library direct access to HDF-EOS
• Non-self-describing implementations of HDF
– e.g., NPP

HDF Workshop
Thursday, November 5, 2009

5 Nov 2009

29
29

Weitere ähnliche Inhalte

Mehr von The HDF-EOS Tools and Information Center

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...The HDF-EOS Tools and Information Center
 

Mehr von 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
 
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 - 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
 

Kürzlich hochgeladen

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
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.pdfUK Journal
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
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 CVKhem
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
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 textsMaria Levchenko
 
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...Enterprise Knowledge
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
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 organizationRadu Cotescu
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
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 2024Rafal Los
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
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.pptxHampshireHUG
 

Kürzlich hochgeladen (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
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
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
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
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
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
 
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...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
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
 

Practical Methods for Making HDF Data Usable by NetCDF-based Tools

  • 1. PRACTICAL METHODS FOR MAKING HDF DATA USABLE IN NETCDF-BASED TOOLS Chris Lynnes and Fan Fang Goddard Earth Sciences Data and Information Services Center HDF Workshop Thursday, November 5, 2009 5 Nov 2009 1
  • 3. "And then a miracle occurs..." HDF Workshop Thursday, November 5, 2009 5 Nov 2009 Unidata IDV 3 3
  • 4. IDV with HDF-EOS5 “self-describing format” HDF Workshop Thursday, November 5, 2009 5 Nov 2009 4 4
  • 5. IDV with HDF-EOS5 “self-describing format” HDF Workshop Thursday, November 5, 2009 5 Nov 2009 4 4
  • 6. Panoply w/HDF5 HDF Workshop Thursday, November 5, 2009 5 Nov 2009 5 5
  • 7. Ferret and GrADS with HDF-EOS5 *Can be opened if user defines dimensions and uses xdfopen HDF Workshop Thursday, November 5, 2009 5 Nov 2009 6 6
  • 8. Solution #1: Convert to netCDF • On-the-fly conversion to netCDF-3 • Custom C++ code • Acquiring the URL executes the conversion and downloads the file HDF Workshop Thursday, November 5, 2009 5 Nov 2009 7 7
  • 9. Panoply w/converted AIRS L3 HDF Workshop Thursday, November 5, 2009 5 Nov 2009 8 8
  • 10. IDV w/Converted AIRS L2 Surface Air Temperature HDF Workshop Thursday, November 5, 2009 5 Nov 2009 9 9
  • 11. But... • Custom C++ code is expensive to maintain • Z dimension scale values are hard to find in AIRS data – – – – vdatas w/non-standard names external documents therefore: hard-coded in C++ class if only we could attach standard Z dimscales to the SDS • New class for each dataset HDF Workshop Thursday, November 5, 2009 5 Nov 2009 10 10
  • 12. Solution #2: Lats4D Conversion • Essentially a GrADS script from Arlindo DaSilva, NASA/GSFC/ GMAO • Same on-the-fly mechanism as NetCDF converter • If you can read it into GrADS, you can convert it (usually) – Dimensions can be defined in GrADS control file – Limited to L3 and L4 gridded products – Handles both HDF-EOS and HDF • Also supports subsetting HDF Workshop Thursday, November 5, 2009 5 Nov 2009 11 11
  • 13. TRMM Monthly (May 2009) in Panoply Lats4D Conversion + Subset HDF Workshop Thursday, November 5, 2009 5 Nov 2009 12 12
  • 14. Solution #3: OGC Web Coverage Service • OGC WCS with netCDF/CF-1 profile – – – – Supports subsetting But: “prefers” interpolation to user’s resolution Requests are difficult for users to submit Works better for machine-to-machine interfaces • DataFed • DLR – Using GMU-developed WCS Server HDF Workshop Thursday, November 5, 2009 5 Nov 2009 13 13
  • 15. AIRS L3 via WCS in Panoply wget -O airs_wcs.nc 'http://acdisc.sci.gsfc.nasa.gov/daac-bin/wcsAIRSL3?VERSION=1.0.0&SERVICE=WCS &REQUEST=getCoverage&FORMAT=NetCDF&COVERAGE=AIRX3STD:ascending:TotCldLiqH2O_A &BBOX=-179.5,-89.5,179.5,89.5&TIME=2007-04-07/2007-04-07/P1D&CRS=CRS:84&RESX=1.0&RESY=1.0' HDF Workshop Thursday, November 5, 2009 5 Nov 2009 14 14
  • 16. Solution #4: OPeNDAP • HDF handlers – Released HDF5 version supports L3 grid – New HDF4 and HDF5 version supports • HDF4 • L2 swath HDF Workshop Thursday, November 5, 2009 5 Nov 2009 15 15
  • 17. OPeNDAP Usability Results IDV Panoply Ferret GrADS ✓ Comments exc. AIRX3C2M ✓ latest version only AIRS L3 ✓ ✓ MODIS L3 ✓ ✓ OMI L3 ✓ ✓ ✓ ✓ TOMS L3 ✓ ✓ ✓ AIRS L2 ✓ ✓ ✓ ✓ x ✓ x x x ✓ x HIRDLS L2 MLS L2 MODIS L2 ✓ OMI L2 ✓ HDF Workshop Thursday, November 5, 2009 ✓ ✓ 5 Nov 2009 so far: MOD04, MOD07 exc. OMIBRO, OMHCO, OMOCLO, OMUVB 16 16
  • 18. OMI L3 NearUV AAOD via OPeNDAP in Panoply HDF Workshop Thursday, November 5, 2009 5 Nov 2009 17 17
  • 19. (but watch out for fast rendering in IDV) HDF Workshop Thursday, November 5, 2009 5 Nov 2009 18 18
  • 20. IDV w/fast rendering off HDF Workshop Thursday, November 5, 2009 5 Nov 2009 19 19
  • 21. Panoply w/MODIS L2 via new OPeNDAP HDF4 handler HDF Workshop Thursday, November 5, 2009 5 Nov 2009 20 20
  • 22. Panoply w/AIRS L2 via new OPeNDAP HDF4 Handler • Cool..but who projected the data and how? HDF Workshop Thursday, November 5, 2009 5 Nov 2009 21 21
  • 23. Solution #5: GrADS Data Server • DAP protocol, but data read by GrADS – Sort of like an OPeNDAP with a GrADS handler – If you can read it in in GrADS... • Includes time aggregation – (Not always a good thing) HDF Workshop Thursday, November 5, 2009 5 Nov 2009 22 22
  • 24. MERRA via GDS in Panoply HDF Workshop Thursday, November 5, 2009 5 Nov 2009 23 23
  • 25. Solution #6?: netcdf library MERRA HDF Subset from Lats4D in Panoply HDF Workshop Thursday, November 5, 2009 5 Nov 2009 24 24
  • 26. netcdf libraries • netcdf-java library can read some HDF files – But not HDF-EOS... • Tried adding lat/long dimscales to an HDF-EOS2 grid, to no avail – Except for an MLS L3 HDF-EOS5 • (not a standard product) HDF Workshop Thursday, November 5, 2009 5 Nov 2009 25 25
  • 27. Panoply, using netcdf-java w/ MLS L3, HDF-EOS5 HDF Workshop Thursday, November 5, 2009 5 Nov 2009 26 26
  • 28. Can we make netcdf libraries read HDF-EOS? • Might require joint effort between UCAR, THG and tool developers to develop and debug... • OR, solution might emerge from HDF-EOS5 / netCDF-4 Augmentation effort • ...BUT – could make a lot of conversions unnecessary – would make data usage much easier for users HDF Workshop Thursday, November 5, 2009 5 Nov 2009 27 27
  • 29. Trade Space OPeNDAP Cons Costly Data size expansion L3/L4 grid only Slow Interpolation Costly Reprojects L2 swath netcdf library L3/L4 only Slow HDF-EOS Custom C++ Conversion Lats4D Conversion WCS Pros L2 swath + L3/L4 grid Fast Easy to add HDF + HDF-EOS Subsetting L2 swath + L3/L4 grid Efficient Inexpensive GrADS Data Server HDF + HDF-EOS HDF Workshop Thursday, November 5, 2009 Enables many tools Obsoletes conversion 5 Nov 2009 28 28
  • 30. Future of HDF-netCDF Tool Interoperability: Key Challenges • Level 1b data (calibrated radiance) – How should we fit the channel/wavelength dimension into CF1? • Level 2 in native swath coordinates • netCDF library direct access to HDF-EOS • Non-self-describing implementations of HDF – e.g., NPP HDF Workshop Thursday, November 5, 2009 5 Nov 2009 29 29