InstallationΒΆ

Required dependencies:

  • Python 2.6, 2.7, 3.3 or 3.4
  • numpy (1.7 or later)
  • pandas (0.15.0 or later)

Optional dependencies:

  • netCDF4: recommended if you want to use xray for reading or writing files
  • scipy: used as a fallback for reading/writing netCDF3
  • pydap: used as a fallback for accessing OPeNDAP
  • cyordereddict: speeds up most internal operations

Before you install xray, be sure you have the required dependencies (numpy and pandas) installed. The easiest way to do so is to use the Anaconda python distribution.

To install xray, use pip:

pip install xray

To run the test suite after installing xray, install nose and run nosetests xray.