Skip to content

Commit

Permalink
merge ufs-community#2040: Remove nfhout, nfhmax_hf, nfhout_hf etc con…
Browse files Browse the repository at this point in the history
…figuration parameters
  • Loading branch information
SamuelTrahanNOAA committed Dec 18, 2023
2 parents 057c7bf + 81526d7 commit 0558b8b
Show file tree
Hide file tree
Showing 57 changed files with 7,093 additions and 6,413 deletions.
6 changes: 4 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[submodule "FV3"]
path = FV3
url = https://github.com/NOAA-EMC/fv3atm
branch = develop
#url = https://github.com/NOAA-EMC/fv3atm
#branch = develop
url = https://github.com/DusanJovic-NOAA/fv3atm
branch = remove_nfhout
[submodule "WW3"]
path = WW3
url = https://github.com/NOAA-EMC/WW3
Expand Down
2 changes: 1 addition & 1 deletion FV3
20 changes: 0 additions & 20 deletions doc/UsersGuide/source/InputsOutputs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1404,10 +1404,6 @@ shows the following parameters that can be set in ``model_configure`` at run-tim
- atmosphere time step in second
- integer
- 1800 (for C96)
* - output_1st_tstep_rst
- output first time step history file after restart
- logical
- .false.
* - restart_interval
- frequency to output restart file or forecast hours to write out restart file
- integer
Expand Down Expand Up @@ -1452,22 +1448,6 @@ shows the following parameters that can be set in ``model_configure`` at run-tim
- j-dimension for output grid
- integer
- 190
* - nfhout
- history file output frequency
- integer
- 3
* - nfhmax_hf
- forecast length of high history file
- integer
- 0 (0:no high frequency output)
* - nfhout_hf
- high history file output frequency
- integer
- 1
* - nsout
- output frequency of number of time step
- integer
- -1 (negative: turn off the option, 1: output history file at every time step)
* - output_fh
- history file output forecast hours or history file output frequency if the second elelment is -1
- real
Expand Down
14 changes: 1 addition & 13 deletions tests/default_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -564,9 +564,6 @@ export NPZ=64
export NPZP=65
export NSTF_NAME=2,1,1,0,5
export OUTPUT_FH="12 -1"
export NFHOUT=12
export NFHMAX_HF=12
export NFHOUT_HF=6
export FHZERO=6
export FNALBC="'global_snowfree_albedo.bosu.t126.384.190.rg.grb'"
export FNVETC="'global_vegtype.igbp.t126.384.190.rg.grb'"
Expand Down Expand Up @@ -872,7 +869,6 @@ export FIELD_TABLE=field_table_thompson_noaero_tke_GOCART
export DIAG_TABLE=diag_table_p8_template
export DIAG_TABLE_ADDITIONAL=''

export NSOUT=-1
export FHZERO=6
export DT_INNER=${DT_ATMOS}

Expand Down Expand Up @@ -1023,7 +1019,6 @@ export SHOUR=00
export FHMAX=24
export DT_ATMOS=900
export FHROT=0
export NFHOUT=6

# required but unused
export WARM_START=.false.
Expand Down Expand Up @@ -1148,9 +1143,6 @@ export OUTPUT_GRID="'regional_latlon'"
export OUTPUT_FILE="'netcdf'"
export IDEFLATE=0
export QUANTIZE_NSD=0
export NFHOUT=3
export NFHMAX_HF=-1
export NFHOUT_HF=3
export CEN_LON=-62.0
export CEN_LAT=25.0
export LON1=-114.5
Expand Down Expand Up @@ -1341,11 +1333,7 @@ export NY_6=''
export DX_6=''
export DY_6=''

