HDF4 Processor is a Python tool designed for extracting, processing, and visualising satellite data stored in HDF4 format. It supports geospatial metadata parsing, dataset extraction, and mapping.
- Parses metadata from HDF4 XML files.
- Reads dataset contents from HDF4 files.
- Visualises geospatial data on a map.
- Modular structure for easy maintenance and extension.
Ensure you have Python installed, then install the required dependencies:
pip install -r requirements.txt
-
Download the dataset and metadata files: Obtain the HDF4 dataset and corresponding XML metadata files from a reliable source. For instance, you can use data from NASA's MISR Level 3 Data Browser.
-
Configure file paths: Edit the file paths for the metadata and dataset in
config.py
to match the location of the files you downloaded. -
Run the main script:
python main.py
The script will parse metadata, extract the dataset, and generate a visualisation.
MISR RCCM category count dataset plot (Feb 2000):