You need to install netcdf first. You can do that using homebrew: brew install netcdf
.
If you run into brew link
related troubles, you might need to make /usr/local/share
writable. Do this by running sudo chown -R [user]:admin /usr/local/share
. Then run brew link netcdf
.
Now run yarn
. Modify index.js
and run node index.js
node index.js [file] -p [time offset]
node index.js [file] -a
node index.js [file] -i
node index.js [file] -v