Skip to content

Commit

Permalink
Merge pull request #163 from CH-Earth/devCopernicus
Browse files Browse the repository at this point in the history
updated units in global plotting code
  • Loading branch information
wknoben authored Oct 2, 2022
2 parents c097117 + fa6f73d commit 80659d0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions 7_visualization/8c_global_summa_mean_ET.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

# Define where to save the figure
fig_path = Path('/gpfs/tp/gwf/gwf_cmt/wknoben/CWARHM_data/domain_global/visualization')
fig_name = 'mean_january_1979_evap_FOR_global_v11.jpg'
fig_name = 'mean_january_1979_evap_FOR_global_v12.jpg'

# Make the folder if it doesn't exist
fig_path.mkdir(parents=True, exist_ok=True)
Expand Down Expand Up @@ -87,7 +87,7 @@
# #### Prepare plotting settings
# Basin settings
et_ttl = '(a) Mean simulated total evapotranspiration'
et_lbl = '[kg m-2 s-1]'
et_lbl = '$[kg~m^{-2}~s^{-1}]$'

# Make a global ET colormap
#colors_low = plt.cm.YlGnBu_r(np.linspace(0,1,256))
Expand Down
4 changes: 2 additions & 2 deletions 7_visualization/8d_global_summa_mean_Q.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

# Define where to save the figure
fig_path = Path('/gpfs/tp/gwf/gwf_cmt/wknoben/CWARHM_data/domain_global/visualization')
fig_name = 'mean_january_1979_runoff_FOR_global_v6.png'
fig_name = 'mean_january_1979_runoff_FOR_global_v12.png'

# Make the folder if it doesn't exist
fig_path.mkdir(parents=True, exist_ok=True)
Expand Down Expand Up @@ -86,7 +86,7 @@
# #### Prepare plotting settings
# Basin settings
q_ttl = '(b) Mean simulated total runoff'
q_lbl = '[m s-1]'
q_lbl = '$[m~s^{-1}]$'
q_col = 'Blues'
q_min = 1e-9
q_max = 1e-7
Expand Down
4 changes: 2 additions & 2 deletions 7_visualization/8e_global_mizuRoute_mean_IRF.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

# Define where to save the figure
fig_path = Path('/gpfs/tp/gwf/gwf_cmt/wknoben/CWARHM_data/domain_global/visualization')
fig_name = 'mean_january_1979_streamflow_per_segment_FOR_global_v5.png'
fig_name = 'mean_january_1979_streamflow_per_segment_FOR_global_v12.png'

# Make the folder if it doesn't exist
fig_path.mkdir(parents=True, exist_ok=True)
Expand Down Expand Up @@ -84,7 +84,7 @@
linewidth = np.maximum(np.log10(shp[stats_varId])-2,0)
river_col = 'Blues'
river_ttl = '(c) Mean simulated streamflow'
river_lbl = '[m3 s-1]'
river_lbl = '$[m^3~s^{-1}]$'
river_min = 1e-1
river_max = 1e5
river_nrm = matplotlib.colors.LogNorm(vmin=river_min, vmax=river_max)
Expand Down

0 comments on commit 80659d0

Please sign in to comment.