Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
scientificdata:start [2020/11/22 09:43] christianscientificdata:start [2021/09/01 15:28] – [Translating gridded data from seismic interpretation to GMT-compatible format] christian
Line 5: Line 5:
   * [[.:platetectonics:datatypecodes|PLATES data type codes]]   * [[.:platetectonics:datatypecodes|PLATES data type codes]]
   * [[.:platetectonics:birdplateboundaries|Peter Bird's 2002 plate boundaries for GMT]]   * [[.:platetectonics:birdplateboundaries|Peter Bird's 2002 plate boundaries for GMT]]
-  * [[.:geophysics:properties| Geophysical properties used in modelling and simple calculations]]+  * [[chhei:geophysics:properties| Geophysical properties used in modelling and simple calculations]]
   * [[.:FileFormats|File format specs for geological/geophysical data]] (evolving)   * [[.:FileFormats|File format specs for geological/geophysical data]] (evolving)
 +  * [[.:DE_HistoricalOilProduction| Historical oil production data from Germany]]
 +
 +
 +===== Tips and Tricks for data crunching =====
 +
 +
 +==== Translating gridded data from seismic interpretation to GMT-compatible format ====
 + 
 +From Petrel one can usually export ''ZMAP+'' formatted grids in a given projection. It pays off to use a projection which is GDAL/PROJ compatible so that one can simply use the [[https://epsg.io|EPSG]] codes to reproject grids. I found it easier to use the GDAL-stack instead of going forth and back using GMT and/or GIS. Here's the basic steps I usually go through:
 +
 +  - ''gdal_translate -of netCDF -a_srs EPSG:12345 INPUT_grd_UTM_zmap+.dat OUTPUT_grd_UTM.nc'' (chose from GDAL's exhaustive [[https://gdal.org/drivers/raster/index.html|raster drivers]] list)
 +  - Check whether the output is correct using ''gdalinfo OUTPUT_grd_UTM.nc''
 +  - Re-project grid using '' gdalwarp -t_srs EPSG:4326 OUTPUT_grd_UTM.nc OUTPUT_grd_EPSG4326.nc''
 +  - Run GMT-script on ''OUTPUT_grd_EPSG4326.nc''
 +
 +
  
-{{tag> Data Formats PlateTectonics GMT Geophysics}}