mirror of
https://github.com/cheminfo/netcdfjs.git
synced 2026-01-18 15:56:16 +00:00
netcdfjs
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
Description
Languages
nesC
63.4%
Mathematica
36.2%
JavaScript
0.4%