This is the NOAA Emission and Exchange Unified System (NEXUS)
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 git@github.com: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
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
Custom modules.
. /groups/ESS3/zmoon/nexus/env5
Input data:
/groups/ESS3/ytang/RRFS-input/nexus_emissions
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.
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