The work is still in a development fork.
- git clone --recursive -b feature/inline https://github.com/uturuncoglu/ufs-weather-model.git
- cd ufs-weather-model/tests
- ./compile.sh "orion" "-DAPP=ATM -DCCPP_SUITES=FV3_GFS_v15p2,FV3_GFS_v16,FV3_GFS_v17_p8,FV3_RRFS_v1beta,FV3_HRRR,FV3_RAP,FV3_GFS_v15_thompson_mynn_lam3km,FV3_WoFS_v0 -D32BIT=ON -DCDEPS_INLINE=ON" rrfs intel NO NO
Note that this is RRFS configuration (25 km CONUS) and built on "orion" (replace this with "derecho" if you need). Once the code is built, the executable fv3_rrfs.exe
can be found in the same directory.
The pre-configured run directories can be found on Orion and Derecho,
- Orion:
/work/noaa/nems/tufuk/SRW/expt_dirs/test_community/2023070600_dev_inline
- Derecho:
/glade/work/turuncu/GL/2023070600_dev_inline
The FVCOM data is staged on INPUT_DATA/
folder and stream.config
includes the namelist options for the CDEPS Inline.
The input.nml
(main configuration file for FV3) has extra arguments called as use_inline
. This needs to be set to .true.
to use CDEPS Inline capability under FV3 along with the -DCDEPS_INLINE=ON
build option in the compile step.
To perform out-of-box run (without using CDEPS inline), just set use_inline = .false.
in input.nml
and compile without -DCDEPS_INLINE=ON
option.
The user could copy the run directory and issue following commands to use executable that is created in the previous step. These are example commands on NCAR's Derecho.
cp -r /glade/work/turuncu/GL/2023070600_dev_inline .
cd 2023070600_dev_inline
ln -sf ../ufs-weather-model/tests/fv3_rrfs.exe fv3.exe
qsub job_card (or sbatch job_card on Orion)
Note: Do not forget to change #PBS -A P93300606
line in the job_card (the actual line could be different for Orion
)
This part is optional if you want to run the model for different dates.
- Download data using
./get_data.sh
script. Note thathttps://www.glerl.noaa.gov/emf/OWAQ_fv3
has only recent data. I think the each file found in the link is belong to different 2-days run (needs to be confirmed). - Subset data over Great Lakes region using
subset.sh
script. - Fix input data using
fix.sh
script. This script fixes the time axis and applies unit conversion. It also creates a mask file which is used by CDEPS inline to update only specific part of the domain.
The following steps are only required if ESMF mesh file for data is not available or region of interest is changed
- Use
gen_script.ncl
NCL script to create SCRIP grid definition file that represents the subsetted data. Note thatifile
argument could be different in your case. - Use
create_mesh.sh
file to create ESMF Mesh file that will be used by CDEPS inline to define the domain. Note that this script uses ESMF module from UFS Weather Model dependencies and path of the model needs to be changed.