@cognite/seismic-sdk-js

Seismic SDK for a Cognite seismic data store API

Usage no npm install needed!

<script type="module">
  import cogniteSeismicSdkJs from 'https://cdn.skypack.dev/@cognite/seismic-sdk-js';
</script>

README

Cognite Seismic JS SDK

A TypeScript SDK for the Seismic data store API.

Link to documentation:

  • API.
  • SDK docs to come

Usage

import { CogniteSeismicClient } from '@cognite/seismic-sdk-js';

const sdkClient = new CogniteSeismicClient({
  token: 'insert auth token here',
});

sdkClient.survey.get(name);

API

eg: sdkClient.file.getLineRange

file

  • getTextHeader
  • getFileDataCoverage
  • getLineRange

slice

  • getArbitraryLine

survey

  • get
  • list
  • search

volume

  • get
  • getTrace

How to develop locally

From the root you need to generate the proto files:

$ ./build-proto-browser.sh

Then from this folder you can do the setup and build

$ yarn
$ yarn build:watch