Working on hyper spectral activity

Still need to figure out
1. why are the dimensions of my data flipped when i import and hdf5
file?
2. When creating a raster, can R populate the extent from a LL xy?? Or
do i need to calculate the full extent?