SlideShare uma empresa Scribd logo
1 de 30
Baixar para ler offline
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

Mais conteĂșdo relacionado

Mais de 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
 

Mais 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
 
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
 

Último

Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...gurkirankumar98700
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
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 MenDelhi Call girls
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
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 AutomationSafe Software
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
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
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
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.pptxEarley Information Science
 
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 RobisonAnna Loughnan Colquhoun
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
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 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
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 

Último (20)

Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
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
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 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
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
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
 
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
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
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 🐘
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
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 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...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 

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