Skip to content

ScottWales/ARCCSSive

 
 

Repository files navigation

ARCCSSive

ARCCSS Data Access Tools

Documentation Status Build Status codecov.io Code Health Code Climate PyPI version

For full documentation please see http://arccssive.readthedocs.org/en/stable

Installing

Raijin

The stable version of ARCCSSive is available as a module on NCI's Raijin supercomputer:

module use ~access/modules
module load pythonlib/ARCCSSive

NCI Virtual Desktops

NCI's virtual desktops allow you to use ARCCSSive from a Jupyter notebook. For details on how to use virtual desktops see http://vdi.nci.org.au/help

To install the stable version of ARCCSSive:

pip install --user ARCCSSive
export CMIP5_DB=sqlite:////g/data1/ua6/unofficial-ESG-replica/tmp/tree/new_cmip5_test.db

or to install the current development version (note this uses a different database):

git clone https://github.com/coecms/ARCCSSive.git && cd ARCCSSive
pip install --user -r requirements.txt
export CMIP5_DB=sqlite:////g/data1/ua6/unofficial-ESG-replica/tmp/tree/new_cmip5_test2.db

Once the library is installed run ipython notebook to start a new notebook

CMIP5

Query and access the CMIP5 data from Raijin

from ARCCSSive import CMIP5

cmip = CMIP5.DB.connect()
for output in cmip.outputs(model='ACCESS1-0'):
    variable = output.variable
    files    = output.filenames()    

Uses SQLAlchemy to filter and sort the data files.

About

ARCCSS Data Access Tools

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%