1.4.0 • Published 4 years ago

netcdf-gcms v1.4.0

Weekly downloads
50
License
MIT
Repository
github
Last release
4 years ago

netcdf-gcms

NPM version build status Test coverage David deps npm download

Parser from NetCDF files to JSON usable for GCMS

Installation

$ npm install netcdf-gcms

API Documentation

Example

const netcdfGcms = require('netcdf-gcms');
const fs = require('fs');

const data = fs.readFileSync('Agilent.cdf');

// reads the data from the file
const json = netcdfGcms(data);

// or if you already know the format
const agilentJson = netcdfGcms.fromAgilent(data);

json === {
  times: [/* ... */],
  series: [{
	name: 'tic',
	dimension: 1,
	data: [/* ... */]
  }, {
	name: 'ms',
	dimension: 2,
	data: [
	  [
	    [/* ... */],
       	[/* ... */]
      ]
	]
  }]
}

License

MIT

1.4.0

4 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.3

5 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago