Questions tagged [hdf]
Hierarchical Data Format (HDF) is a set of file formats (HDF4, HDF5) designed to store and organize large amounts of numerical data.
123 questions
1 vote
0 answers
21 views
QGIS Python Console: Same PNG output for multiple .h5 raster files after cropping to fixed extent
I’m processing multiple .h5 raster files in the QGIS Python Console. For each file, I: Open the first subdataset using GDAL Convert it to a .tif using gdal.Translate, assigning geolocation based on ...
0 votes
1 answer
116 views
QGIS / SCP plugin / Aster function / hdf file / Error 37 Unable to calculate. Metadata error
I have a blocking problem with the SCP plugin under QGIS when I try to load a .hdf file via the ASTER functionality. When loading my hdf file (selecting the destination folder), I get the following ...
1 vote
0 answers
155 views
Georeference Suomi-NPP NRT HDF to GeoTIFF
I am trying to georeference Suomi-NPP VNP09_NRT (Near Real Time) data that is in HDF format (example) to GeoTIFF using only GDAL. Currently, this is my code: def georeference_array(array, ...
0 votes
1 answer
415 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 ...
0 votes
1 answer
94 views
Python and GDAL. Missing a dimension when using .ReadAsArray()
I'm using MODIS satellite data and I'm loading the data into Python using the Python bindings of GDAL. I want to extract an array of a specific variable with dimensions 7x8x180x360. They are joint ...
1 vote
1 answer
137 views
Plotting CALIPSO data in R
I am trying to plot one subdataset of CALIPSO which is in hdf format using R. The data is totally new to me as it's LiDAR data. I am not able to understand how to plot a graph between backscatter ...
0 votes
0 answers
221 views
How to convert HDF file to GeoTIFF in batch using HEG tool
I have 116 MODIS image in HDF format, I want to convert it to GeoTIFF format using HEG tool. How do I convert this multiple files at once?
0 votes
0 answers
309 views
Unable to add HDF file in QGIS on Mac OS
I am using QGIS 3.28.1 Firenze version on Mac. After adding a hdf file, the following pop-ups are displayed: Unsupported Data Source or Invalid data source. The LULC data sets are retrieved from the ...
0 votes
0 answers
1k views
Convert GeoTIFF to HDF using gdal
Is it possible to use gdal_translate to convert a GeoTIFF to HDF format? According to the format description: $ gdalinfo --formats | grep HDF HDF4 -raster,multidimensional raster- (ros): ...
0 votes
1 answer
590 views
How to interpret "AOD_QA" layer of MCD19A2?
I read hdf data using MATLAB, qa = hdfread("MCD19A2.A2003060.h28v04.006.2018018233855.hdf","AOD_QA"); According to page 13 of the user guide (MODIS Multi-Angle Implementation of ...
1 vote
0 answers
307 views
Convert format HDF to 2D NetCDF
I need to convert an HDF to NetCDF. In the version 2.18 I used to go to Raster-Conversion-and convert, and changing in the console to change 'GMT' by 'netcdf', which allowed me to obtain a 2D .nc. ...
5 votes
1 answer
830 views
Converting HDF to TIFF using batch processing with gdal_translate
I have a huge MODIS dataset and I need to translate them to tiff from hdf. My input path is: C:\Users\HP\Desktop\deneme\ham_veri and hopefully, the output path is: C:\Users\HP\Desktop\deneme\yeni This ...
0 votes
0 answers
189 views
GDAL changes pixel resolution when transforming from HDF to netCDF
Using the MODIS product MCD18A1.061 (DSR 1km), tile h15v05-2001001, my goal is to extract the scientific datasets that are contained in an HDF to several netCDFs. For this, I used the following gdal ...
0 votes
0 answers
1k views
Extracting NDVI values from MODIS datasets in R
Firstly, I'll provide a bit of context behind my question. I've been reading a paper about bushfire modelling, and the paper uses the MODIS datasets (this is my first time learning about them). In ...
0 votes
0 answers
213 views
Loading Coordinates without shp file but prj, cpg, hdf, xml
I want to import the grids for pixel tiles of a MODIS data set and received the data for that from someone else. However, it does not contain a .shp file but only .prj, .cpg., .hdf and .xml. Is there ...