netcdfjs
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

netcdfjs

NPM version build status Test coverage [npm download][download-url]

Read and explore NetCDF v3 files.

Installation

$ npm install netcdfjs

API Documentation

For further information about the grammar you should go to this link.

Example

const { readFileSync } = require("fs");
const { NetCDFReader } = require("netcdfjs");

// http://www.unidata.ucar.edu/software/netcdf/examples/files.html
const data = readFileSync("madis-sao.nc");

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

License

MIT

Dependents (11)

Package Sidebar

Install

npm i netcdfjs

Weekly Downloads

1,546

Version

3.0.0

License

MIT

Unpacked Size

110 kB

Total Files

66

Last publish

Collaborators

  • targos
  • lpatiny
  • cheminfo-bot
  • stropitek
  • maasencioh