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

Feature/TUTT_Diag #250

Open
wants to merge 76 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 49 commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
77ec64b
create TUTT POD files
Jun 29, 2021
445e92e
Create TUTT.rst
jiacheng-atmos Jun 29, 2021
dafef19
Update TUTT.rst
jiacheng-atmos Jun 29, 2021
5defc32
Update TUTT.rst
jiacheng-atmos Jun 29, 2021
4168f62
Add files via upload
jiacheng-atmos Jun 29, 2021
3010932
Add files via upload
jiacheng-atmos Jun 29, 2021
3714b8b
Update TUTT.rst
jiacheng-atmos Jun 29, 2021
fccf8fc
Update TUTT.rst
jiacheng-atmos Jun 29, 2021
81c0c74
Update TUTT.rst
jiacheng-atmos Jun 29, 2021
67717dd
Update TUTT.rst
jiacheng-atmos Jun 29, 2021
17323b0
Create settings.jsonc
jiacheng-atmos Jun 29, 2021
4e6953b
Delete TUTT_example.png
jiacheng-atmos Jun 29, 2021
f7d5686
Add files via upload
jiacheng-atmos Jun 29, 2021
5195b5d
Delete TUTT_example.png
jiacheng-atmos Jun 29, 2021
f1a4ace
Add files via upload
jiacheng-atmos Jun 29, 2021
d9c2d85
Update TUTT.rst
jiacheng-atmos Jun 29, 2021
5cc8a5c
Update TUTT.py
jiacheng-atmos Jun 29, 2021
ce7d5e3
Update TUTT.py
jiacheng-atmos Jun 29, 2021
221c96f
Update TUTT.py
jiacheng-atmos Jun 29, 2021
68ccb0e
Update and rename TUTT_clac.py to TUTT_clac_obs.py
jiacheng-atmos Jun 29, 2021
cfa8ce4
Update TUTT_clac_obs.py
jiacheng-atmos Jun 29, 2021
ed38744
Create TUTT.html
jiacheng-atmos Jun 29, 2021
3bd60d2
Create TUTT_calc_model
jiacheng-atmos Jun 29, 2021
0987739
Update TUTT_clac_obs.py
ccchang3 Jun 29, 2021
844fed2
Update and rename TUTT_calc_model to TUTT_calc_model.py
ccchang3 Jun 29, 2021
701c63a
Update settings.jsonc
ccchang3 Jun 29, 2021
7aa755b
Update TUTT.html
ccchang3 Jun 29, 2021
5da49cd
Update TUTT.rst
ccchang3 Jul 2, 2021
5ea18ce
Update TUTT.py
jiacheng-atmos Jul 2, 2021
4e22a87
Update TUTT.py
jiacheng-atmos Jul 2, 2021
68abf6e
Update TUTT.rst
ccchang3 Jul 2, 2021
f51fb61
Update TUTT.rst
ccchang3 Jul 2, 2021
45fc75b
Update settings.jsonc
jiacheng-atmos Jul 3, 2021
3fc76e7
Update TUTT.rst
ccchang3 Jul 3, 2021
9d7ccfd
Update TUTT.html
jiacheng-atmos Jul 3, 2021
aea4fde
Update TUTT.html
jiacheng-atmos Jul 3, 2021
a72985e
Update TUTT.py
jiacheng-atmos Jul 3, 2021
69cfcac
Update settings.jsonc
jiacheng-atmos Jul 3, 2021
920cc02
Update settings.jsonc
ccchang3 Jul 3, 2021
60dee4b
Update TUTT.py
jiacheng-atmos Jul 3, 2021
537f10a
Create TUTT.py
jiacheng-atmos Jul 3, 2021
030a635
Update TUTT.html
ccchang3 Jul 6, 2021
ced70be
Update TUTT.py
ccchang3 Jul 6, 2021
deb6a08
Update TUTT.py
ccchang3 Jul 6, 2021
72103a9
Update TUTT.py
ccchang3 Jul 6, 2021
d77fe3f
Update TUTT_calc_model.py
ccchang3 Jul 6, 2021
0380d76
Update TUTT_calc_model.py
ccchang3 Jul 6, 2021
ae4dbdf
Update TUTT.rst
ccchang3 Jul 6, 2021
e038214
Update TUTT.rst
ccchang3 Jul 6, 2021
51bd367
Update settings.jsonc
ccchang3 Jul 6, 2021
b7d95d4
Update TUTT.rst
zwang-ui Jul 12, 2021
1466d86
Update TUTT.rst
zwang-ui Jul 12, 2021
f1c8600
Update TUTT.rst
zwang-ui Jul 12, 2021
714f95f
Add files via upload
jiacheng-atmos Jul 12, 2021
4951c37
Update TUTT.rst
jiacheng-atmos Jul 12, 2021
c3ad209
Add files via upload
jiacheng-atmos Jul 12, 2021
953b245
Update TUTT.rst
jiacheng-atmos Jul 12, 2021
5619208
add fig2 and table1
jiacheng-atmos Jul 12, 2021
5a5d71e
Update TUTT.rst
jiacheng-atmos Jul 12, 2021
0cf1181
Update TUTT.rst
jiacheng-atmos Jul 12, 2021
c3cb36b
Delete fig2.pdf
jiacheng-atmos Jul 12, 2021
91dd5c5
Delete fig1.pdf
jiacheng-atmos Jul 12, 2021
64e3fab
Delete fig1.png
jiacheng-atmos Jul 12, 2021
e939159
Add files via upload
jiacheng-atmos Jul 12, 2021
304829b
Add files via upload
jiacheng-atmos Jul 12, 2021
6925706
Update TUTT.rst
jiacheng-atmos Jul 12, 2021
ed372a3
Update TUTT.rst
jiacheng-atmos Jul 12, 2021
3ffeffe
Update TUTT.rst
jiacheng-atmos Jul 12, 2021
920e49a
Update TUTT.rst
jiacheng-atmos Jul 12, 2021
55f2693
Create TUTT.rst
zwang-ui Jul 12, 2021
f819f6d
Update TUTT.rst
zwang-ui Jul 12, 2021
49568a9
Update TUTT.rst
zwang-ui Jul 12, 2021
5e66b15
Update TUTT.rst
zwang-ui Jul 12, 2021
87e0742
Update TUTT.rst
zwang-ui Jul 12, 2021
53285a7
Merge branch 'NOAA-GFDL:main' into feature/TUTT
jiacheng-atmos Mar 7, 2022
20af841
Update settings.jsonc
jiacheng-atmos Mar 21, 2022
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
20 changes: 20 additions & 0 deletions diagnostics/TUTT/TUTT.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<title>MDTF TUTT diagnostic</title>
<!--HTML for top_heaviness_ratio_diag-->
<img src="../mdtf_diag_banner.png">
<h3>Tropical Upper-Troposheric Trough (TUTT) Diagnostics </h3>
<p>
Tropical upper-tropospheric troughs (TUTTs) are part of summertime stationary waves and
provide a unified framework that can be used to better understand variability of tropical
cyclones (TCs) over different basins. Identifying deficiencies in representing TUTTs has
important implications for the improved regional TC simulation in climate models. A better
understanding of how TUTTs will change as climate warms also increases our confidence in
future TC projection. This diagnostic package is used to evaluate 200-hPa TUTT area in
both climate models and reanalysis datasets.
</p>
<TABLE>
<TR>
<TH ALIGN=LEFT>TUTT
<TH ALIGN=CENTER><A HREF=model/{{CASENAME}}_TUTT_contour_model.png>plot</A>
<TH ALIGN=CENTER><A HREF=obs/TUTT_contour_obs.png>plot</A>
<TR>
</TABLE>
89 changes: 89 additions & 0 deletions diagnostics/TUTT/TUTT.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# 28 June TUTT.py
# Tropical Upper Tropospheric Trough Diagnostic Package
#
# ================================================================================
#
# Last update: 28 June, 2021
# PI: Zhuo Wang, [email protected], DAS UIUC)
# Developer/point of contact (Zhuo Wang, Gan Zhang, Chuan-Chieh Chang, and Jiacheng Ye, DAS UIUC)
#
# Tropical upper-tropospheric troughs (TUTTs) are part of summertime stationary waves and
# provide a unified framework that can be used to better understand variability of tropical
# cyclones (TCs) over different basins.Identifying deficiencies in representing TUTTs
# has important implications for the improved regional TC simulation in climate models. A better
# understanding of how TUTTs will change as climate warms also increases our confidence in
# future TC projection. This diagnostic package is used to evaluate 200-hPa TUTT area in
# both climate models and reanalysis datasets.
#
# Version and contact info
#
# - Version: 1.0
# - Contact info:
# Zhuo Wang ([email protected])
#
# ================================================================================
# Functionality
#
# 1) Calculates geostrophic zonal winds (Ug) using 200-hPa geopotential height with a fixed Coriolis parameter at 15N.
# 2) Identifies positions of the circumglobal contour of the long-term seasonal-mean Ug. The value of Ug can be specified by the user, and usually ranges from 1 to 2 m/s. The zonal-mean latitude of the circumglobal contour is chosen as the reference latitude.
# 3) The TUTT index is estimated from the area where the circumglobal contour of seasonal-mean Ug extends southward of the reference latitude.
# 4) Calculates TUTT strength and central location.
#
#
# ================================================================================
#
# All scripts of this package can be found under: /diagnostics/TUTT/
# & observational data under: /obs_data/TUTT/
#
# 3-D (time-lat-lon) 200 hPa geopotential height fields are required;
#
# Required programming language: Tested in the Python 3.7 envrionment;
# Required libraries: "netCDF4", "skimage", "numpy", "scipy", "shapely.geometry", "cartopy"
#
# ================================================================================
# Reference:
# Wang, Z., Zhang, G., Dunkerton, T. J., & Jin, F. F. (2020).
# Summertime stationary waves integrate tropical and extratropical impacts on tropical cyclone activity.
# Proceedings of the National Academy of Sciences of the United States of America, 117(37), 22720-22726. https://doi.org/10.1073/pnas.2010547117
#
# Chuan-Chieh Chang and Zhuo's paper is in preparation...
#Title: Chang, C.-C. and Z. Wang, 2021: Summertime Subtropical Stationary Waves: Variability and Impacts on the Tropical Cyclone Activity


