-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
109 additions
and
96 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 |
---|---|---|
|
@@ -137,7 +137,7 @@ | |
{ | ||
"category": "s2s", | ||
"index_list": "3", | ||
"run": false | ||
"run": true | ||
}, | ||
{ | ||
"category": "s2s", | ||
|
File renamed without changes
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
45 changes: 45 additions & 0 deletions
45
parm/use_cases/model_applications/s2s/UserScript_fcstS2S_obsERAI_CrossSpectra.conf
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,45 @@ | ||
[config] | ||
|
||
PROCESS_LIST = UserScript(comp_spectra), UserScript(plot_spectra) | ||
|
||
# Note: time looping is not used in this use case | ||
LOOP_BY = REALTIME | ||
VALID_TIME_FMT = %Y | ||
VALID_BEG = 2014 | ||
|
||
USER_SCRIPT_RUNTIME_FREQ = RUN_ONCE | ||
|
||
[user_env_vars] | ||
# Make output base avabilable to the script | ||
COMP_SPECTRA_SCRIPT_OUTPUT_DIR = {OUTPUT_BASE}/s2s/UserScript_fcstS2S_obsERAI_CrossSpectra/output | ||
|
||
# YAML configuration file for the cross spectra calculation | ||
COMP_SPECTRA_YAML_CONFIG_NAME = {METPLUS_BASE}/parm/use_cases/model_applications/s2s/UserScript_fcstS2S_obsERAI_CrossSpectra/spectra_comp.yaml | ||
|
||
# Input files for the cross spectra calculation | ||
COMP_SPECTRA_INPUT_FILE_NAMES = {INPUT_BASE}/model_applications/s2s/UserScript_fcstS2S_obsERAI_CrossSpectra/data/precip.erai.sfc.1p0.2x.2014-2016.nc,{INPUT_BASE}/model_applications/s2s/UserScript_fcstS2S_obsERAI_CrossSpectra/data/prate_avg_ufs_p7_2014040100.nc,{INPUT_BASE}/model_applications/s2s/UserScript_fcstS2S_obsERAI_CrossSpectra/data/u850_ufs_p7_2014040100.nc,{INPUT_BASE}/model_applications/s2s/UserScript_fcstS2S_obsERAI_CrossSpectra/data/u200_ufs_p7_2014040100.nc | ||
|
||
PLOT_SPECTRA_INPUT_FILE_NAMES = {OUTPUT_BASE}/s2s/UserScript_fcstS2S_obsERAI_CrossSpectra/output/SpaceTimeSpectra_ufs_p7_P_D850_symm_4spd.nc,{OUTPUT_BASE}/s2s/UserScript_fcstS2S_obsERAI_CrossSpectra/output/SpaceTimeSpectra_ufs_p7_P_D200_symm_4spd.nc,{OUTPUT_BASE}/s2s/UserScript_fcstS2S_obsERAI_CrossSpectra/output/SpaceTimeSpectra_ufs_p7_P_D200_symm_4spd.nc | ||
|
||
PLOT_SPECTRA_YAML_CONFIG_NAME = {METPLUS_BASE}/parm/use_cases/model_applications/s2s/UserScript_fcstS2S_obsERAI_CrossSpectra/spectra_plot.yaml | ||
|
||
PLOT_SPECTRA_OUTPUT_DIR = {OUTPUT_BASE}/s2s/UserScript_fcstS2S_obsERAI_CrossSpectra/plots/ | ||
|
||
|
||
[comp_spectra] | ||
# Settings for computing the cross-spectra | ||
USER_SCRIPT_COMMAND = python {METCALCPY_BASE}/metcalcpy/contributed/spacetime/cross_spectra.py | ||
|
||
LOG_FILE = "cross_spectra.log" | ||
LOG_LEVEL = "DEBUG" | ||
|
||
METCALCPY_BASE = {METPLUS_BASE}/../METcalcpy | ||
|
||
|
||
[plot_spectra] | ||
# settings for plotting the cross-spectra | ||
|
||
USER_SCRIPT_COMMAND = python {METPLUS_BASE}/parm/use_cases/model_applications/s2s/UserScript_fcstS2S_obsERAI_CrossSpectra/cross_spectra_plot.py | ||
|
||
LOG_FILE = "cross_spectra_plot.log" | ||
LOG_LEVEL = "INFO" |
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
12 changes: 12 additions & 0 deletions
12
...se_cases/model_applications/s2s/UserScript_fcstS2S_obsERAI_CrossSpectra/spectra_comp.yaml
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,12 @@ | ||
pathout: | ||
- !ENV '${COMP_SPECTRA_SCRIPT_OUTPUT_DIR}' | ||
|
||
model: 'ufs_p7' | ||
spd : 4 | ||
nperseg : 15 # in days | ||
segOverLap : -5 # in days | ||
Symmetry : 'symm' | ||
latMin : -15. | ||
latMax : 15. | ||
datestrt : '2014-04-01T06:00:00' # start date, format: yyyy-mm-ddTHH:MM:ss | ||
datelast : '2014-05-04T18:00:00' # end date, format: yyyy-mm-ddTHH:MM:ss |
5 changes: 5 additions & 0 deletions
5
...se_cases/model_applications/s2s/UserScript_fcstS2S_obsERAI_CrossSpectra/spectra_plot.yaml
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,5 @@ | ||
plotpath: | ||
- !ENV '${PLOT_SPECTRA_OUTPUT_DIR}' | ||
model: 'ufs_p7' | ||
var2: 'u850' | ||
var3: 'u200' |
55 changes: 0 additions & 55 deletions
55
parm/use_cases/model_applications/s2s/UserScript_obsPrecip_obsOnly_CrossSpectraPlot.conf
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
...es/model_applications/s2s/UserScript_obsPrecip_obsOnly_CrossSpectraPlot/spectra_plot.yaml
This file was deleted.
Oops, something went wrong.