Questions tagged [hdf5]

The Hierarchical Data Format version 5 (HDF5), is an open source file format that supports large, complex, heterogeneous data and uses a "file directory" like structure.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

gdalwarp() does not work to reproject OMI/Aura TOMS-Like Ozone data

I'm trying to convert the OMI/Aura TOMS-Like Ozone data provided in HDF5 to the GeoTIFF format using gdal_translate() in the R environment. gdal_translate() provided this unknown Extention. so I want ...
ASHIS SARKAR's user avatar
0 votes
1 answer
102 views

Unable to process HDF files in R due to unavailability of "gdalUtils" package

I have MODIS HDF files which have sinusoidal projection. I want to do three processes: Convert HDF files to TIFF Change projection from sinusoidal to WGS84 Creating subset of region of interest I am ...
Michael_Brun's user avatar
1 vote
1 answer
46 views

How to translating OMI PROFOZ ozone layer HDF5 to GeoTIFF?

I studied the article 'Lower tropospheric ozone over India and its linkage to the South Asian monsoon' and the article 'Validation of 10-year SAO OMI ozone profile (PROFOZ) product using Aura MLS ...
ASHIS SARKAR's user avatar
1 vote
0 answers
51 views

Get QGIS to understand dimensions in 3D raster

I want to open 3D raster data in a NetCDF file in QGIS 3.10.4 in Linux. I have a 3D matrix of dims (10000,5000,10) in a NetCDF-formated file. The first two dimensions correspond to longitude and ...
Ferny's user avatar
  • 21
7 votes
1 answer
349 views

Converting GEDI HDF5 LiDAR data to a format readable in GIS

Based on this code here that converts .h5 format into a shapefile, where 'all_samples_sum' feature was replaced with 'digital_elevation_model'. The code I used is based on this code. The error ...
Nasa_Milla's user avatar
0 votes
0 answers
87 views

How to store raster data in HDF5 format using h5py?

I'm trying to store many different types raster data (PRISM, LANDSAT, DEMS, etc). I'm using h5py and it is easy to add the raster itself to an hdf5 file but what I am struggling with is getting the ...
Nick C's user avatar
  • 37
0 votes
0 answers
16 views

Reference hdf5 data in VRTRawRasterBand

I have hdf5 data in this shape: nEastingPixel x nBands x nNorthingPixel I would like to create a vrt file, which references a specific band in that data cube. I tired with a SimpleSource, but this ...
user2343039's user avatar
0 votes
0 answers
41 views

Reference hdf5 in vrt

I have hdf5 data that has this shape: (nEastingPixel x nBands x nNorthingPixel) BIL. I'd like to have a vrt file, which references to a band in that data. However, the second dimension is interpreted ...
user2343039's user avatar
1 vote
1 answer
114 views

HDF5 coordinate reference system problem

I have a set of HDF5 files, and I would like to cut and convert them to tiff files, but I am having troubles with the coordinate reference system. An example file is: "HDF5_LSASAF_MSG_LST_MSG-...
Andrea's user avatar
  • 49
4 votes
0 answers
211 views

SMAP projection

I want to know how to convert the lat/lon fields in NASA's SMAP soil moisture data in HDF format to EPSG:4326. Lat/lon fields in the SMAP HDF files contain 'Latitude/longitude of the center of a 9-km ...
raraki's user avatar
  • 91
0 votes
0 answers
186 views

Process Sentinel-5p HDF5 / NetCDF to TIFF files but overlapping appears clearly between two files

I've used 2 Sentinel-5p scenes in HDF5 / NetCDF to GeoTIFF by GDAL like below: First, I extract the lat and lon coordinates from the HDF5 file. gdal_translate -of VRT HDF5:"...
Bằng Rikimaru's user avatar
0 votes
2 answers
420 views

Cannot use PROJ4 with gdal.Translate in Python

I'm trying to convert MCD12Q1 HDF5 product to GeoTiff. I extracted metadata from the file, and from this user guide I found the projection information as PROJ4: '+proj=sinu +a=6371007.181 +b=6371007....
gokdumano's user avatar
1 vote
0 answers
126 views

How to georeference HDF5 file with missing or wrong metadata

I'm trying to access data in a HDF5 file. I can access the data itself but the metadata, in particular the information to georeference the information, is still a problem. I had partial success in ...
Pythonist's user avatar
  • 337
2 votes
1 answer
812 views

How to convert from HDF5 to GeoTIFF with Python

I'm coming from Reading metadata in HDF5 file. I have a HDF5 file with some radar information. I'd like to read this data and geospatial metadata contained in the file to produce a GeoTIFF. Using the ...
Pythonist's user avatar
  • 337
5 votes
1 answer
3k views

Reading metadata in HDF5 file

