1 / 12

HDF Explorer

HDF Explorer HDF-EOS Workshop IX San Francisco, CA November 30 - December 2, 2005 Pedro Vicente Nunes Space Research Software Inc. Urbana, IL. HDF Explorer. Version 1.4 just released New features: support for HDF5 Dimension Scales. Dimension Scales : HDF5 API C code.

ranae
Download Presentation

HDF Explorer

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. HDF ExplorerHDF-EOS Workshop IXSan Francisco, CANovember 30 - December 2, 2005 Pedro Vicente NunesSpace Research Software Inc.Urbana, IL

  2. HDF Explorer • Version 1.4 just released • New features: support for HDF5 Dimension Scales

  3. Dimension Scales : HDF5 APIC code • Example: I have an array of 12 elements organized in a 3 X 4 matrix

  4. Dimension Scales : HDF5 APIC code • But the spatial phenomenon I am trying to model has different width and height definitions X Y

  5. Dimension Scales : HDF5 APIC code My array data of 12 elements: int dset_data[12] = {1,2,3,4,5,6,7,8,9,10,11,12}; My X axis spatial domain: int X[4] = {10,20,50,100}; My Y axis spatial domain: int Y[3] = {10,20,30};

  6. Dimension Scales : HDF5 APIC code Save my arrays as HDF5 datasets with the High Level HDF5 API function H5LTmake_dataset_int (fid,“My data",rank,dims, dset_data);

  7. Dimension Scales : HDF5 APIC codefor the X and Y arrays H5LTmake_dataset_int (fid,“X axis",rankx,dimsx, X); H5LTmake_dataset_int (fid,“Y axis",ranky,dimsy, Y);

  8. Dimension Scales : HDF5 APICall H5DSattach_scale function /* get the DS dataset id and dataset*/ did = H5Dopen(fid,” My data”); dsid = H5Dopen(fid,” X axis”); /* attach the “ X axis” dimension scale to “My data" at dimension 0 */ H5DSattach_scale(did,dsid,DIM0);

  9. Dimension Scales : HDF5 APICall H5DSattach_scale function /* get the DS dataset id and dataset*/ did = H5Dopen(fid,” My data”); dsid = H5Dopen(fid,” X axis”); /* attach the “ X axis” dimension scale to “My data" at dimension 0 */ H5DSattach_scale(did,dsid,DIM0);

  10. HDF Explorer: Tree View

  11. HDF Explorer: Grid View

  12. HDF Explorer: Map View

More Related