0

Working with QGIS 3.3.2. I have a shape file of country borders which I import as a vector, and an .nc file of air temperature that I import as a raster. Both use the EPSG 4326 CRS. However, as seen in the picture, they have different centerpoints, with the American continents appearing on the left of center in the shapes file and on the right of center in the temperature raster file.

Is there a way to change the wrap-around point such that the maps align?enter image description here

1

1 Answer 1

1

The issue is that the coordinates of the raster file are from 0 to 360 and need to be reset to -180 to 180. I used the cdo utility to output a new raster file with the adjusted coordinates: cdo sellonlatbox,-180,180,-90,90 original_raster_file.nc adjusted_raster_file.nc

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.