I have a HDF5 file with a field of radar observations. I'd like to read this data and produce a GeoTiff that contains the spatial metadata. I can access the data, but I can't access the geographical ...
Pythonist's user avatar
  • 337
3 votes
1 answer
2k views

Gdal translate HDF5 to GeoTIFF library funtion

Im am trying to convert a radar file provided in HDF5 to a GeoTIFF using gdal.Translate() in my Python script. An example of the HDF5 file can be downloaded here I have already managed to get it ...
sam_cocha's user avatar
2 votes
0 answers
75 views

Load gzipped HDF5 layer without decompressing using GDAL

I am interested in loading a VIIRS raster that's contained in a gzipped H5 file, but I get an error. I am using the following command to get the info: gdalinfo HDF5:"/vsigzip/imagery/viirs/test3/...
Nikos's user avatar
  • 380
1 vote
1 answer
716 views

gdal_translate outputs coordinates in metres, but I need degrees

I wish to convert a HDF5 file into NetCDF, with the output NetCDF containing the selected band(s) and the latitudes and longitudes. The data provider gives this info about the original file: Table 2. ...
John's user avatar
  • 141
0 votes
1 answer
704 views

Write to GDAL raster to HDF5

Is there a way to write a GDAL raster to a HDF4 or HDF5 dataset using GDAL? I have found many examples that show how to read HDF datasets, but none on how to write them.
Forrest Williams's user avatar
0 votes
2 answers
3k views

Concatenate/combine specific data from multiple HDF5 files into a single CSV file in Python(with code for converting single hdf file to csv file) [closed]

Suppose I have multiple HDF5 files in my E:\NASA directory and want to compile/concatenate the lat (path in HDF5: xxx.HDF5/XS/FLG/latitude), long (path in HDF5: xxx.HDF5/XS/FLG/longitude) and ...
Weathercoding's user avatar
1 vote
2 answers
455 views

Extract subfiles from a HDF5 file?

Does anyone know how to extract subfiles from a HDF5 file? The GIS remote sensing data I am getting is aggregated into a single .h5 file, but I need it separated into the component files. My aim is ...
Brian Holmes's user avatar
1 vote
1 answer
66 views

Conversion of MLS/AURA RELATIVE HUMIDITY PRODUCT to correctly referenced GeoTIFF

I have downloaded the following product https://cmr.earthdata.nasa.gov/search/concepts/C1251101764-GES_DISC.html and it gives me a .he5file. Can anyone help me in correctly geo-referencing the file ...
raaj's user avatar
  • 285
6 votes
2 answers
2k views

Opening EOS netCDF4/HDF5 file with correct format using xarray?

I am using xarray (version 0.12.2) to work with the MODIS/Terra+Aqua MAIAC Land Aerosol Optical Depth dataset (MCD19A2.006). xarray successfully opens that dataset with the correct variables and ...
Kel Markert's user avatar
  • 1,108
2 votes
1 answer
484 views

GDALwarp HDF5 Image With Unknown Projection

I have a NetCDF file that contains a series of HDF5 bands. I am looking to project one of these bands contained within this file. I've attempted to use the following command to achieve this: gdalwarp ...
TornadoEric's user avatar
0 votes
1 answer
91 views

Determining Appropriate DBDB-V Subdataset

I am using DBDB-V v6.2 and GDAL, specifically the dbdbv6_level0c.h5 HDF5 file and the GDAL 2.3.3 C# binaries. Using these lines of code I can easily find the full list of Subdatasets used in the ...
OrangeWombat's user avatar
7 votes
1 answer
859 views

What is the schema of HEC-RAS output in HDF5 format?

I realize that HDF5 is a self describing format, and I can use a tool or programmatically find out what types of data groups exist in an HDF5 file. What I am really looking for are the group and data ...
BlueMax's user avatar
  • 118
3 votes
2 answers
809 views

PyQGIS (3.2) and H5PY DLL problem

I am working in a project in which I need to use PyQGIS and H5PY. The problem comes when I load qgis library and h5py, for example: import qgis import h5py I get this error: from ._conv import ...
serge's user avatar
  • 41
0 votes
1 answer
507 views

Displaying hdf5 file at correct location? [closed]

I have downloaded the INSAT-K1 VHR INSOLATION PRODUCT (https://mosdac.gov.in/catalog/doi/36). This is satellite data in hdf5 format. When I display the raster in either ArcGIS or QGIS it appears at ...
Diane Palmer's user avatar
0 votes
1 answer
1k views

Plotting and/or exporting VIIRS SDR DNB data as GeoTIFF in R?

I already asked this question @stackoverflow however, perhaps it fits better here, due to the spatial nature of VIIRS data and the hdf5-eos file format. Im looking into how to handle .h5 (hdf-eos) ...
dtanon's user avatar
  • 409
2 votes
1 answer
7k views

extract value for a given coordinate from HDF5 file

I have an HDF5 file of radiation data for the Indian Ocean region. I plotted the data in Python using the following code import h5py as h5 import matplotlib.pyplot as plt f = h5.File("D:\Nikka\Geo ...
Basil Tufail's user avatar
1 vote
0 answers
66 views

Loading MOPITT data into QGIS?

I have a problem importing Terra MOPITT data into QGIS (2.18) correctly. The data is in hdf5(HDFEOS) format. QGIS/GDAL imports the data, but the image is rotated by 90° and shifted. QGIS error: CRS ...
Simon Baier's user avatar
2 votes
1 answer
835 views

projecting INSAT3D L1B data from HDF5 to Geotiff

I am attempting to use gdal to project a set of geostationary INSAT 3D L1B images. I tried to follow the steps in Unable to warp HDF5 files I created the .vrt files using gdal_translate -of VRT ...
user104715's user avatar
1 vote
0 answers
159 views

Adding HDF data to a mosaic dataset

I am trying to add a couple of HDF rasters into a mosaic dataset, however no matter what I do I keep getting this error: This is a screenshot of my inputs: The raster processing and mosaic post-...
niklas24's user avatar
  • 573
0 votes
1 answer
94 views

Correct projection for LAI Copernicus?

I download data from http://land.copernicus.eu/global/products/lai?qt-lai_characteristics=5 and when I visualize it in ArcGIS I set epsg 3857, but scale is wrong and measure show pixel with ...
komy's user avatar
  • 391
3 votes
2 answers
4k views

How to get value for specific coordinates in R

I have a bunch of raster files in different formats: - NETCDF 4 - HDF 5 - GeoTIFF Using rgal package I'm able to open any of them and use them as objects in R! Creating stacks of them allows me to ...
matandked's user avatar
  • 681
2 votes
2 answers
2k views

What is the easiest way to create map using HDF-5 data subset?

I need to visualize some area using values provided in HDF-EOS version 5 file and create map using those values and other GIS layers. Unfortunately, my QGIS do not recognize the HDF5 file. Do I ...
matandked's user avatar
  • 681
4 votes
1 answer
2k views

Changing origin (top left corner) coordinates of raster using PyQGIS?

I am developing a python plugin for QGIS. The purpose of the plugin is to properly open an HDF5 dataset as a raster. Opening and displaying the raster can be done without the need for a plugin, ...
Adrian's user avatar
  • 41
1 vote
0 answers
852 views

Patch processing of multiple HDF5 files using Python and Gdal (gdalwarp)

I am trying to extend this process http://geoinformaticstutorial.blogspot.com/2014/06/reading-and-map-projecting-amsr-2-data.html wherein a set of raster data with separate geolocation arrays are ...
rakbar's user avatar
  • 91
4 votes
0 answers
7k views

HDF5 files in QGIS

I am working with GPM GMI precipitation data that is stored in the hdf5 data format. All I am trying to do is import and visualize the data in the QGIS environment. I can import the precipitation file ...
Kyle Peterson's user avatar
1 vote
0 answers
332 views

Multiple HDF5 files in single GDAL virtual raster

Does anyone know how to generate a single GDAL virtual raster linking multiple HDF5 files to each other? Each file represents different swaths of the globe with different lat/lon coordinates and data ...
rakbar's user avatar
  • 91
2 votes
1 answer
3k views

GDAL set negative values to nodata or NaN

How can I set all negative values in a raster to NaN or no data? I've made a virtual raster to link data and coordinates from a HDF5 then using something like this: gdalwarp -geoloc -tr 3000 3000 -...
rakbar's user avatar
  • 91
3 votes
2 answers
231 views

How to use a raster dataset to store and retrieve "vectors" using Python?

For a rectangular area of about 10 by 10 km, I have to generate "displacement vectors" with a 1 meter resolution (i.e. a delta-x and delta-y value for every cell of 1 by 1 meter). I will end up with ...
user avatar
1 vote
1 answer
2k views

How to open SMAP's Surface Moisture data files

I downloaded surface moisture data from Nasa's Soil Moisture Active Passive (SMAP) sensor website (https://nsidc.org/data/smap/smap-data.html). For each processing level (1-4), three types of files ...
Hakim's user avatar
  • 956
3 votes
1 answer
6k views

Opening HDF5 satellite images in GDAL with Python? [closed]

I want to read and open HDF5 satellite images by python for batch processing. How can I read and open both image bands and meta data? For batch processing I need to geo-reference and read IR bands. ...
Khandan's user avatar
  • 125
4 votes
3 answers
3k views

HDF5 and georeferencing?

I'm doing quite heavy processing of Earth Observation data, and it appears that a lot of my workflow can be speeded up by using HDF5 for local storage. I mostly work with large stacks of raster files, ...
Jose's user avatar
  • 3,302