AWK and GNU Octave Programming Languages Integrated with Generic Mapping Tools for Geomorphological Analysis

GeoScience Engineering, Vol. 65, No. 4, pp. 1-22, 2019. DOI: 10.35180/gse-2019-0020

22 Pages Posted: 8 Jan 2020

See all articles by Polina Lemenkova

Polina Lemenkova

Schmidt Institute of Physics of the Earth, Russian Academy of Sciences

Date Written: December 16, 2019

Abstract

The paper presents a sequential use of the AWK and GNU Octave programming languages integrated with Generic Mapping Tools (GMT) for geospatial data analysis. The geographic scope of the research is focused on the Kuril-Kamchatka Trench, north Pacific Ocean. Practical research aim is to analyse and compare bathymetry in the southern and northern part of the trench using digitized cross-section profiles. The initial mapping and geospatial analysis was performed in GMT scripting toolset. The GMT was used for cartographic mapping based on the raster ETOPO1 grid and automatic digitizing of the profiles crossing the trench perpendicularly. Besides visualized map, the processed geodata were received in a numerical form as a complex multi-field table for each segment. These tables were generated by the GMT in its native format and could not be directly processed by the MATLAB/Octave. Therefore, the tables were exported to AWK, a data-driven programming language and a powerful tool for data extraction. The table was then restructured, sorted and reshaped by the AWK script. Because the total amount of profiles overstepped 100 (62 and 52 for the northern and southern trench segments), only selected profiles were visualized. For this purpose, at the next step the modified tables were converted to GNU Octave language for visualizing and plotting selected profiles. Finally, the geomorphology was analysed and two segments compared. The results show that the southern part has deeper bathymetric values, vary in geomorphic structure and has steeper gradient slopes comparing to the north, which is caused by the seismicity, volcanism, geologic and tectonic settings. Three full scripts of GMT, AWK and GNU Octave programming languages are presented for replicability in the Appendix.

Keywords: AWK, Octave, GMT, programming language, data analysis, geospatial analysis, trench

JEL Classification: C00, C02, C18, C21, C31, C61, C63, C65, Y1, Y10, Y92, Q00, Q01, Q25

Suggested Citation

Lemenkova, Polina, AWK and GNU Octave Programming Languages Integrated with Generic Mapping Tools for Geomorphological Analysis (December 16, 2019). GeoScience Engineering, Vol. 65, No. 4, pp. 1-22, 2019. DOI: 10.35180/gse-2019-0020, Available at SSRN: https://ssrn.com/abstract=3505007

Polina Lemenkova (Contact Author)

Schmidt Institute of Physics of the Earth, Russian Academy of Sciences ( email )

Bolshaya Gruzinskaya Str., 10
Bld. 1
Moscow, 123995
Russia
+007-916-298-37-19 (Phone)

HOME PAGE: http://https://www.researchgate.net/profile/Polina_Lemenkova

Do you have a job opening that you would like to promote on SSRN?

Paper statistics

Downloads
36
Abstract Views
305
PlumX Metrics