### Spatial distribution of demersal and pelagic fishes in the wider Weddell Sea (Antarctica) ### Data downloaded from https://doi.org/10.1594/PANGAEA.899591 on 2025-05-16 Teschke, Katharina; Pehlke, Hendrik; Brey, Thomas (2019): Spatial distribution of demersal and pelagic fishes in the wider Weddell Sea (Antarctica) with links to ArcGIS map packages [dataset]. PANGAEA, https://doi.org/10.1594/PANGAEA.899591 ### Processing steps 1. Reproject Adult Toothfish occurrence probability to EPSG:3031, rasterize, convert to Cloud-Optimised-Geotiff ogr2ogr -t_srs EPSG:3031 toothfish_3031.shp toothfish.shp gdal_rasterize -a gridcode -a_nodata -9999 -tr 500 500 -ot Byte -co COMPRESS=DEFLATE toothfish_3031.shp output.tif 2. Rescale Demersal Fish habitat suitability 0-1 2a) Calculate the maximum value for rescaling gdalinfo -stats demersalfish.tif (equals 987.59375) 2b) Rescale 0-1 by dividing by maximum value, set suitable NoDataValue gdal_calc --NoDataValue=-9999 --outfile=rescaled.tif -A demersalfish.tif --calc="numpy.where(A==0, 3.4e38, A / 987.59375)" 3. Convert Antarctic Silverfish abundance from log10(individuals / 10000 m2) to individuals / m2 gdal_calc -A antarctic_silverfish.tif --outfile=Antarctic_silverfish_nolog.tif --calc="10**A / 1000" --NoDataValue=-3.4e38 --co COMPRESS=DEFLATE 4. Reproject all rasters to EPSG:3031 and convert to Cloud-Optimised-Geotiff gdal_translate -of COG -co COMPRESS=DEFLATE input.tif output.tif