NDK (.ndk)

Background & Context

    • NDK seismologic file format.
    • Commonly used for storage and exchange of earthquake data.
    • Stores geographical information and wave measurements for individual seismological events.
    • ASCII format.

Import

  • Import["file.ndk"] imports an NDK file, returning all data as an array.
  • Import["file.ndk",elem] imports the specified element from a NDK file.
  • Import["file.ndk",{{elem1,elem2,}}] imports multiple elements.
  • The import format can be specified with Import["file","NDK"] or Import["file",{"NDK",elem,}].
  • See the following reference pages for full general information:
  • Importimport from a file
    CloudImportimport from a cloud object
    ImportStringimport from a string
    ImportByteArrayimport from a byte array

Import Elements

  • General Import elements:
  • "Elements" list of elements and options available in this file
    "Summary"summary of the file
    "Rules"list of rules for all available elements
  • Data representation elements:
  • "LabeledData"data given as a list of rules
    "Labels"data record labels
    "Data"list of records
  • Import uses the "Data" element by default.

Examples

Basic Examples  (3)

Import the file and show the first record:

Import all records as a list of rules:

Read all magnitude values from the file: