Pyhdiff: Display the differences between two HDF4 files

Language/Format: Numpy, Python
Application type(s): Analysis
Related project(s):

Description

This pure python script computes and displays the differences between two HDF4 files (and netcdf3 if the HDF4 library is compiled with the netcdf support enabled). Its supports :

  • global and SDS metatada
  • SDS data

For SDS, it does not show which pixels are different but computes statistics on the whole data values : mean, standard deviation and min/max of the difference.

Limitation

Only differences of metadata and SDS are supported. No support for VDATA, VGROUPS… is currently provided

Usage

 Usage :
   python pyhdiff.py' <file1> <file2> [<enable_data_compare>]
 
 With :
   <file1> a HDF4 or netcdf file [REQUIRED]
   <file2> a HDF4 or netcdf file [REQUIRED]
   <enable_data_compare> either 0 or 1&nbsp;: activate or not data comparison. Enabled by default [OPTIONAL]

Download

Sources can be downloaded here :

pyhdiff.v1.0.0.tar.gz

Package can be browsed here :

pyhdiff

Prerequisites

  • python >= 2.5
  • HDF4 >= 4.2.r1
  • numpy >= 1.2.1
  • pyhdf >= 0.8.3

Earlier versions probably works but does not have been tested

Copyright

Copyright (C) 2011 Icare – ICARE web site

AUTHORS HERE

This program is a free software; you can redistribute it and/or modify it under the terms of the CeCILL Public License as published by www.cecill.info (License version 2 or later).

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the CeCILL Public License for more details.

You should have received a copy of the CeCILL Public License along with this program; if not, please contact www.cecill.info

For any questions or concerns regarding this program, or general information about the ICARE Project, please email to contact@icare.univ-lille.fr

 

Author(s): Nicolas Pascal (HYGEOS/ICARE)

More news

Development Tools

HDF5 reader: HDF5 files read library in many languages

Language/Sofware: C, Fortran, IDL, MATLAB, Python
Application type(s): Data Read/Write
Related project(s):
Description:
The library contains high-level read functions for HDF5 files in R and MATLAB.
Author(s): Aminata Ndiaye (CGTD)

25.08.2014

Development Tools

SSMIS tools: Useful Python software for reading SSMI binary files

Language/Sofware: Numpy, Python
Application type(s): Data Conversion, Data Read/Write
Related project(s):
Description:
This tool is a reading Python software for SSMI binary files consisting in some headers followed by records with the same pattern (Headers and record patterns are described in text files: ./conf/).
Datasets are returned as Numpy arrays and write in HDF4 file.
Author(s): Nicolas Henriot. Bruno Six (ICARE)

27.02.2014

Development Tools

SSMI_TOOLS: Useful Python software for reading SSMI binary files

Language/Sofware: Numpy, Python
Application type(s): Data Conversion, Data Read/Write
Related project(s):
Description:
This tool is a reading Python software for SSMI binary files consisting in some headers followed by records with the same pattern (Headers and record patterns are described in text files: ./conf/).
Datasets are returned as Numpy arrays and write in HDF4 file.
Author(s): Nicolas Henriot. Bruno Six (ICARE)

26.02.2014

Search

Dear AERIS/ICARE Users,

a maintenance operation is scheduled from Tuesday, February 17, 2026 at 5:00 PM CEST to Thursday, February 19 in the morning.

The access to the computing cluster (ACCESS server) will be interrupted during this period.

We apologize for any inconvenience this may cause.

Best regards,

The AERIS/ICARE Team