forked from NOAA-EMC/UPP
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/develop' into develop
- Loading branch information
Showing
318 changed files
with
30,906 additions
and
66,967 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: Build and Test | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
env: | ||
FC: gfortran-9 | ||
CC: gcc-9 | ||
|
||
steps: | ||
- name: install-dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install libmpich-dev | ||
sudo apt-get install libnetcdf-dev libnetcdff-dev netcdf-bin pkg-config | ||
sudo apt-get install libpng-dev | ||
sudo apt-get install libjpeg-dev | ||
sudo apt-get install doxygen | ||
- name: checkout-jasper | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: jasper-software/jasper | ||
path: jasper | ||
ref: version-2.0.22 | ||
|
||
- name: build-jasper | ||
run: | | ||
cd jasper | ||
mkdir build-jasper && cd build-jasper | ||
cmake .. -DCMAKE_INSTALL_PREFIX=~ | ||
make -j2 | ||
make install | ||
- name: checkout-nceplibs | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: NOAA-EMC/NCEPLIBS | ||
path: nceplibs | ||
ref: v1.2.0 | ||
|
||
- name: build-nceplibs | ||
run: | | ||
cd nceplibs | ||
mkdir build && cd build | ||
cmake .. -DCMAKE_INSTALL_PREFIX=~ -DFLAT=ON -DBUILD_POST=OFF | ||
make -j2 | ||
- name: checkout-post | ||
uses: actions/checkout@v2 | ||
with: | ||
path: post | ||
submodules: true | ||
|
||
- name: build-post | ||
run: | | ||
cd post | ||
mkdir build && cd build | ||
cmake .. -DCMAKE_PREFIX_PATH=~ -DENABLE_DOCS=ON | ||
make -j2 | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule CMakeModules
updated
36 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[gtg] | ||
branch = master | ||
tag = ncep_post_gtg.v2.0.3 | ||
protocol = git | ||
repo_url = [email protected]:NCAR/UPP_GTG.git | ||
local_path = sorc/post_gtg.fd | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
|
||
# Unified Post-Processing (UPP) | ||
|
||
The Unified Post Processor (UPP) software package is a software | ||
package designed to generate useful products from raw model | ||
output. | ||
|
||
The UPP is currently used in operations with the Global Forecast | ||
System (GFS), GFS Ensemble Forecast System (GEFS), North American | ||
Mesoscale (NAM), Rapid Refresh (RAP), High Resolution Rapid Refresh | ||
(HRRR), Short Range Ensemble Forecast (SREF), Hurricane WRF (HWRF) | ||
applications, and is also used in Unified Forecasting System (UFS) | ||
applications. | ||
|
||
The UPP provides the capability to compute a variety of diagnostic | ||
fields and interpolate to pressure levels or other vertical | ||
coordinates. | ||
|
||
UPP also incorporates the Joint Center for Satellite Data Assimilation | ||
(JCSDA) Community Radiative Transfer Model (CRTM) to compute model | ||
derived brightness temperature (TB) for various instruments and | ||
channels. This additional feature enables the generation of a number | ||
of simulated satellite products including GOES products. | ||
|
||
Output from the UPP is in National Weather Service (NWS) and World | ||
Meteorological Organization (WMO) GRIB2 format and can be used | ||
directly by visualization, plotting, or verification packages, or for | ||
further downstream post-processing, e.g. statistical post-processing | ||
techniques. | ||
|
||
Examples of UPP products include: | ||
|
||
- T, Z, humidity, wind, cloud water, cloud ice, rain, and snow on pressure levels | ||
- SLP, shelter level T, humidity, and wind fields | ||
- Precipitation-related fields | ||
- PBL-related fields | ||
- Severe weather products (e.g. CAPE, Vorticity, Wind shear) | ||
- Radiative/Surface fluxes | ||
- Cloud related fields | ||
- Aviation products | ||
- Radar reflectivity products | ||
- Satellite look-alike products | ||
|
||
Support for the UFS UPP is provided through the UFS Forum by the | ||
Developmental Testbed Center (DTC) for FV3-based applications. | ||
|
||
The UPP uses some of the [NCEPLIBS](https://github.com/NOAA-EMC/NCEPLIBS) | ||
project. | ||
|
||
## Authors | ||
|
||
NCEP/EMC Developers | ||
|
||
Code Manager: Wen Meng, Huiya Chuang, Kate Fossell | ||
|
||
## Prerequisites | ||
|
||
This package requires the following NCEPLIBS packages: | ||
|
||
- [NCEPLIBS-g2](https://github.com/NOAA-EMC/NCEPLIBS-g2) | ||
- [NCEPLIBS-g2tmpl](https://github.com/NOAA-EMC/NCEPLIBS-g2tmpl) | ||
- [NCEPLIBS-sp](https://github.com/NOAA-EMC/NCEPLIBS-sp) | ||
- [NCEPLIBS-ip](https://github.com/NOAA-EMC/NCEPLIBS-ip) | ||
- [NCEPLIBS-bacio](https://github.com/NOAA-EMC/NCEPLIBS-bacio) | ||
- [NCEPLIBS-w3emc](https://github.com/NOAA-EMC/NCEPLIBS-w3emc) | ||
- [NCEPLIBS-w3nco](https://github.com/NOAA-EMC/NCEPLIBS-w3nco) | ||
- [CRTM](https://github.com/noaa-emc/emc_crtm) | ||
|
||
Also required to build NCEPpost executable (cmake option | ||
BUILD_POSTEXEC): | ||
|
||
- [NCEPLIBS-sigio](https://github.com/NOAA-EMC/NCEPLIBS-sigio) - | ||
- [NCEPLIBS-sfcio](https://github.com/NOAA-EMC/NCEPLIBS-sfcio) - | ||
- [NCEPLIBS-nemsio](https://github.com/NOAA-EMC/NCEPLIBS-nemsio) - | ||
- [NCEPLIBS-gfsio](https://github.com/NOAA-EMC/NCEPLIBS-gfsio) | ||
|
||
The [NCEPLIBS-wrf_io](https://github.com/NOAA-EMC/NCEPLIBS-wrf_io) | ||
library is required to build with NCEPpost with WRF-IO library (cmake | ||
option BUILD_WITH_WRFIO). | ||
|
||
The following third-party libraries are required: | ||
|
||
- [netcdf-c](https://github.com/Unidata/netcdf-c) | ||
- [netcdf-fortran](https://github.com/Unidata/netcdf-fortran) | ||
- [Jasper](https://github.com/jasper-software/jasper) | ||
- [libpng](http://www.libpng.org/pub/png/libpng.html) | ||
- [libz](https://zlib.net/) | ||
|
||
## Building | ||
|
||
Builds include: | ||
|
||
- Operational use GNC build as Wen described for both library and | ||
executable (library used for GFS only at this time) | ||
|
||
- MRW App uses UPP packaged with nceplibs and cmake to build/run with | ||
executable (via release/public-v1 branch). | ||
|
||
- SRW App uses UPP repo branch/tag directly and uses cmake to | ||
build/run with executable (via release/public-v2 branch). | ||
|
||
- Community standalone uses UPP repo branch/tag directly and uses | ||
cmake to build/run with executable (via release/public-v2 | ||
branch). For these procedures, we add a | ||
-DCMAKE_PREFIX_PATH=${INSTALL_PREFIX} where INSTALL_PREFIX is the | ||
location of the nceplibs installation as a dependency requirement. | ||
|
||
``` | ||
mkdir build | ||
cd build | ||
cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/install | ||
make | ||
make test | ||
make install | ||
``` | ||
|
||
## Disclaimer | ||
|
||
The United States Department of Commerce (DOC) GitHub project code is | ||
provided on an "as is" basis and the user assumes responsibility for | ||
its use. DOC has relinquished control of the information and no longer | ||
has responsibility to protect the integrity, confidentiality, or | ||
availability of the information. Any claims against the Department of | ||
Commerce stemming from the use of its GitHub project will be governed | ||
by all applicable Federal law. Any reference to specific commercial | ||
products, processes, or services by service mark, trademark, | ||
manufacturer, or otherwise, does not constitute or imply their | ||
endorsement, recommendation or favoring by the Department of | ||
Commerce. The Department of Commerce seal and logo, or the seal and | ||
logo of a DOC bureau, shall not be used in any manner to imply | ||
endorsement of any commercial product or activity by DOC or the United | ||
States Government. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
9.9.9 | ||
# This is a placeholder version number. | ||
# It will be replaced with an appropriate version following a discussion within the UPP management. | ||
10.0.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,28 +11,26 @@ include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]") | |
include(CMakeFindDependencyMacro) | ||
|
||
find_dependency(MPI) | ||
find_dependency(NetCDF COMPONENTS Fortran) | ||
|
||
# ON/OFF implies @PROJECT_NAME@ was compiled with/without OpenMP | ||
if(@OPENMP@) | ||
find_dependency(OpenMP COMPONENTS Fortran) | ||
endif() | ||
|
||
find_dependency(NetCDF COMPONENTS Fortran) | ||
|
||
find_dependency(w3nco CONFIG) | ||
find_dependency(bacio CONFIG) | ||
find_dependency(crtm CONFIG) | ||
find_dependency(g2 CONFIG) | ||
find_dependency(g2tmpl CONFIG) | ||
find_dependency(bacio CONFIG) | ||
find_dependency(ip CONFIG) | ||
find_dependency(sp CONFIG) | ||
find_dependency(w3emc CONFIG) | ||
find_dependency(crtm CONFIG) | ||
|
||
# nceppost library does not depend on these, the executable does. | ||
#find_dependency(sigio CONFIG) | ||
#find_dependency(sfcio CONFIG) | ||
#find_dependency(nemsio CONFIG) | ||
#find_dependency(gfsio CONFIG) | ||
#find_dependency(nemsio CONFIG) | ||
#find_dependency(sfcio CONFIG) | ||
#find_dependency(sigio CONFIG) | ||
#find_dependency(sp CONFIG) | ||
#find_dependency(w3nco CONFIG) | ||
|
||
# Get the build type from library target | ||
get_target_property(@PROJECT_NAME@_BUILD_TYPES @PROJECT_NAME@::@PROJECT_NAME@ IMPORTED_CONFIGURATIONS) | ||
|
Oops, something went wrong.