# driver file
import os
import glob

#obs_running=1 # =1 if the user wishes to run the example; =0 if the user wishes to disable it.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these lines used?

#model_running=1 # =1 if the user wishes to run the model data; =0 if the user wishes to disable it.

missing_file=0
if len(glob.glob(os.environ["OMEGA_FILE"]))==0:
print("Required HGT200 data missing!")
missing_file=1

if missing_file == 1:
print("TUTT Diag Package will NOT be executed!")
else:
try:
os.system("python3 "+os.environ["POD_HOME"]+"/"+"TUTT_calc_obs.py")
print("The TUTT diag based on example data has been successfully conducted!")
except OSError as e:
print('WARNING',e.errno,e.strerror)
print("**************************************************")
print("TUTT_diag_obs.py based on example data is NOT Executed as Expected!")
print("**************************************************")
try:
os.system("python3 "+os.environ["POD_HOME"]+"/"+"TUTT_calc_model.py")
print("The TUTT diag based on model data has been successfully conducted!")
except OSError as e:
print('WARNING',e.errno,e.strerror)
print("**************************************************")
print("TUTT_diag_model.py based on model data is NOT Executed as Expected!")
print("**************************************************")

print("**************************************************")
print("Tropical Upper-Tropospheric Trough Diagnostics Executed!")
print("**************************************************")


Loading