NDK (.ndk)

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 fully supports the NDK format.

Import and ExportImport and Export

  • 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 reference pages for full general information on Import.
  • ImportString supports the NDK format.

ElementsElements

  • General Import elements:
  • "Elements"list of elements and options available in this file
    "Rules"full list of rules for each element and option
    "Options"list of rules for options, properties and settings
  • Data representation elements:
  • "LabeledData"data given as a list of rules
    "Labels"data record labels
    "Data"list of records
  • Import uses the element by default.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Import the file and show the first record:

In[1]:=
Click for copyable input
Out[1]=

Import all records as a list of rules:

In[1]:=
Click for copyable input
Out[1]=

Read all magnitude values from the file:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2010
(8.0)