Basic GCM Output

Say I want to run the GCM in the Held Suarez setup, using the GCMdriver (modularised driver which let you easily mix and match initial and boundary conditions, and sources).

  1. Download ClimateMachine.jl and VizCLIMA. For this demo use this VizCLIMA branch.

  2. Setup the pipeline bash script in the ClimateMachine.jl directory as shown here, and change the highlighted lines.

  3. Run script using sbatch pipeline_logging_basic_gcmd.sh

  4. Your specified output folder should contain
    • .../netcdf/ containing the diagnostics output .nc file
    • .../restart/ containing all restart .jld2 files from individual nodes
    • .../log/ containing model_log_err.out logfile
    • .../analysis with:
    • general-gcm-notebook-setup.jl copied from VizCLIMA (click here for demo)
    • zonal_mean.pdf
    • vertical_slice.pdf
    • general-gcm-notebook-setup.ipynb Juputer Notebook whih is automatically generated (click here for demo)
  5. View your notebook on a local machine
    • On both local and remote machines:
    • ensure JupyterLab is installed on both local and remote machines (check version of Julia and necessary packages for your notebook) - Remote host:
    • cd into your output directory
    • jupyter notebook --no-browser --port=XXXX - Local host:
    • ssh -N -f -L YYYY:localhost:XXXX <remoteuser>@<remote-cluster-node>
    • In your local browser type localhost:YYYY
    • You may get a prompt to authenticate using a token (printed when launched the notebook on the remote host), then you’re good to go!