Skip to main content
University of North Dakota
University of North Dakota
    • Admitted Students
    • Current Students
    • Families of Current Students
    • Faculty & Staff
    • Alumni
    • Email
    • Blackboard
    • Campus Connection
    • Employee Self-Service (HRMS)
    • Starfish
    • Degree Map
  • Directory
  • Academics
  • Admissions
  • Student Life
  • Research
  • Athletics
  • Majors & Programs
  • About
University of North Dakota
  • Academics
  • Admissions
  • Student Life
  • Research
  • Athletics
  • Majors & Programs
  • About
  • Request Info
  • Visit
  • Apply
  • Request Info
  • Visit
  • Apply
  • Home
  • Research
  • Computational Research Center
  • Tutorials
  • Program Tutorials
Skip Section Navigation
  • Computational Research Center
  • HPC Cluster and AI & VR Lab Show/hide children
    • Talon - High Performance Computing Cluster
    • Artificial Intelligence & Virtual Reality Lab
  • Tutorials
  • Collaboration & Outreach
  • Support Show/hide children
    • Account Request
    • Support Ticket
    • Windows Software
  • Research Support


NCL is a scripting language used to generate visual output files using data generated by WRF.

NOTE: This guide assumes you are using the BASH shell.


STEP ONE - Files

From your home directory create and enter a new directory called ncl.

mkdir ~/ncl cd ~/ncl

In the ncl folder download the latest version of the NCL binaries. They can be found here.

Make sure to get the correct version of the binaries for the linux version and compiler version being used.

In our example we will be downloading and extracting version 6.4.0 for Redhat and the GNU compiler using the following commands:

wget https://www.earthsystemgrid.org/dataset/ncl.640.nodap/file/ncl_ncarg-6.4.0-RHEL6.4_64bit_nodap_gnu447.tar.gz tar -xf ncl_ncarg-6.4.0-RHEL6.4_64bit_nodap_gnu447.tar.gz

STEP TWO - Environment Variables

Once you have everything downloaded and extracted you will need to setup the correct environment variables for NCL using the following commands:

export NCARG_ROOT=$HOME/ncl export PATH=$NCARG_ROOT/bin:$PATH

Once this is complete the NCL scripting language is ready to be used.

Note: The environment variables will be reset each time you log out.


STEP THREE - Example Scripts

NCAR has many example scripts on their website https://www.ncl.ucar.edu/Applications/

Computational Research Center
Chester Fritz Library Room 334
3051 University Ave Stop 9000
Grand Forks, ND 58202-9000
P 701.777.6514
und.hpc.support@UND.edu

Hours

Monday-Friday: 9 a.m. - 5 p.m.

    We use cookies on this site to enhance your user experience.

    By clicking any link on this page you are giving your consent for us to set cookies, Privacy Information.

    Ready to Enroll?

    • Request Information
    • Schedule a Visit
    • Apply Now
    • UND.info@UND.edu
    • 701.777.3000
    • YouTube
    • Instagram
    • Facebook
    • TikTok
    • Twitter
    • LinkedIn
    • Contact UND
    • Campus Map
    • Events Calendar
    • Explore Programs
    • Employment
    • Make a Gift
    University of North Dakota

    © 2022 University of North Dakota - Grand Forks, ND - Member of ND University System

    • Accessibility & Website Feedback
    • Terms of Use & Privacy
    • Notice of Nondiscrimination
    • Student Disclosure Information
    • Title IX
    ©