I have soil data and BioClim data from Australia
soil data:
rows 2200
columns 1400
pixel size 0.0025, -0.0025 255
BioClim data:
rows 660
columsn 420
pixel size 0.00833333, -0.00833333
I am using QGIS but happy to use commandline or Python. How can I resample the soil data to match the pixel size of the BioClim data? I would like to add this to my Maxent model and I am sure it needs to be the same resolution.
I have looked for duplicate questions but could not see anything that specifically did this.
'gdalwarp -of VRT -r average -tr 0.00833333,0.00833333 soils1.asc interim.vrt' then 'gdal_translate -of AAIGrid interim.vrt soils.asc'
However Maxent still won't run on these files as it gives an error "Bio1_49_new.asc and soils.asc have different dimensions"
– SteveResearch Jan 16 '16 at 15:06#DRIVER# GDAL provider AAIGrid Arc/Info ASCII Grid #DATASET DESCRIPTION# Bio1_49_new.asc #DIMENSIONS# X: 660 Y: 420 Bands: 1 #ORIGIN# 114.5,-32 #PIXEL SIZE# 0.00833333,-0.00833333 #NO DATA VALUE# -9999 #DATA TYPE# Float64 - Sixty four bit floating point #LAYER SPATIAL REFERENCE SYSTEM# +proj=longlat +datum=WGS84 +no_defs #LAYER EXTENT (layer original source protection)# 114.5000000000029985,-35.5000000000029985 : 119.9999999997830002,-32.0000000001429967
– SteveResearch Jan 16 '16 at 15:07#DRIVER# GDAL provider AAIGrid Arc/Info ASCII Grid #DATASET DESCRIPTION# soils.asc #DIMENSIONS# X: 660 Y: 420 Bands: 1 #ORIGIN# 114.5,-32 #PIXEL SIZE# 0.00833333,-0.00833333 #NO DATA VALUE# -9999 #DATA TYPE# Float64 - Sixty four bit floating point #LAYER SPATIAL REFERENCE SYSTEM# +proj=longlat +datum=WGS84 +no_defs #LAYER EXTENT (layer original source protection)# 114.4999990000000025,-35.4999893999999969 : 119.9999968000000052,-31.9999907999999955
– SteveResearch Jan 16 '16 at 15:07gdal_translate -a_ullr 114.5 -30 120 -35.5on both files as well. I have no experience with MaxEnt. – AndreJ Jan 16 '16 at 17:50