Skip to content

The NOAA Emission and Exchange Unified System (NEXUS)

License

Notifications You must be signed in to change notification settings

noaa-oar-arl/NEXUS

Repository files navigation

NEXUS

This is the NOAA Emission and Exchange Unified System (NEXUS)

Development

Clone the repository and check out the submodules:

git clone -b develop --recurse-submodules https://github.com/noaa-oar-arl/NEXUS.git

or

git clone -b develop --recurse-submodules [email protected]:noaa-oar-arl/NEXUS.git

(Replace noaa-oar-arl/NEXUS with your fork if desired.)

To install the pre-commit hooks, first install pre-commit, e.g. to your Conda environment. Then, run

pre-commit install --install-hooks

Setup

Supported UFS machines

UFS spack-stack module files are included for Hera, WCOSS2, Orion, etc.

module use ./modulefiles

Then, on Hera, for example:

module load ufs_hera.intel

Hera input data:

/scratch1/NCEPDEV/rstprod/nexus_emissions
/scratch1/RDARCH/rda-arl-gpu/Barry.Baker/emissions/nexus

GMU Hopper

Custom modules.

. /groups/ESS3/zmoon/nexus/env5

Input data:

/groups/ESS3/ytang/RRFS-input/nexus_emissions

Ubuntu

See https://github.com/noaa-oar-arl/gha-esmf for examples of how to build ESMF, or follow the steps to download and use a pre-built ESMF.

Remember to set ESMFMKFILE to point to the esmf.mk file of your ESMF build.

Build

cmake -S . -B build
cmake --build build

If successful, the executable will be at build/bin/nexus.

To clean up, remove the build directory or use

cmake --build build --target clean