Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyCaitSith committed Oct 16, 2023
1 parent 1c4603b commit ff7cd07
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 16 deletions.
18 changes: 11 additions & 7 deletions functions/data_library_goes.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
'dir_colormaps': '/uufs/chpc.utah.edu/common/home/u1237353/climetlab-my-plugin/colormaps',
'dir_namelists': '/uufs/chpc.utah.edu/common/home/u1237353/GOES-R-observation-error-covariance/02_Ida/namelists',
'NHC_best_track': '2021_09L_Ida.csv',
'hwrf_header': 'hwrf.18x18.AL092021.2021082506',
'hwrf_header': 'hwrf.18x18.AL092021.2021082606',
'ibtracs': {'filename': 'ibtracs.ALL.list.v04r00.csv', 'season': 2021, 'name': 'IDA'},
'IMERG_version': {'run': 'HHR', 'version': 'V06B'},
'CMORPH_version': '8km-30min',
Expand Down Expand Up @@ -70,14 +70,16 @@
compare_schemes['GOES_Laura_scheme_02'] = {
'cases': [('/02_GOES_Bias_Correction/27_ChCor', 'Laura', 'NPB'), \
('/02_GOES_Bias_Correction/27_ChCor', 'Laura', 'NPB_ASRBC4CLD_08'), \
('/02_GOES_Bias_Correction/27_ChCor', 'Laura', 'NPB_ASRBC4CLD_09'), \
('/02_GOES_Bias_Correction/27_ChCor', 'Laura', 'NPB_ASRBC4CLD_10'), \
('/02_GOES_Bias_Correction/27_ChCor', 'Laura', 'NPB_ASRBC4CLD_CLD_08'), \
('/02_GOES_Bias_Correction/27_ChCor', 'Laura', 'NPB_ASRBC4CLD_CLD_09'), \
('/02_GOES_Bias_Correction/27_ChCor', 'Laura', 'NPB_ASRBC4CLD_CLD_10'), \
('/02_GOES_Bias_Correction/27_ChCor', 'Laura', 'NPB_ASRBC4CLD_CLD_ALL')],
'dir_save': '/uufs/chpc.utah.edu/common/home/zpu-group16/cfeng/02_GOES_Bias_Correction/27_ChCor/track_intensity/figures',
'labels': ['NPB', 'NPB_ASRBC4CLD_08', 'NPB_ASRBC4CLD_CLD_08', 'NPB_ASRBC4CLD_CLD_09', 'NPB_ASRBC4CLD_CLD_10', 'NPB_ASRBC4CLD_CLD_ALL'],
'colors': [sns_bright_cmap[0], sns_bright_cmap[1], sns_bright_cmap[2], sns_bright_cmap[3], sns_bright_cmap[4], sns_bright_cmap[5]],
'linestyles': ['-', '-', '-', '-', '-', '-'],
'labels': ['NPB', 'NPB_ASRBC4CLD_08', 'NPB_ASRBC4CLD_09', 'NPB_ASRBC4CLD_10', 'NPB_ASRBC4CLD_CLD_08', 'NPB_ASRBC4CLD_CLD_09', 'NPB_ASRBC4CLD_CLD_10', 'NPB_ASRBC4CLD_CLD_ALL'],
'colors': [sns_bright_cmap[0], sns_bright_cmap[1], sns_bright_cmap[2], sns_bright_cmap[3], sns_bright_cmap[4], sns_bright_cmap[5], sns_bright_cmap[6], sns_bright_cmap[7]],
'linestyles': ['-', '-', '-', '-', '-', '-', '-', '-'],
}
compare_schemes['GOES_Laura_scheme_03'] = {
'cases': [('/02_GOES_Bias_Correction/27_ChCor', 'Laura', 'ASRBC4CLD_CLD_08'), \
Expand All @@ -91,14 +93,16 @@
}
compare_schemes['GOES_Laura_scheme_04'] = {
'cases': [('/02_GOES_Bias_Correction/27_ChCor', 'Laura', 'NPB_ASRBC4CLD_08'), \
('/02_GOES_Bias_Correction/27_ChCor', 'Laura', 'NPB_ASRBC4CLD_09'), \
('/02_GOES_Bias_Correction/27_ChCor', 'Laura', 'NPB_ASRBC4CLD_10'), \
('/02_GOES_Bias_Correction/27_ChCor', 'Laura', 'NPB_ASRBC4CLD_CLD_08'), \
('/02_GOES_Bias_Correction/27_ChCor', 'Laura', 'NPB_ASRBC4CLD_CLD_09'), \
('/02_GOES_Bias_Correction/27_ChCor', 'Laura', 'NPB_ASRBC4CLD_CLD_10'), \
('/02_GOES_Bias_Correction/27_ChCor', 'Laura', 'NPB_ASRBC4CLD_CLD_ALL')],
'dir_save': '/uufs/chpc.utah.edu/common/home/zpu-group16/cfeng/02_GOES_Bias_Correction/27_ChCor/track_intensity/figures',
'labels': ['NPB_ASRBC4CLD_08', 'NPB_ASRBC4CLD_CLD_08', 'NPB_ASRBC4CLD_CLD_09', 'NPB_ASRBC4CLD_CLD_10', 'NPB_ASRBC4CLD_CLD_ALL'],
'colors': [sns_bright_cmap[0], sns_bright_cmap[1], sns_bright_cmap[2], sns_bright_cmap[3], sns_bright_cmap[4]],
'linestyles': ['-', '-', '-', '-', '-'],
'labels': ['NPB_ASRBC4CLD_08', 'NPB_ASRBC4CLD_09', 'NPB_ASRBC4CLD_10', 'NPB_ASRBC4CLD_CLD_08', 'NPB_ASRBC4CLD_CLD_09', 'NPB_ASRBC4CLD_CLD_10', 'NPB_ASRBC4CLD_CLD_ALL'],
'colors': [sns_bright_cmap[0], sns_bright_cmap[1], sns_bright_cmap[2], sns_bright_cmap[3], sns_bright_cmap[4], sns_bright_cmap[5], sns_bright_cmap[6]],
'linestyles': ['-', '-', '-', '-', '-', '-', '-'],
}
compare_schemes['GOES_Laura_scheme_05'] = {
'cases': [('/02_GOES_Bias_Correction/27_ChCor', 'Laura', 'NPB_ASRBC4CLD_CLD_10'), \
Expand Down
4 changes: 2 additions & 2 deletions functions/gfdl_vortex_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def link_wrfout(data_library_name, dir_case, case_name, exp_name, \
else:
anl_start_time = input_anl_start_time
if input_forecast_end_time == datetime(2000, 1, 1, 0, 0, 0):
forecast_end_time = initial_time + timedelta(hours=cycling_interval*da_cycle + forecast_hours)
forecast_end_time = initial_time + timedelta(hours=cycling_interval*da_cycle + forecast_hours + 6)
else:
forecast_end_time = input_forecast_end_time
dir_in = os.path.join(dir_exp, 'cycling_da', case, 'bkg')
Expand Down Expand Up @@ -127,7 +127,7 @@ def process_gfdl_files(data_library_name, dir_case, case_name, exp_name, \
anl_start_time = input_anl_start_time

if input_forecast_end_time == datetime(2000, 1, 1, 0, 0, 0):
forecast_end_time = initial_time + timedelta(hours=cycling_interval*da_cycle + forecast_hours)
forecast_end_time = initial_time + timedelta(hours=cycling_interval*da_cycle + forecast_hours + 6)
else:
forecast_end_time = input_forecast_end_time

Expand Down
14 changes: 7 additions & 7 deletions notebooks/generate_gefs_ensembles.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@
"metadata": {},
"outputs": [],
"source": [
"from generate_gefs_ensembles import run_wrf_forecast_gefs\n",
"# from generate_gefs_ensembles import run_wrf_forecast_gefs\n",
"\n",
"run_wrf_forecast_gefs(data_library_name='cpex',\n",
" dir_case='/08_CPEX/05_CV_RF07_AEW06',\n",
" case_name='AEW06',\n",
" whether_wait=False, nodes=1, ntasks=32, account='zpu-np', partition='zpu-np')"
"# run_wrf_forecast_gefs(data_library_name='cpex',\n",
"# dir_case='/08_CPEX/05_CV_RF07_AEW06',\n",
"# case_name='AEW06',\n",
"# whether_wait=False, nodes=1, ntasks=32, account='zpu-np', partition='zpu-np')"
]
},
{
Expand All @@ -73,8 +73,8 @@
"# from generate_gefs_ensembles import move_wrf_forecast_gefs\n",
"\n",
"# move_wrf_forecast_gefs(data_library_name='cpex',\n",
"# dir_case='/08_CPEX/04_AW_RF07_Larry',\n",
"# case_name='Larry')"
"# dir_case='/08_CPEX/05_CV_RF07_AEW06',\n",
"# case_name='AEW06')"
]
},
{
Expand Down

0 comments on commit ff7cd07

Please sign in to comment.