

# findIndex # Find the HV tile number and row, column index for a given plate # carree location for 1km Copernicus Global Land products # no error handling performed, assume correct lon, lat value # lon (float) Longitude position # lat (float) Latitude position # reso (int) Resolution 1 = 112 pixels/degree (1km),
#Hdf4 reader for mac how to#
Or contact us to work out a concrete example.īelow sample program, written in Python language, illustrates how to calculate the tile number (H,V in the product filename) and row / column in the tile for a specific latitude and longitude coordinate. Make sure to use the XSLT (.xsl) file for nicer viewing.
#Hdf4 reader for mac software#
In several cases, the software makes assumptions of those values, but those are most often incorrect, leading to for instance the dataset being positioned wrongly on the map, or having incorrect spatial coverage area.Īs explained in the FAQ-question on product reformatting, there are software utilities to facilitate the format conversion:

This implies that, while the GIS/image processing software may use the HDF library to read the datasets from the file, it cannot read the geo-information (location on the map, pixel size, projection, etc.).

The current HDF file format is a generic container format and is not using the EOS metadata attributes.