export NFHOUT=3
export NFHMAX_HF=-1
export NFHOUT_HF=3
export NSOUT=-1
export OUTPUT_FH=-1
export OUTPUT_FH='3 -1'
}
export_hrrr() {
export_fv3
Expand Down
1,768 changes: 914 additions & 854 deletions tests/logs/RegressionTests_acorn.log

Large diffs are not rendered by default.

1,820 changes: 939 additions & 881 deletions tests/logs/RegressionTests_gaea-c5.log

Large diffs are not rendered by default.

1,822 changes: 940 additions & 882 deletions tests/logs/RegressionTests_gaea.log

Large diffs are not rendered by default.

1,943 changes: 1,035 additions & 908 deletions tests/logs/RegressionTests_hercules.log

Large diffs are not rendered by default.

1,668 changes: 863 additions & 805 deletions tests/logs/RegressionTests_jet.log

Large diffs are not rendered by default.

2,260 changes: 1,198 additions & 1,062 deletions tests/logs/RegressionTests_orion.log

Large diffs are not rendered by default.

1,749 changes: 944 additions & 805 deletions tests/logs/RegressionTests_wcoss2.log

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions tests/parm/datm_cdeps_configure.IN
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,3 @@ start_second: 0
nhours_fcst: @[FHMAX]
dt_atmos: @[DT_ATMOS]
fhrot: @[FHROT]
nfhout: @[NFHOUT]
nfhmax_hf: -1
nfhout_hf: 3
nsout: -1
1 change: 1 addition & 0 deletions tests/parm/model_configure.IN
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ write_groups: @[WRITE_GROUP]
write_tasks_per_group: @[WRTTASK_PER_GROUP]
itasks: @[ITASKS]
output_history: @[OUTPUT_HISTORY]
history_file_on_native_grid: @[HISTORY_FILE_ON_NATIVE_GRID]
write_dopost: @[WRITE_DOPOST]
write_nsflip: @[WRITE_NSFLIP]
num_files: @[NUM_FILES]
Expand Down
1 change: 0 additions & 1 deletion tests/parm/model_configure_atmaq.IN
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ num_files: @[NUM_FILES]
filename_base: @[FILENAME_BASE]
output_file: @[OUTPUT_FILE]
output_fh: @[OUTPUT_FH]
nsout: @[NSOUT]
output_grid: @[OUTPUT_GRID]

cen_lon: @[CEN_LON]
Expand Down
34 changes: 0 additions & 34 deletions tests/parm/model_configure_fhout.IN

This file was deleted.

5 changes: 0 additions & 5 deletions tests/parm/model_configure_hafs.IN
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ start_second: 0
nhours_fcst: @[FHMAX]
dt_atmos: @[DT_ATMOS]
restart_interval: @[RESTART_INTERVAL]
output_1st_tstep_rst: .false.

quilting: @[QUILTING]
quilting_restart: @[QUILTING_RESTART]
Expand Down Expand Up @@ -140,10 +139,6 @@ dx: @[DX_6]
dy: @[DY_6]
</output_grid_06>

nfhout: @[NFHOUT] # Output frequency in hours after forecast hour nfhmax_hf
nfhmax_hf: @[NFHMAX_HF] # Number of forecast hours until output frequency nfhout takes affect
nfhout_hf: @[NFHOUT_HF] # Output frequency in hours until forecast hour nfhmax_hf
nsout: @[NSOUT] # Output frequency in time steps (positive values override nfhout and nfhout_hf)
output_fh: @[OUTPUT_FH] # Output forecast hours controlled by output_fh (see notes below)
# a) An array of output_fh means to output history files at those forecast time (e.g., "output_fh: 0 1 2 3 12 24 48")
# If the first elelment is zero, it means the first time step output
Expand Down
1 change: 0 additions & 1 deletion tests/parm/model_configure_regional.IN
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,3 @@ dy: 3000.0
#dlat: 0.025

output_fh: @[OUTPUT_FH]
nsout: -1
24 changes: 3 additions & 21 deletions tests/parm/model_configure_regional_rrfs_a.IN
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ nhours_fcst: @[FHMAX]
dt_atmos: 60
cpl: .false.
restart_interval: @[RESTART_INTERVAL]
output_1st_tstep_rst: .false.
quilting: @[QUILTING]


Expand All @@ -21,26 +20,9 @@ num_files: 2
filename_base: 'dyn''phy'
output_file: 'netcdf'
write_nemsioflip: .false.
#
# Write-component output frequency parameter definitions:
#
# nfhout:
# Output frequency in hours after forecast hour "nfhmax_hf".
#
# nfhmax_hf:
# Number of forecast hours until output frequency "nfhout" takes affect.
#
# nfhout_hf:
# Output frequency in hours until forecast hour "nfhmax_hf".
#
# nsout:
# Output frequency in time steps (positive values override "nfhout" and
# "nfhout_hf").
#
nfhout: 1
nfhmax_hf: 60
nfhout_hf: 1
nsout: 0

output_fh: 1 -1

#
# Coordinate system used by the output grid.
#
Expand Down
4 changes: 1 addition & 3 deletions tests/parm/model_configure_regional_stoch.IN
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ fhrot: @[FHROT]

dt_atmos: 36
restart_interval: @[RESTART_INTERVAL]
output_1st_tstep_rst: .false.

quilting: @[QUILTING]
write_groups: 1
Expand All @@ -32,6 +31,5 @@ lon1: -109.97410429
lat1: 26.31459843
dx: 3000.0
dy: 3000.0

output_fh: @[OUTPUT_FH]
nsout: -1
22 changes: 1 addition & 21 deletions tests/parm/model_configure_rrfs_conus13km.IN
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ fhrot: @[FHROT]

dt_atmos: @[DT_ATMOS]
restart_interval: @[RESTART_INTERVAL]
output_1st_tstep_rst: .false.

quilting: @[QUILTING]
quilting_restart: @[QUILTING_RESTART]
Expand All @@ -29,26 +28,7 @@ kchunk3d: @[KCHUNK3D]
imo: @[IMO]
jmo: @[JMO]

#
# Write-component output frequency parameter definitions:
#
# nfhout:
# Output frequency in hours after forecast hour "nfhmax_hf".
#
# nfhmax_hf:
# Number of forecast hours until output frequency "nfhout" takes affect.
#
# nfhout_hf:
# Output frequency in hours until forecast hour "nfhmax_hf".
#
# nsout:
# Output frequency in time steps (positive values override "nfhout" and
# "nfhout_hf").
#
nfhout: 1
nfhmax_hf: 60
nfhout_hf: 1
nsout: -1
output_fh: 1 -1

#
# Coordinate system used by the output grid.
Expand Down
2 changes: 0 additions & 2 deletions tests/parm/ufs.configure.atmw.IN
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ WAV_omp_num_threads: @[wav_omp_num_threads]
WAV_attributes::
Verbosity = 0
OverwriteSlice = false
diro = "."
logfile = wav.log
mesh_wav = @[MESH_WAV]
user_sets_restname = true
::
Expand Down
Loading

0 comments on commit 0558b8b

Please sign in to comment.