Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/split input data #17

Open
wants to merge 18 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
9031cb1
Initial commit to split input_data.F90
Dec 14, 2022
87d06de
All bugs/typos fixed. Consistency tests pass on Hera.
LarissaReames-NOAA Dec 14, 2022
7670167
Updated unit tests to account for new split input_data
LarissaReames-NOAA Dec 14, 2022
f5ceead
Merge branch 'develop' of https://github.com/NOAA-EMC/UFS_UTILS into …
LarissaReames-NOAA Dec 14, 2022
03ca9f6
Added workflow_dispatch trigger to github workflows to allow manual r…
LarissaReames-NOAA Dec 14, 2022
fee6f61
typo fix
LarissaReames-NOAA Dec 14, 2022
7054df9
Removed changes to workflows
LarissaReames-NOAA Dec 14, 2022
2c8a5bb
Meaningless change to force workflow rerun
LarissaReames-NOAA Dec 14, 2022
9db08e2
Blah
LarissaReames-NOAA Dec 14, 2022
d52d7b4
More updates to unit tests to conform to new subroutine structure. Al…
LarissaReames-NOAA Dec 15, 2022
6af1a6d
Documentation copied correctly for cleanup_input_atm_data
LarissaReames-NOAA Dec 15, 2022
42f9d18
More documentation replaced
LarissaReames-NOAA Dec 15, 2022
d7f6ec6
More documention updates
LarissaReames-NOAA Dec 15, 2022
858b6cb
One final documentation update. Docs build on Hera.
LarissaReames-NOAA Dec 15, 2022
2e82d14
Merge branch 'ufs-community:develop' into feature/split_input_data
LarissaReames-NOAA Dec 15, 2022
47c8d1e
Merge branch 'develop' into feature/split_input_data
GeorgeGayno-NOAA Dec 28, 2022
997201d
Replace 'make test' with 'ctest' in build_all.sh.
GeorgeGayno-NOAA Dec 28, 2022
9c05732
Update 'readthedocs'.
GeorgeGayno-NOAA Dec 28, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/developer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# This workflow tests all developer options including
# documentation check, and test code coverage.
#
#
# Ed Hartnett 12/11/22
name: developer
on:
Expand Down
5 changes: 3 additions & 2 deletions build_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# This build script is only used on officially supported machines. All other
# users should set module files as needed, and build directly with CMake.
#
#
# George Gayno

set -eux
Expand Down Expand Up @@ -31,7 +32,7 @@ fi
# Those with access to the EMC ftp site are: Orion and Hera.

if [[ "$target" == "hera" || "$target" == "orion" || "$target" == "wcoss2" ]]; then
CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=../ -DCMAKE_INSTALL_BINDIR=exec -DBUILD_TESTING=OFF"
CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=../ -DCMAKE_INSTALL_BINDIR=exec -DBUILD_TESTING=OFF"
#CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=../ -DCMAKE_INSTALL_BINDIR=exec -DBUILD_TESTING=ON"
#CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=../ -DCMAKE_INSTALL_BINDIR=exec -DENABLE_DOCS=ON -DBUILD_TESTING=ON"
else
Expand All @@ -47,7 +48,7 @@ cmake .. ${CMAKE_FLAGS}
make -j 8 VERBOSE=1
make install

#make test
#ctest
#ctest -I 4,5

exit
4 changes: 3 additions & 1 deletion docs/source/chgres_cube.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ The program assumes Noah/Noah-MP LSM coefficients for certain soil thresholds. I
* model_grid.F90 - Sets up the ESMF grid objects for the input data grid and target FV3 grid.
* static_data.F90 - Reads static surface climatological data for the target FV3 grid (such as soil type and vegetation type). Time interpolates time-varying fields, such as monthly plant greenness, to the model run time. Set path to these files via the fix_dir_target_grid namelist variable.
* write_data.F90 - Writes the tiled and header files expected by the forecast model.
* input_data.F90 - Contains routines to read atmospheric and surface data from GRIB2, NEMSIO and NetCDF files.
* atm_input_data.F90 - Contains routines to read input atmospheric data from GRIB2, NEMSIO and NetCDF files.
* nst_input_data.F90 - Contains routines to read input NSST data from NEMSIO and NetCDF files.
* sfc_input_data.F90 - Contains routines to read input surface data from GRIB2, NEMSIO and NetCDF files.
* utils.F90 - Contains utility routines, such as error handling.
* grib2_util.F90 - Routines to (1) convert from RH to specific humidity; (2) convert from omega to dzdt. Required for GRIB2 input data.
* atmosphere.F90 - Process atmospheric fields. Horizontally interpolate from input to target FV3 grid using ESMF regridding. Adjust surface pressure according to terrain differences between input and target grid. Vertically interpolate to target FV3 grid vertical levels. Description of main routines:
Expand Down
6 changes: 4 additions & 2 deletions sorc/chgres_cube.fd/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# This is the CMake build file for the chgres_cube utility in the
# UFS_UTILS package.
#
# George Gayno, Mark Potts, Kyle Gerheiser
# George Gayno, Mark Potts, Kyle Gerheiser, Larissa Reames

set(lib_src
atmosphere.F90
atmosphere_target_data.F90
grib2_util.F90
input_data.F90
atm_input_data.F90
sfc_input_data.F90
nst_input_data.F90
model_grid.F90
program_setup.F90
search_util.F90
Expand Down
Loading