Skip to content

Building and Running the UPP

Gillian Petro edited this page Nov 8, 2024 · 10 revisions

Building the UPP

UPP users can check out the develop branch or any release branch and build the UPP executable on WCOSS2 and other supported systems (e.g., Hera, Orion) by running:

> git clone -b name-of-branch https://github.com/NOAA-EMC/UPP.git
> cd tests
> ./compile_upp.sh

Users should replace name-of-branch in the clone command with the name of an actual branch or tag (e.g., develop, upp_v11.0.0). The executable upp.x will appear under exec/ if the build was successful.

Additional details can be found in the User's Guide.


How to Run the UPP

A step-by-step guide to running standalone UPP (not part of an application) can be found in the UPP User's Guide. When running the UPP as part of an application (e.g., UFS SRW or MRW Apps, operational workflows, etc.), please refer to application documentation for running the UPP as part of that system.

itag templates

Below are a few examples of itags used for running different applications. Please see the UPP User's Guide for more information about itags.

  • itag for processing RRFS
&model_inputs
fileName='/u/Wen.Meng/noscrubd/ncep_post/post_regression_test_new/data_in/dynf006.nc'
IOFORM='netcdf'
grib='grib2'
DateStr='2019-06-20_06:00:00'
MODELNAME='FV3R'
fileNameFlux='/u/Wen.Meng/noscrubd/ncep_post/post_regression_test_new/data_in/phyf006.nc'
/
&NAMPGB
KPO=47,PO=1000.,975.,950.,925.,900.,875.,850.,825.,800.,775.,750.,725.,700.,675.,650.,625.,600.,575.,550.,525.,500.,475.,450.,425.,400.,375.,350.,325.,300.,275.,250.,225.,200.,175.,150.,125.,100.,70.,50.,30.,20.,10.,7.,5.,3.,2.,1.,
/
  • itag for processing HAFS
&model_inputs
fileName='$homedir/data_in/hafs/atmf${fhr}.nc'
IOFORM='netcdf'
grib='grib2'
DateStr='2022-09-28_00:00:00'
MODELNAME='FV3R'
fileNameFlux='$homedir/data_in/hafs/sfcf${fhr}.nc'
/
&NAMPGB
KPO=47,PO=1000.,975.,950.,925.,900.,875.,850.,825.,800.,775.,750.,725.,700.,675.,650.,625.,600.,575.,550.,525.,500.,475.,450.,425.,400.,375.,350.,325.,300.,275.,250.,225.,200.,175.,150.,125.,100.,70.,50.,30.,20.,10.,7.,5.,3.,2.,1.,
/
  • itag for processing 3DRTMA
&model_inputs
fileName='$homedir/data_in/3drtma/dynf${fhr}.nc'
IOFORM='netcdf'
grib='grib2'
DateStr='2023-04-04_00:00:00'
MODELNAME='FV3R'
SUBMODELNAME='RTMA'
fileNameFlux='$homedir/data_in/3drtma/phyf${fhr}.nc'
/
&NAMPGB
KPO=47,PO=1000.,975.,950.,925.,900.,875.,850.,825.,800.,775.,750.,725.,700.,675.,650.,625.,600.,575.,55@@@   
/        
  • itag for processing GFS/GEFS
&model_inputs
fileName='$homedir/data_in/gfs/gfs.t${cyc}z.atmf${fhr}.nc'
IOFORM='netcdfpara'
grib='grib2'
DateStr='2021-02-16_06:00:00'
MODELNAME='GFS'
fileNameFlux='$homedir/data_in/gfs/gfs.t${cyc}z.sfcf${fhr}.nc'
/
&NAMPGB
KPO=57,PO=1000.,975.,950.,925.,900.,875.,850.,825.,800.,775.,750.,725.,700.,675.,650.,625.,600.,575.,550.,525.,500.,475.,450.,425.,400.,375.,350.,325.,300.,275.,250.,225.,200.,175.,150.,125.,100.,70.,50.,40.,30.,20.,15.,10.,7.,5.,3.,2.,1.,0.7,0.4,0.2,0.1,0.07,0.04,0.02,0.01,rdaod=.true.,
/