NEON AOP: HDF5 to ENVI
Download NEON AOP tile
Make sure you have the h5py package installed in your Anaconda environment
conda install h5py
Execute the following command:
gdal_translate -of ENVI /path/NEON_xxxxx_reflectance.h5 -sds /path/NEON_xxxxx_reflectance_e
Output file will have dimensions 1000 rows x 1000 cols x 426 bands, with BSQ interleave
Map info will be UTM, Zone dependent on site, upper left corner with Northing and Easting in filename, pixel size 1 m
To get wavelengths, download this Python script: GetNEON_AOP_wvl.py
Change these two lines to match your data, then run the script:
filename = "/Volumes/1TB_DRIVE/Arctic/NEON/NEON_D18_BARR_DP3_587000_7915000_reflectance.h5"
site = 'BARR'
Also useful:
https://www.neonscience.org/resources/learning-hub/tutorials/neon-aop-hdf5-tile-py