I have two MODIS evapotranspiration rasters and their information is given below.
Desirable raster extents:
Erratic raster extents:
I want to change the erratic raster extent to desirable raster extent. How can I do this?
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.
Sign up to join this communityI think this has to do with the raster data projection. The desired raster extent is in a Geographic Coordinate Reference System ( CRS) ,while the erratic is in a projected CRS. Kindly reproject the raster data to get your desired results. The tool to use is the Warp tool which you can access in QGIS from menu bar>raster>projection>Warp. It's easy to use but you could check this YouTube video for the steps: https://youtu.be/6HkMxDijgbs.
As others have noted, the second raster is in a projected coordinate system but the CRS attached to it is a geographic one. The solution is changing the CRS to a projected one, where the coordinates will be expressed in meters (UTM CRS perhaps) and then reprojecting the raster to EPSG:4326 if this is needed.
To reformulate, the coordinates encoded in the raster are in meters while a CRS with degree units is attached to it. You need to attach the right CRS to the raster. Reprojecting will not fix the problem.