netcdfjs/README.md
2016-10-25 15:48:51 +02:00

1.4 KiB
Executable File

netcdfjs

NPM version build status Test coverage David deps npm download

Read and explore NetCDF files

Installation

$ npm install netcdfjs

API Documentation

Example

const fs = require('fs');
const NetCDFReader = require('netcdfjs');

const data = fs.readFileSync(pathFiles + 'madis-sao.nc');

var reader = new NetCDFReader(data); // read the header
reader.getVariable('wmoId'); // go to offset and read it

License

MIT