GithubHelp home page GithubHelp logo

cmip7-hackathon's Introduction

ACCESS-NRI CMIP7-Hackathon

Welcome to the ACCESS-NRI CMIP7 Hackathon repo.

Visual Studio Code

To get the most out of the hackathon exercises, we recommend using Microsoft Visual Studio Code which can be downloaded free for Windows, MacOS and Linux here. For new VS Code users or those simply wanting a quick refresher, we have created a video and written guide to help you set up VS Code on Gadi. Note that the information is roughly the same, so you can choose either video or written guide to follow along.

NOTE: There are two pieces of information to clarify from the video tutorial that are explained in the written guide:

  1. When logging into Gadi for the first time in VS Code, you do not need to write your own config file. You can simply choose the default option that is suggested and VS Code will create one for you. You only need to do this once - the first time you log in.
  2. _In addition to the 3 extensions mentioned in the video, you will need to install a 4th extension to view html files (this is how most of the ESMValTool recipes show output plots). You can see our recommended extension "Live Server" in the written guide above.

Australian Research Environment (ARE)

If it is not possible to use VS Code, hackathon exercises can alternatively be run via either an Australian Research Environment JupyterLab or an Australian Research Environment Virtual Desktop (VDI) session.. We have created a written guide to setup each of these for the CMIP7-Hackathon below.

Logging into Gadi

The first thing to do is to login to Gadi. You can choose to run the following commands either from your computer's terminal or from the terminal within VS Code. If you follow the above steps to set up VS Code on Gadi, you can skip to the next section "Set up our environment to run ESMValTool" below (since the video and written guide already walk you through how to connect to Gadi in VS Code).

Log into Gadi using ssh via the command line using your registed NCI username and enter your password when prompted. Once you see the welcome note you have successfully logged in.

$ ssh [username]@gadi.nci.org.au

Set up our environment to run ESMValTool

Next we want to set up our system to run the ESMValTool recipes prepared for the Hackathon.

Step 1. Enter the following two commands (one after the other). The first command loads some necessary dependencies needed to run ESMValTool, and the second command loads the required ACCESS-NRI ESMValTool-workflow module.

module use /g/data/xp65/public/modules
module load esmvaltool

Step 2. Run the hackathon setup script from any directory. This verifies that your NCI account has access to the required projects on Gadi and that their respective storage locations are mounted, clones the CMIP7-Hackathon Github repository, and automatically runs each of the hackathon ESMValTool recipes as PBS jobs on Gadi.

check_hackathon

You will see a range of checks and processes print to the screen, which may take up to 1 minute to complete. Once you see the "YOU ARE ALL SET!!!" message, everything is setup and ready to go.

ESMValTool recipes

You have just started running a suite of ESMValTool recipes! You can now do any of the following:

  • Check the status of each of your actively running recipes:
qstat -u [username]
  • View ESMValTool recipe outputs here:
/scratch/nf33/[username]/esmvaltool_outputs
  • View ESMValTool recipe log files here:
/scratch/nf33/[username]/CMIP7-Hackathon/admin/logs
/scratch/nf33/[username]/CMIP7-Hackathon

We also include a convenience wrapper function to manually run individual recipes found in the CMIP7-Hackathon Github repository recipes directory:

run_recipe [path-to-recipe]

For example, to manually run the hackathon map1 recipe found in /scratch/nf33/[username]/CMIP7-Hackathon/recipes/ocean/maps, you can cd into the cloned CMIP7-Hackathon Github repository

cd /scratch/nf33/[username]/CMIP7-Hackathon

and run the following:

run_recipe recipes/ocean/maps/map1.yml

cmip7-hackathon's People

Contributors

headmetal avatar rbeucher avatar flicj191 avatar paigem avatar

Stargazers

Shitty Girl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.