Use the NORSAR-2D Model Scanner:

NORSAR-2D Console: File->Export->Model Scanner...

You select a velocity type and grid-geometry and store the result as file <fileName>.Sgrd under the modelling section directory.

There are two FORTRAN subroutines in the NORSAR-2D installation that can read this format:

  • smgarw.f - Reads velocity grid into a 1D array.
  • smmsrw.f - Reads velocity grid into a 2D array.

The source code for these functions are stored in <N2D installation>/aux/source/