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

Update hash #3ef2e6b (Jun 26) #11

Merged
merged 44 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
93b4884
global_cycle - Update the GSI land increment file name to append the …
ClaraDraper-NOAA Jan 19, 2024
bef91f0
global_cycle - Support NoahMP and fractional grid (#815)
GeorgeGayno-NOAA Jan 19, 2024
c3fb3bc
global_cycle - Fix definition of OROFIX in ./ush/global_cycle.sh (#891)
GeorgeGayno-NOAA Jan 25, 2024
547459c
Upgrade to spack-stack/1.6.0 (#892)
DavidHuber-NOAA Jan 25, 2024
6dee392
orog.fd - Reduce dependency on SPLIB and some cleanup (#889)
GeorgeGayno-NOAA Jan 30, 2024
57bd832
Revert "orog.fd - Reduce dependency on SPLIB and some cleanup (#889)"…
GeorgeGayno-NOAA Feb 6, 2024
7addff5
Update chgres_cube for fractional grids (#873)
GeorgeGayno-NOAA Feb 12, 2024
b15058c
Version 1.12.0 update (#898)
GeorgeGayno-NOAA Feb 16, 2024
47956a9
Update directory names for global workflow (#899)
GeorgeGayno-NOAA Feb 22, 2024
415f616
global_cycle - Removed checks preventing land increments for fraction…
ClaraDraper-NOAA Feb 26, 2024
1dac855
chgres_cube: Implement WMO grib2 template 1 (rotated lat-lon) read ca…
LarissaReames-NOAA Feb 27, 2024
33c3677
Fix broken links in chgres_cube section of ReadTheDocs (#907)
GeorgeGayno-NOAA Mar 5, 2024
658c351
Update orog code to read high-resolution mask and terrain data in Net…
GeorgeGayno-NOAA Mar 7, 2024
5e39d0a
Add IP library v5 support (#910)
AlexanderRichert-NOAA Mar 11, 2024
216152f
gdas_init utility bug fix (#912)
GeorgeGayno-NOAA Mar 13, 2024
cadff2b
Release v1.13.0 (#917)
GeorgeGayno-NOAA Mar 13, 2024
1ffaf1f
Updates for Rocky8 on Jet (#919)
GeorgeGayno-NOAA Mar 14, 2024
72fb94f
Add instructions for the gdas_init utility to readthedocs (#920)
GeorgeGayno-NOAA Mar 18, 2024
b87e6b2
chgres_cube: Add a check for incompatible surface static data (#911)
LarissaReames-NOAA Mar 20, 2024
b93817c
RDHPCS Hera Rocky-8 support (#924)
HenryRWinterbottom Mar 21, 2024
f42fae2
Fix error handling in the orog code (#914)
GeorgeGayno-NOAA Mar 22, 2024
8781eb8
cpld_gridgen: Fix angles on Bu for use by CICE (#922)
DeniseWorthen Apr 10, 2024
46b500f
Update wgrib2 version on Jet (#931)
GeorgeGayno-NOAA Apr 12, 2024
25ef8af
Update 'readthedocs' for new AWS fixed files host (#927)
GeorgeGayno-NOAA Apr 12, 2024
ef3a1d2
chgres_cube: option to build without nemsio, sigio and sfcio librarie…
GeorgeGayno-NOAA Apr 18, 2024
d902d39
Add and modify build module files for the cloud (#937)
weihuang-jedi Apr 29, 2024
65a3864
Build ufs_utils on Gaea-C5 (#935)
DavidBurrows-NCO May 1, 2024
e0cfc4b
global_cycle: Update soil adjustment to use JEDI data (#894)
yuanxue2870 May 7, 2024
a915a23
Include fre-nctools.fd in GFS builds (#941)
CoryMartin-NOAA May 9, 2024
7034628
Minor cleanup of 'orog' program and its run script (#938)
GeorgeGayno-NOAA May 13, 2024
c6efbbd
Add threading to the filter_topo and orog_gsl codes (#948)
GeorgeGayno-NOAA May 20, 2024
77622d0
orog.fd - Remove binary output option and logic for reduced grid. (#949)
GeorgeGayno-NOAA May 24, 2024
c6e032b
global_cycle - Update version of sfcsub.F (#950)
GeorgeGayno-NOAA May 28, 2024
2794d41
Use FIXorog instead of FIXgfs/orog in global_cycle scripts (#956)
aerorahul Jun 4, 2024
1651c5c
ocnice_prep - new utility to generate warm-start files for MOM6 and C…
DeniseWorthen Jun 14, 2024
65b5305
Enable compilation on GCP and Azure (#953)
weihuang-jedi Jun 18, 2024
0983f34
Update the gdas_init utility for the new COM model directory (#968)
GeorgeGayno-NOAA Jun 25, 2024
3ef2e6b
Port to Orion Rocky 9 (#966)
GeorgeGayno-NOAA Jun 26, 2024
45ee158
adding utils hash 3ef2e6b
kayeekayee Aug 22, 2024
04780cf
adding ufs-utils hash 3ef2e6b
kayeekayee Aug 27, 2024
b23f204
update ccpp hash 3ef2e6b
kayeekayee Aug 29, 2024
2a84db8
update path in .gitmodule
kayeekayee Aug 31, 2024
f689bd2
Correct ccpp path in .gitmodule
kayeekayee Sep 2, 2024
bf906a5
Update UFS_UTILS pointer.
kayeekayee Sep 20, 2024
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
6 changes: 5 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ If there are changes to the build or source code, the tests below must be conduc
- [ ] Compile branch on Hera using GNU.
- [ ] Compile branch in 'Debug' mode on WCOSS2.
- [ ] Run unit tests locally on any Tier 1 machine.
- [ ] Run relevant consistency tests locally on all Tier 1 machine.
- [ ] Run relevant consistency tests locally on all Tier 1 machines.

Optional test.

- [ ] Run full set of chgres_cube consistency tests on Hera.

Describe any additional tests performed.

Expand Down
21 changes: 15 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,16 @@ option(GCYCLE "Enable building global_cycle.fd" ON)
option(FRENCTOOLS "Enable building fre-nctools.fd" ON)
option(GRIDTOOLS "Enable building grid_tools.fd" ON)
option(CHGRES "Enable building chgres_cube.fd" ON)
option(CHGRES_ALL "Build chgres with all input data options." OFF)
option(OROG_MASK_TOOLS "Enable building orog_mask_tools.fd" ON)
# OROG_MASK_TOOLS must be ON for OROG_NETCDF_TOOLS to build.
option(OROG_NETCDF_TOOLS "Enable building orog_netcdf_tools.fd" OFF)
option(SFC_CLIMO_GEN "Enable building sfc_climo_gen.fd" ON)
option(VCOORD_GEN "Enable building vcoord_gen.fd" ON)
option(FVCOMTOOLS "Enable building fvcom_tools.fd" ON)
option(GBLEVENTS "Enable building gblevents.fd" ON)
option(CPLD_GRIDGEN "Enable building cpld_gridgen.fd" ON)
option(OCNICE_PREP "Enable building ocnice_prep.fd" ON)
option(WEIGHT_GEN "Enable building weight_gen.fd" ON)
option(OCEAN_MERGE "Enable building ocean_merge.fd" ON)

Expand All @@ -38,14 +42,14 @@ option(GFS "Enable building GFS-only utilities" OFF)
# When building the GFS, the following need not be built
if(GFS)
message(STATUS "Building utilities specific to the GFS")
set(FRENCTOOLS OFF CACHE BOOL "Disable building fre-nctools.fd" FORCE)
set(GRIDTOOLS OFF CACHE BOOL "Disable building grid_tools.fd" FORCE)
set(OROG_MASK_TOOLS OFF CACHE BOOL "Disable building orog_mask_tools.fd" FORCE)
set(SFC_CLIMO_GEN OFF CACHE BOOL "Disable building sfc_climo_gen.fd" FORCE)
set(VCOORD_GEN OFF CACHE BOOL "Disable building vcoord_gen.fd" FORCE)
set(FVCOMTOOLS OFF CACHE BOOL "Disable building fvcom_tools.fd" FORCE)
set(GBLEVENTS OFF CACHE BOOL "Disable building gblevents.fd" FORCE)
set(CPLD_GRIDGEN OFF CACHE BOOL "Disable building cpld_gridgen.fd" FORCE)
set(OCNICE_PREP OFF CACHE BOOL "Disable building ocnice_prep.fd" FORCE)
set(WEIGHT_GEN OFF CACHE BOOL "Disable building weight_gen.fd" FORCE)
set(OCEAN_MERGE OFF CACHE BOOL "Disable building ocean_merge.fd" FORCE)
endif()
Expand Down Expand Up @@ -97,15 +101,20 @@ if(OPENMP)
find_package(OpenMP REQUIRED COMPONENTS Fortran)
endif()

find_package(sfcio 1.4.0 REQUIRED)
if(CHGRES_ALL)
find_package(sfcio 1.4.0 REQUIRED)
endif()
find_package(w3emc 2.9.0 REQUIRED)
find_package(bacio 2.4.0 REQUIRED)
find_package(nemsio 2.5.0 REQUIRED)
find_package(sigio 2.3.0 REQUIRED)
find_package(sp 2.3.3 REQUIRED)
if(CHGRES_ALL OR GBLEVENTS)
find_package(nemsio 2.5.0 REQUIRED)
find_package(sigio 2.3.0 REQUIRED)
endif()
find_package(ip 3.3.3 REQUIRED)
if(ip_VERSION LESS 5.0)
find_package(sp 2.3.3 REQUIRED)
endif()
find_package(g2 3.4.3 REQUIRED)
find_package(sigio 2.3.0 REQUIRED)

# If doxygen documentation we enabled, build it. This must come before
# adding the source code directories; the main documentation build
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ It also uses the following repositories:

## Installing

On Orion, Hercules, Jet, Hera and WCOSS2 do the following:
On Orion, Hercules, Jet, Hera, S4, Gaea and WCOSS2 do the following:

1) Set the 'fixed' directories using the `link_fixdirs.sh`
script in `./fix`. Usage: `./link_fixdirs.sh $RUN_ENVIR $machine`,
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.0
1.13.0
14 changes: 4 additions & 10 deletions build_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ else
readonly DIR_ROOT=$(cd "$(dirname "$(readlink -f -n "${BASH_SOURCE[0]}" )" )" && pwd -P)
fi

source "${DIR_ROOT}/sorc/machine-setup.sh"

# User Options
target=${target:-"NULL"}
compiler=${compiler:-"intel"}
PW_CSP=${PW_CSP:-} # TODO: This is an implementation from EPIC and consistent with the UFS WM build system.

if [[ "$target" == "linux.*" || "$target" == "macosx.*" ]]; then
unset -f module
Expand All @@ -27,17 +28,10 @@ if [[ "$target" == "linux.*" || "$target" == "macosx.*" ]]; then
set -x
else
set +x
source "${DIR_ROOT}/sorc/machine-setup.sh"
if [[ "${target}" == "noaacloud" ]]; then
#TODO: This will need to be revisited once the EPIC supported-stacks come online.
#TODO: This is a hack due to how the spack-stack module files are generated; there may be a better way to do this.
source /contrib/global-workflow/spack-stack/envs/spack_2021.0.3.env
else
module use "${DIR_ROOT}/modulefiles"
fi
module use "${DIR_ROOT}/modulefiles"
module load "build.$target.$compiler" > /dev/null
module list
set -x
set -x
fi

# Ensure the submodules have been initialized.
Expand Down
2 changes: 1 addition & 1 deletion ccpp-physics
Submodule ccpp-physics updated 445 files
6 changes: 3 additions & 3 deletions ci/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ spack:
compiler: [intel, gcc@10:10, apple-clang@14]
specs:
- [email protected]
- [email protected].0
- [email protected].1
- [email protected]
- [email protected]
- [email protected] precision=d
Expand All @@ -15,8 +15,8 @@ spack:
- [email protected]
- [email protected]
- [email protected]
- [email protected].9+fortran~pnetcdf
- esmf@8.4.2~debug~xerces+external-parallelio
- [email protected].10+fortran~pnetcdf
- esmf@8.6.0
view: true
concretizer:
unify: when_possible
20 changes: 13 additions & 7 deletions docs/main.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ https://github.com/ufs-community/UFS_UTILS.

## Documentation for Previous Versions of UFS_UTILS

* [UFS_UTILS Version 1.13.0](ver-1.13.0/index.html)
* [UFS_UTILS Version 1.12.0](ver-1.12.0/index.html)
* [UFS_UTILS Version 1.11.0](ver-1.11.0/index.html)
* [UFS_UTILS Version 1.10.0](ver-1.10.0/index.html)
* [UFS_UTILS Version 1.9.0](ver-1.9.0/index.html)
Expand All @@ -24,8 +26,12 @@ https://github.com/ufs-community/UFS_UTILS.
- <a href="chgres_cube/index.html">chgres_cube</a> - Creates cold
start initial conditions for FV3 model runs.

- <a href="cpld_gridgen/index.html">cpld_gridgen</a> - Utility to
create the Fix and IC files for the S2SW and S2S applications
- <a href="cpld_gridgen/index.html">cpld_gridgen</a> - Utility to
create the Fix and IC files for the S2SW and S2S applications

- <a href="ocnice_prep/index.html">ocnice_prep</a> - Utility to
create the warmstart files for OCN and ICE from component restart
files at 1/4 deg tripole resolution

- <a href="emcsfc_ice_blend/index.html">emcsfc_ice_blend</a> - Blends
National Ice Center sea ice cover and EMC sea ice concentration data
Expand All @@ -48,7 +54,7 @@ https://github.com/ufs-community/UFS_UTILS.
- <a href="gblevents/index.html">gblevents</a> -
Prepares observational prepbufr reports for subsequent quality
control and analysis programs.

- <a href="global_cycle/index.html">global_cycle</a> -
Updates the GFS surface conditions using external snow and sea ice
analyses. Updates monthly climatological fields such as plant
Expand All @@ -60,12 +66,12 @@ https://github.com/ufs-community/UFS_UTILS.
gnomonic grids, and to compute the equivalent global resolution of a
regional grid.

- <a href="lsm_routines/index.html">lsm_routines</a> - Land surface
- <a href="lsm_routines/index.html">lsm_routines</a> - Land surface
model-specific routines that are utilised elsewhere within UFS_UTILS.
Currently, contains the routines required by global_cycle to
Currently, contains the routines required by global_cycle to
perform data assimilation updates to land model states

- <a href="ocean_merge/index.html">ocean_merge</a> - Utility to
- <a href="ocean_merge/index.html">ocean_merge</a> - Utility to
determine the water mask by merging a lake mask with a mapped
ocean mask from MOM6.

Expand All @@ -82,6 +88,6 @@ https://github.com/ufs-community/UFS_UTILS.
top and the number of vertical levels. Outputs the 'ak' and 'bk'
parameters used by the forecast model to define the hybrid levels.

- <a href="weight_gen/index.html">weight_gen</a> - Utility to
- <a href="weight_gen/index.html">weight_gen</a> - Utility to
create gaussian grid ESMF 'scrip' files for use in creating
ESMF interpolation weight files.
46 changes: 23 additions & 23 deletions docs/source/chgres_cube.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Introduction
------------

The chgres_cube program creates initial condition files to coldstart the forecast model. The initial conditions are created from either Finite-Volume Sphere (FV3) Global Forecast System (GFS), North American Mesoscale Forecast System (NAM), Rapid Refresh (RAP), or High Resolution Rapid Refresh (HRRR) gridded binary version 2 (GRIB2) data.
The chgres_cube program creates initial condition files to coldstart the forecast model. The initial conditions are created from either Finite-Volume Sphere (FV3) Global Forecast System (GFS), North American Mesoscale Forecast System (NAM), Rapid Refresh (RAP), or High Resolution Rapid Refresh (HRRR) gridded binary version 2 (GRIB2) data.

Code structure
--------------
Expand Down Expand Up @@ -55,7 +55,7 @@ Program inputs and outputs for global applications

**Inputs**

Users may create their own global grids, or use the pre-defined files are located `here <https://ftp.emc.ncep.noaa.gov/EIB/UFS/global/fix/fix_fv3_gmted2010.v20191213/>`_.
Users may create their own global grids, or use the pre-defined files located in the `./CRES directories <https://noaa-nws-global-pds.s3.amazonaws.com/index.html#fix/orog/20231027/>`_. (where CRES is the atmospheric resolution and mxRES is the ocean resolution).

* FV3 mosaic file - (NetCDF format)
* CRES_mosaic.nc
Expand All @@ -69,22 +69,22 @@ Users may create their own global grids, or use the pre-defined files are locate
* CRES_grid.tile6.nc

* FV3 orography files - (NetCDF format)
* CRES_oro_data.tile1.nc
* CRES_oro_data.tile2.nc
* CRES_oro_data.tile3.nc
* CRES_oro_data.tile4.nc
* CRES_oro_data.tile5.nc
* CRES_oro_data.tile6.nc

* FV3 surface climatological files - Located under the `./fix_sfc <https://ftp.emc.ncep.noaa.gov/EIB/UFS/global/fix/fix_fv3_gmted2010.v20191213/C48/fix_sfc>`_ sub-directory. One file for each tile. NetCDF format.
* CRES.facsf.tileX.nc (fractional coverage for strong/weak zenith angle dependent albedo)
* CRES.maximum_snow_albedo.tileX.nc (maximum snow albedo)
* CRES.slope_type.tileX.nc (slope type)
* CRES.snowfree_albedo.tileX.nc (snow-free albedo)
* CRES.soil_type.tileX.nc (soil type)
* CRES.subtrate_temperature.tileX.nc (soil substrate temperature)
* CRES.vegetation_greenness.tileX.nc (vegetation greenness)
* CRES.vegetation_type.tileX.nc (vegetation type)
* CRES.mxRES_oro_data.tile1.nc
* CRES.mxRES_oro_data.tile2.nc
* CRES.mxRES_oro_data.tile3.nc
* CRES.mxRES_oro_data.tile4.nc
* CRES.mxRES_oro_data.tile5.nc
* CRES.mxRES_oro_data.tile6.nc

* FV3 surface climatological files - Located under the `./CRES/sfc <https://noaa-nws-global-pds.s3.amazonaws.com/index.html#fix/orog/20231027/>`_ subdirectories. One file for each tile. NetCDF format.
* CRES.mxRES.facsf.tileX.nc (fractional coverage for strong/weak zenith angle dependent albedo)
* CRES.mxRES.maximum_snow_albedo.tileX.nc (maximum snow albedo)
* CRES.mxRES.slope_type.tileX.nc (slope type)
* CRES.mxRES.snowfree_albedo.tileX.nc (snow-free albedo)
* CRES.mxRES.soil_type.tileX.nc (soil type)
* CRES.mxRES.subtrate_temperature.tileX.nc (soil substrate temperature)
* CRES.mxRES.vegetation_greenness.tileX.nc (vegetation greenness)
* CRES.mxRES.vegetation_type.tileX.nc (vegetation type)

* FV3 vertical coordinate file. Text file. `Located here <https://noaa-ufs-srw-pds.s3.amazonaws.com/index.html#fix/fix_am/>`_.
* global_hyblev.l$LEVS.txt
Expand All @@ -93,15 +93,15 @@ Users may create their own global grids, or use the pre-defined files are locate

**Outputs**

* Atmospheric coldstart files. NetCDF.
* Atmospheric coldstart files. NetCDF.
* out.atm.tile1.nc
* out.atm.tile2.nc
* out.atm.tile3.nc
* out.atm.tile4.nc
* out.atm.tile5.nc
* out.atm.tile6.nc

* Surface/Near Sea Surface Temperature (NSST) coldstart files. NetCDF
* Surface/Near Sea Surface Temperature (NSST) coldstart files. NetCDF
* out.sfc.tile1.nc
* out.sfc.tile1.nc
* out.sfc.tile1.nc
Expand Down Expand Up @@ -264,10 +264,10 @@ The following four sets of files/directories should all be located in the same d

**Outputs**

* Atmospheric coldstart file. NetCDF.
* Atmospheric coldstart file. NetCDF.
* out.atm.tile7.nc

* Surface coldstart file. NetCDF.
* Surface coldstart file. NetCDF.
* out.sfc.tile7.nc

Where to find FV3GFS, NAM, HRRR, and RAP GRIB2 data for regional applications
Expand Down Expand Up @@ -369,7 +369,7 @@ Namelist variables with “input” in their name refer to data input to chgres_
* Set to 2 to create a boundary condition file. Use this option for all but the initialization time.
* halo_blend - Integer number of row/columns to apply halo blending into the domain, where model and lateral boundary tendencies are applied.
* halo_bndy - Integer number of rows/columns that exist within the halo, where pure lateral boundary conditions are applied.
* external_model - Name of source model for input data. Valid options: 'GFS', 'NAM', 'RAP', 'HRRR'. (Default: 'GFS')
* external_model - Name of source model for input data. Valid options: 'GFS', 'NAM', 'RAP', 'HRRR', 'RRFS'. (Default: 'GFS')

**Optional Entries**

Expand Down
76 changes: 73 additions & 3 deletions docs/source/ufs_utils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,11 @@ Program inputs and outputs

* The "grid" files (CRES_grid.tile#.nc) containing the geo-reference records for the grid - (NetCDF). Created by the make_hgrid or regional_esg_grid programs.
* Global 30-arc-second University of Maryland land cover data. Used to create the land-sea mask.
* landcover30.fixed (unformatted binary). Located here `./fix/fix_orog <https://noaa-ufs-srw-pds.s3.amazonaws.com/index.html#fix/fix_orog/>`_.
* landcover.umd.30s.nc (NetCDF). Located here `./fix/fix_orog <https://noaa-ufs-srw-pds.s3.amazonaws.com/index.html#fix/fix_orog/>`_.
* Global 30-arc-second USGS GMTED2010 orography data.
* gmted2010.30sec.int (unformatted binary). Located here `./fix/fix_orog <https://noaa-ufs-srw-pds.s3.amazonaws.com/index.html#fix/fix_orog/>`_.
* topography.gmted2010.30s.nc (NetCDF). Located here `./fix/fix_orog <https://noaa-ufs-srw-pds.s3.amazonaws.com/index.html#fix/fix_orog/>`_.
* 30-arc-second RAMP Antarctic terrain data (Radarsat Antarctic Mapping Project)
* thirty.second.antarctic.new.bin (unformatted binary). Located here `./fix/fix_orog <https://noaa-ufs-srw-pds.s3.amazonaws.com/index.html#fix/fix_orog/>`_.
* topography.antarctica.ramp.30s.nc (NetCDF). Located here `./fix/fix_orog <https://noaa-ufs-srw-pds.s3.amazonaws.com/index.html#fix/fix_orog/>`_.

**Output data:**

Expand Down Expand Up @@ -665,3 +665,73 @@ Run script
----------

To run, use the machine-dependent script under ./util/weight_gen

***************************************************
UFS_UTILS utilities
***************************************************

gdas_init
=========

Introduction
------------

The gdas_init utility is used to create coldstart initial conditions for global cycled and forecast-only experiments using the chgres_cube program. It has two components: one that pulls the input data required by chgres_cube from HPSS, and one that runs chgres_cube. The utility is only supported on machines with access to HPSS:

* Hera
* Jet
* WCOSS2
* S4 (Only the chgres_cube step is supported, not the data pull step.)

Location
--------

Find it here: ./util/gdas_init

Build UFS_UTILS and set 'fixed' directories
-------------------------------------------

Invoke the build script from the root directory:

::

./build_all.sh

Set the 'fixed' directories using the script in the './fix' subdirectory (where $MACHINE is 'hera', 'jet', 'wcoss2', or 's4'):

::

./link_fixdirs.sh emc $MACHINE

Configure for your experiment
-----------------------------

Edit the variables in the 'config' file for your experiment:

* **EXTRACT_DIR** - Directory where data extracted from HPSS is stored.
* **EXTRACT_DATA** - Set to 'yes' to extract data from HPSS. If data has been extracted and is located in EXTRACT_DIR, set to 'no'. On 's4' this step can't be run. Instead, the data must be pulled from another machine.
* **RUN_CHGRES** - To run chgres, set to 'yes'. To extract data only, set to 'no'.
* **yy/mm/dd/hh** - The year/month/day/hour of your desired experiment. Use a four digit year and two digits for month/day/hour. **NOTE:** *The standard build of chgres_cube does NOT support experiments prior to June 12, 2019. To coldstart an experiment prior to these dates, contact a repository manager for assistance.*
* **LEVS** - Number of hybrid levels plus 1. To run with 127 levels, set LEVS to 128.
* **CRES_HIRES** - Resolution of the hires component of your experiment. Example: C768.
* **CRES_ENKF** - Resolution of the enkf component of the experiments.
* **UFS_DIR** - Location of your cloned UFS_UTILS repository.
* **OUTDIR** - Directory where the coldstart data output from chgres is stored.
* **CDUMP** - When 'gdas', will process gdas and enkf members. When 'gfs', will process gfs member for running free forecast only.
* **use_v16retro** - When 'yes', use v16 retrospective parallel data. The retrospective parallel tarballs can be missing or incomplete. So this option may not always work. Contact a UFS_UTILS repository manager if you encounter problems.

Note: This utility selects the ocean resolution in the set_fixed_files.sh script using a default based on the user-selected CRES value. For example, for a cycled experiment with a CRES_HIRES/CRES_ENKF of C384/C192, the ocean resolution defaults to 0.25/0.50-degree. To choose another ocean resolution, the user will need to manually modify the set_fixed_files.sh script.


Kick off the utility
--------------------

Submit the driver script (where $MACHINE is 'hera', 'jet', 'wcoss2', or 's4')

::

./driver.$MACHINE.sh

The standard output will be placed in log files in the current directory.

The converted output will be found in $OUTDIR, including the needed abias and radstat initial condition files (if CDUMP=gdas). The files will be in the needed directory structure for the global-workflow system, therefore a user can move the contents of their $OUTDIR directly into their $ROTDIR.
4 changes: 2 additions & 2 deletions driver_scripts/driver_grid.hercules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ fi
#-----------------------------------------------------------------------

export home_dir=$SLURM_SUBMIT_DIR/..
export TEMP_DIR=/work/noaa/stmp/$LOGNAME/fv3_grid.$gtype
export out_dir=/work/noaa/stmp/$LOGNAME/my_grids
export TEMP_DIR=/work2/noaa/stmp/$LOGNAME/fv3_grid.$gtype
export out_dir=/work2/noaa/stmp/$LOGNAME/my_grids

#-----------------------------------------------------------------------
# Should not need to change anything below here.
Expand Down
Loading
Loading