Python and HDF5 [NOOK Book]

Overview

Gain hands-on experience with HDF5 for storing scientific data in Python. This practical guide quickly gets you up to speed on the details, best practices, and pitfalls of using HDF5 to archive and share numerical datasets ranging in size from gigabytes to terabytes.


Through real-world examples and practical exercises, you’ll explore topics such as scientific datasets, hierarchically organized groups, user-defined metadata, and interoperable ...

See more details below
Python and HDF5

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$13.49
BN.com price
(Save 43%)$23.99 List Price

Overview

Gain hands-on experience with HDF5 for storing scientific data in Python. This practical guide quickly gets you up to speed on the details, best practices, and pitfalls of using HDF5 to archive and share numerical datasets ranging in size from gigabytes to terabytes.


Through real-world examples and practical exercises, you’ll explore topics such as scientific datasets, hierarchically organized groups, user-defined metadata, and interoperable files. Examples are applicable for users of both Python 2 and Python 3. If you’re familiar with the basics of Python data analysis, this is an ideal introduction to HDF5.

  • Get set up with HDF5 tools and create your first HDF5 file
  • Work with datasets by learning the HDF5 Dataset object
  • Understand advanced features like dataset chunking and compression
  • Learn how to work with HDF5’s hierarchical structure, using groups
  • Create self-describing files by adding metadata with HDF5 attributes
  • Take advantage of HDF5’s type system to create interoperable files
  • Express relationships among data with references, named types, and dimension scales
  • Discover how Python mechanisms for writing parallel code interact with HDF5
Read More Show Less

Product Details

  • ISBN-13: 9781491945001
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 10/21/2013
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 152
  • Sales rank: 862,435
  • File size: 2 MB

Meet the Author

Andrew Collette holds a Ph.D. in physics from UCLA, and works as a laboratory research scientist at the University of Colorado. He has worked with the Python-NumPy-HDF5 stack at two multimillion-dollar research facilities; the first being the Large Plasma Device at UCLA (entirely standardized on HDF5), and the second being the hypervelocity dust accelerator at the Colorado Center for Lunar Dust and Atmospheric Studies, University of Colorado at Boulder. Additionally, Dr. Collette is a leading developer of the HDF5 for Python (h5py) project.

Read More Show Less

Table of Contents

Preface;
Conventions Used in This Book;
Using Code Examples;
Safari® Books Online;
How to Contact Us;
Acknowledgments;
Chapter 1: Introduction;
1.1 Python and HDF5;
1.2 What Exactly Is HDF5?;
Chapter 2: Getting Started;
2.1 HDF5 Basics;
2.2 Setting Up;
2.3 The HDF5 Tools;
2.4 Your First HDF5 File;
Chapter 3: Working with Datasets;
3.1 Dataset Basics;
3.2 Reading and Writing Data;
3.3 Resizing Datasets;
Chapter 4: How Chunking and Compression Can Help You;
4.1 Contiguous Storage;
4.2 Chunked Storage;
4.3 Setting the Chunk Shape;
4.4 Performance Example: Resizable Datasets;
4.5 Filters and Compression;
4.6 Other Filters;
4.7 Third-Party Filters;
Chapter 5: Groups, Links, and Iteration: The "H" in HDF5;
5.1 The Root Group and Subgroups;
5.2 Group Basics;
5.3 Working with Links;
5.4 Iteration and Containership;
5.5 Multilevel Iteration with the Visitor Pattern;
5.6 Copying Objects;
5.7 Object Comparison and Hashing;
Chapter 6: Storing Metadata with Attributes;
6.1 Attribute Basics;
6.2 Real-World Example: Accelerator Particle Database;
Chapter 7: More About Types;
7.1 The HDF5 Type System;
7.2 Integers and Floats;
7.3 Fixed-Length Strings;
7.4 Variable-Length Strings;
7.5 Compound Types;
7.6 Complex Numbers;
7.7 Enumerated Types;
7.8 Booleans;
7.9 The array Type;
7.10 Opaque Types;
7.11 Dates and Times;
Chapter 8: Organizing Data with References, Types, and Dimension Scales;
8.1 Object References;
8.2 Region References;
8.3 Named Types;
8.4 Dimension Scales;
Chapter 9: Concurrency: Parallel HDF5, Threading, and Multiprocessing;
9.1 Python Parallel Basics;
9.2 Threading;
9.3 Multiprocessing;
9.4 MPI and Parallel HDF5;
Chapter 10: Next Steps;
10.1 Asking for Help;
10.2 Contributing;
Index;
Colophon;
Read More Show Less

Customer Reviews

Average Rating 5
( 2 )
Rating Distribution

5 Star

(2)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 2 Customer Reviews
  • Anonymous

    Posted April 28, 2014

    Alex

    Start slowly but goes faster and harder you moan in great pleasur

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted April 28, 2014

    Sally

    Eventually passes out.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 2 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)