Das2

Site Catalog Browser

VESPA Search

Test Catalog

Data read directly from PTP packets instead of CDF files, definitly not for publication



Catalog Path: tag:das2.org,2012:site:/uiowa/van_allen_probes/b/emfisis  
Read From: https://das2.org/catalog/das/site/uiowa/van_allen_probes/b/emfisis.json


   import json
   import das2

   node = das2.get_node("site:/uiowa/van_allen_probes/b/emfisis")

   # Pretty print node content
   s = json.dumps(node.props, ensure_ascii=False, indent="  ", sort_keys=True)
   print(s)
   
   # List and access sub-nodes
   node.keys()
   subnode = node['ancillary']
   

   #include <stdio.h>
   #include <das2/core.h>

   DasNode* pRoot = new_RootNode(NULL, NULL, NULL);
   DasNode* pNode = DasNode_subNode(pRoot, "tag:das2.org,2012:site:/uiowa/van_allen_probes/b/emfisis", NULL, NULL);
   DasJdo*  pJdo  = DasNode_getJdo(pNode, NULL);
   size_t uLen;
   const char* sOut = DasJdo_writePretty(pJdo, "   ", "\n", &uLen);
   fputs(sOut, stdout);