commit | 424ee109f1c6be6e3dd0ae7cff3498e4b3db675d | [log] [tgz] |
---|---|---|
author | Tyler Scott <tyduptyler13@gmail.com> | Tue Jul 14 16:50:41 2015 -0600 |
committer | Tyler Scott <tyduptyler13@gmail.com> | Mon Aug 10 15:25:21 2015 -0600 |
tree | 7ca06169e021ca1684fabf3b0f3f2d2e14005426 | |
parent | 087aef7f594090df23fbd92bdc615d86bee27f2f [diff] |
Hardened the script against some of the corner cases. Sometimes the results are empty and we need to handle it. An empty string is not valid in JSON. Sometimes the results are equal to null which is valid JSON but is not valid for iterating over. Change-Id: I1615ccdcbbc43e8cf947f53c7a920c7f7ec0c251
####If you have trouble running it, subscribe to ndn-sci mailing list and send an email.
This software is designed to support ongoing climate model research at Colorado State University, Berkeley and other institutes. Future plan includes porting this tool to suite other scientific community such as High Energy Particle Physics.
Currently, this software provides an API to publish, query and retrieve scientific datasets using NDN.
The ndn-atmos is built based on several libraries
Dependency for tools and translator library
The ndn-cxx and ChronoSync need some other prerequisites.
Follow the steps below to compile and install ndn-atmos:
*For example, if the libndn-cxx.so is installed in /usr/local/lib64, you need to include this path in a "ndn-cxx.conf" file in /etc/ld.so.conf.d directory, and then run "ldconfig".
NFD is the NDN forwarding daemon.
*For example, if the libndn-cxx.so is installed in /usr/local/lib64, you need to include this path in a "ndn-cxx.conf" file in /etc/ld.so.conf.d directory, and then run "ldconfig".
Make sure database is initialized and running
Create catalog configuration file
Edit the configuration file /usr/local/etc/ndn-atmos/catalog.conf. Modify the database parameters in both the queryAdapter and publishAdapter sections.
Note that the database parameters in these two sections may be different to provide different privileges.
Run ndn-atmos
Open the client folder in ndn-atmos
Checkout the ndn-js in the client folder. Use the link blow: