I'm working with a map data in the NetCDF format in QGIS but can't find a way to align it with a vector polygon.
Map sources:
- NetCDF raster (thk bands): https://zenodo.org/record/3604142#.YmERmPNBxqs – direct download: https://zenodo.org/record/3604142/files/alpcyc.1km.epic.pp.ex.1ka.nc?download=1
- World countries vector: https://www.naturalearthdata.com/downloads/10m-cultural-vectors/ – direct download: https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_admin_0_countries.zip
I tried various project CRS as well as projecting both the vector and the raster layer – without any success. the layers are out of proportion and in the wrong place.
My result:
How it should be positioned:
Best Answer
Using gdalinfo we can find the actual coordinate reference system of the NetCDF file:
gdalinfo alpcyc.1km.epic.pp.ex.1ka.nc -sd HDF5:"alpcyc.1km.epic.pp.ex.1ka.nc"://topg
Shows us the projection is (proj4):
proj4=+units=m +proj=utm +no_defs +zone=32 +a=6378137 +rf=298.257223563 +towgs84=0.000,0.000,0.000 +to_meter=1
In QGIS selecting WGS 84 UTM 32 N (EPSG:32632) gives us alignment: