In this workshop you will learn how to interact with the NEXUS system and its nexuscli python client module.


If you are unfamiliar with Jupyter Notebooks, it is recommended that you read through some of the basic commands by following this link:

Jupyter Notebook Basics

Additionally, the 2 - Running Code notebook provides a short walkthrough on how to use Jupyter Notebook.

Important hints:

  • Clicking in a cell and pressing ctrl + enter will run that cell
  • A cell is running as long as there is an asterisk * next to that cell. When the cell is finished running, a number will appear
  • All cells in a Jupyter notebook are part of the same "program". Variables and methods defined in cells are available to other cells in the same notebook as long as you run the cell.

Python 3

All of the notebooks in this workshop run using the Python 3 kernel. The expectation is that you have basic python programming skills or are able to understand simple python code.

If needed, an introduction to Python 3 (Courtesy of Twisted Hardware) is provided in the 3 - Python Basics notebook.

Important hints:

  • In python datetime objects can be created using the constructor datetime(int: year, int: month, int: day). For example: a_date = datetime(2016, 11, 1)
  • Lists are considered sequences. To construct a list in python use square brackets. For example: my_list = ["This list contains one string"]

nexuscli Python Client

This workshop uses the nexuscli python client module. The source code for this module can be found on GitHub. Documentation is available as html and can also be viewed directly in Jupyter notebook by importing the module, running the cell, typing nexuscli, and then pressing shift + tab.

Dataset Descriptions

There are two datasets available for analysis during this workshop:

  2. TRMM_3B42_V7