Cesium (cesiumjs.org) based visualization using ncWMS to serve NetCDF data and D3 (d3js.org) to display graphs.
A live running version of this software can be found here: http://forecast.ewatercycle.org
- Install Git : http://git-scm.com/downloads
- Install Node.js : http://nodejs.org/ (Make sure add node to PATH option is checked)
- Create '$HOME/npm' folder (Where $HOME is c:\Users<username>\AppData\Roaming).
- Open node command prompt and run
npm install -g bower grunt-cli
- Install Apache Tomcat (http://tomcat.apache.org/) 8.0 or higher.
- Add C:\Users{YOUR USERNAME HERE}\node_modules\bower\bin to your PATH
- Start Git bash
- Change directory to your "apache tomcat installation directory"/webapps/ROOT
- Type: "git clone https://github.com/NLeSC/Cesium-NcWMS.git"
- Type: "cd Cesium-NcWMS"
- Type: "npm install -g grunt grunt-cli"
- Type: "npm install"
- Type: "bower install"
- Type: "bower update"
- Copy the ncWMS-2.0-rc1.war from the ncWMS_dist directory to your apache-tomcat/webapps directory.
- Edit the tomcat-users.xml in your apache-tomcat/conf directory and add ncWMS-admin as a role to your username
- Serve some netcdf data with ncWMS via the admin interface, make sure it is CF-1.7 compliant.
- Edit the serverconfig.json file in the app/ subdirectory to reflect the location of your ncWMS server.
- Type: "grunt serve"
- nodejs, http://nodejs.org/
- bower, http://bower.io
- Java Development Kit, https://www.java.com/
Follow instructions at joyents github website: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#debian-and-ubuntu-based-linux-distributions
sudo npm install -g bower grunt-cli
git clone https://github.com/NLeSC/Cesium-NcWMS.git
- Go to http://tomcat.apache.org/ and install version 8.0 or higher.
- Copy the ncWMS-2.0-rc1.war file from the ncWMS_dist directory to your apache/webapps directory.
- Edit the tomcat-users.xml in your apache-tomcat/conf directory and add ncWMS-admin as a role to your username.
- Edit the serverconfig.json file in the app/ subdirectory to point to the location of your ncWMS server.
cd Cesium-NcWMS
npm install
bower install
If you already have a installed the bower packages before, but need to update them for a new version of the code, run
bower update
grunt serve
Changes made to code will automatically reload web page.
grunt test
Generates test report and coverage inside test/reports
folder.
grunt build
The dist
folder has production ready distribution.
Cesium-NcWMS is copyrighted by the Netherlands eScience Center and releases under the Apache License, Version 2.0.
See http://www.esciencecenter.nl for more information on the Netherlands eScience Center.
See the "LICENSE" file for more information.