Skip to content

Commit

Permalink
auto Tripyview 1draft
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Porrmann committed Jan 30, 2025
1 parent d256dfd commit ee67e3a
Show file tree
Hide file tree
Showing 3 changed files with 484 additions and 2 deletions.
382 changes: 382 additions & 0 deletions configs/components/fesom/ESM_auto_tripy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,382 @@
#___i1lvl Parameter___
tripyrun_name: "${start_year} ${output_file} "
do_papermill: True
do_parallel: false
input_paths:
- ${outdata_path}
input_names:
- "${start_year} ${output_file}"


#ref_path: /albedo/work/projects/p_fesom/pscholz/project_TRR181/trr181_tke_ctrl_ck0.1/5/
#ref_name: $TKE$'

mesh_path: ${mesh_dir}
save_path: "${outdata_path}/Tripyview"

which_clim: 'phc3'
clim_path: '/work/ab0246/a270092/input/fesom2/hydrography/phc3.0/phc3.0_annual.nc'

ncol: 2
box: None

n_cycl: None
do_allcycl: False
year: [${start_year}, ${next_year}]
depth: None
proj: 'rob'
save_dpi: 150


#_______________________________________________________________________________
# mesh plots
hmesh:
#___2lvl Parameter___
proj: 'ortho'
box: [-30,45]
do_mesh: True
do_plt: 'tpc'
do_lsm: 'bluemarble'
#___Variables________
None:
proj: 'nears'
box: [-30, 45, 25]
nresol:
#_______________________________________________________________________________
# horizontal plots
hslice:
#___2lvl Parameter___
depths: [100, 1000]

#___Variables________
temp:
#___3lvl Parameter___
cstr: 'blue2red'
#cstr: 'cmocean.thermal'
salt:
#___3lvl Parameter___
cstr: 'cmocean.haline'
#sigma2:
##___3lvl Parameter___
#cstr: 'grads'
Kv:
#___3lvl Parameter___
do_rescale: 'log10'
cstr: 'wbgyr'
crange: [1.0e-6, 1.0e-1, 1.0e-3]
#N2:
##___3lvl Parameter___
#cstr: 'wbgyr'
ssh:
#___3lvl Parameter___
depths: None
cstr: 'grads'
cref: 0
MLD2:
#___3lvl Parameter___
depths: None
cstr: 'rygbw'
crange: [-3000, 0, -1500]

#_______________________________________________________________________________
# northern/southern stereographic plots
hslice_np:
#___2lvl Parameter___
months: [3, 9]
proj: 'nps'
box: [-180,180,40,90]
#___Variables________
a_ice:
#___3lvl Parameter___
cstr: 'wbgyr'
crange: [0,1.0,0.5]
m_ice:
#___3lvl Parameter___
cstr: 'wbgyr'
crange: [0.0, 5.0, 2.5]
MLD2:
#___3lvl Parameter___
months: [3, 9]
cstr: 'rygbw'
crange: [-3500, 0, -1700]

hslice_sp:
#___2lvl Parameter___
months: [9, 3]
proj: 'sps'
box: [-180,180,-90,-50]
#___Variables________
a_ice:
#___3lvl Parameter___
cstr: 'wbgyr'
crange: [0,1.0,0.5]
m_ice:
#___3lvl Parameter___
cstr: 'wbgyr'
crange: [0.0, 1.5, 0.75]
MLD2:
#___3lvl Parameter___
cstr: 'rygbw'
crange: [-3500, 0, -1700]

#_______________________________________________________________________________
# horizontal temp/salt climatology anomaly
hslice_clim:
#___2lvl Parameter___
depths: [100, 1000]
#___Variables________
temp:
#___3lvl Parameter___
cstr: 'blue2red'
crange: [-4, 4, 0]
salt:
#___3lvl Parameter___
cstr: 'blue2red'
#crange: [-0.5, 0.5, 0]
#_______________________________________________________________________________
# hovmöller plots absolute or with respect to reference run for different regions
hovm:
#___2lvl Parameter___
box_regions:
- mpas_region/North_Atlantic_Ocean.shp
- mpas_region/Southern_Ocean.shp
- ocean_basins/Arctic_Basin.shp
- mpas_region/Greenland_Sea.shp
- mpas_region/Irminger_Sea.shp
- mpas_region/Norwegian_Sea.shp
- mpas_region/Labrador_Sea.shp
- mpas_region/North_Pacific_Ocean.shp
- mpas_region/South_Pacific_Ocean.shp
- mpas_region/Southern_Ocean.shp
- mpas_region/Western_Weddell_Sea.shp
year: [${initial_year}, ${next_year}]
#___Variables________
temp:
salt:

#_______________________________________________________________________________
# hovmöller climatological anomaly for different regions
hovm_clim:
#___2lvl Parameter___
box_regions:
- mpas_region/North_Atlantic_Ocean.shp
- mpas_region/Southern_Ocean.shp
#- ocean_basins/Arctic_Basin.shp
#- mpas_region/Greenland_Sea.shp
#- mpas_region/Irminger_Sea.shp
#- mpas_region/Norwegian_Sea.shp
#- mpas_region/Labrador_Sea.shp
#- mpas_region/North_Pacific_Ocean.shp
#- mpas_region/South_Pacific_Ocean.shp
#- mpas_region/Southern_Ocean.shp
#- mpas_region/Western_Weddell_Sea.shp
year: [${initial_year}, ${next_year}]
#___Variables________
temp:
salt:

#_______________________________________________________________________________
# plot vertical profile of 3d variables averaged over certain regions
vprofile:
#___2lvl Parameter___
box_regions:
- ocean_basins/Arctic_Basin.shp
- ocean_basins/Eurasian_Basin.shp
- mpas_region/Canada_Basin.shp
- mpas_region/North_Atlantic_Ocean.shp
- mpas_region/Greenland_Sea.shp
- mpas_region/Irminger_Sea.shp
- mpas_region/Norwegian_Sea.shp
- mpas_region/Labrador_Sea.shp
- mpas_region/North_Pacific_Ocean.shp
- mpas_region/South_Pacific_Ocean.shp
- mpas_region/Southern_Ocean.shp
- mpas_region/Western_Weddell_Sea.shp
ncol: 4
do_clim: True
#___Variables________
temp:
salt:
Kv:
#___3lvl Parameter___
do_rescale: 'log10'

#_______________________________________________________________________________
# plot vertical profile of 3d temperature/salinity climatology anomaly averaged
# over certain regions
vprofile_clim:
#___2lvl Parameter___
box_regions:
- ocean_basins/Arctic_Basin.shp
- ocean_basins/Eurasian_Basin.shp
- mpas_region/Canada_Basin.shp
- mpas_region/North_Atlantic_Ocean.shp
- mpas_region/Greenland_Sea.shp
- mpas_region/Irminger_Sea.shp
- mpas_region/Norwegian_Sea.shp
- mpas_region/Labrador_Sea.shp
- mpas_region/North_Pacific_Ocean.shp
- mpas_region/South_Pacific_Ocean.shp
- mpas_region/Southern_Ocean.shp
- mpas_region/Western_Weddell_Sea.shp
ncol: 4
#___Variables________
temp:
salt:


#_______________________________________________________________________________
#plot vertical mean cross sections, arbitrary oriented transect

transect:
#___2lvl Parameter___
transects:
- [[ -66, -66],[-67,-55], 'Drake Passage']
- [[ -30, -30],[-80, 90], '30°W, 80°S-90°N']
- [[-170, -170],[-80, 90], '170°W, 80°S-90°N']
#- [[-56.5,-52.1,-49.8,-49.5,-49.0,-47.6,-45.7,-44.0,-42.8,-37.8,-35.2,-30.6,-27.9,-21.0,-12.3,-9.2,-4.0], [ 51.0, 52.7, 53.6, 55.0, 56.5, 59.0, 59.8, 60.4, 60.0, 59.6, 59.2, 58.9, 58.0, 58.0, 57.5,57.0,57.0], 'OSNAP']
#- [[-56.5,-52.1,-49.8,-49.5,-49.0,-47.6,-45.7,-44.0], [ 51.0, 52.7, 53.6, 55.0, 56.5, 59.0, 59.8, 60.4], 'OSNAP-West']
#- [[-44.0,-42.8,-37.8,-35.2,-30.6,-27.9,-21.0,-12.3,-9.2,-4.0], [ 60.4, 60.0, 59.6, 59.2, 58.9, 58.0, 58.0, 57.5,57.0,57.0], 'OSNAP-East']
#___Variables________
temp:
#___3lvl Parameter___
cstr: 'cmocean.thermal'
salt:
#___3lvl Parameter___
cstr: 'cmocean.haline'
Kv:
#___3lvl Parameter___
cstr: 'wbgyr'
do_rescale: 'log10'
crange: [-1.0e-6, 1.0e-0, 1.0e-3]
#KvN2:
##___3lvl Parameter___
#cstr: 'blue2red'
#do_rescale: 'slog10'
#crange: [-1.0e-8, 1.0e-8, 1.0e-12]

#_______________________________________________________________________________
# plot vertical clim anomaly mean cross sections, arbitrary oriented transect
transect_clim:
#___2lvl Parameter___
transects:
- [[ -66, -66],[-67,-55], 'Drake Passage']
- [[ -30, -30],[-80, 90], '30°W, 80°S-90°N']
- [[-170, -170],[-80, 90], '170°W, 80°S-90°N']
#- [[-56.5,-52.1,-49.8,-49.5,-49.0,-47.6,-45.7,-44.0,-42.8,-37.8,-35.2,-30.6,-27.9,-21.0,-12.3,-9.2,-4.0], [ 51.0, 52.7, 53.6, 55.0, 56.5, 59.0, 59.8, 60.4, 60.0, 59.6, 59.2, 58.9, 58.0, 58.0, 57.5,57.0,57.0], 'OSNAP']
#- [[-56.5,-52.1,-49.8,-49.5,-49.0,-47.6,-45.7,-44.0], [ 51.0, 52.7, 53.6, 55.0, 56.5, 59.0, 59.8, 60.4], 'OSNAP-West']
#- [[-44.0,-42.8,-37.8,-35.2,-30.6,-27.9,-21.0,-12.3,-9.2,-4.0], [ 60.4, 60.0, 59.6, 59.2, 58.9, 58.0, 58.0, 57.5,57.0,57.0], 'OSNAP-East']
#___Variables________
temp:
#___3lvl Parameter___
cstr: 'blue2red'
crange: [-4, 4, 0]
salt:
#___3lvl Parameter___
cstr: 'blue2red'
crange: [-0.5, 0.5, 0]
sigma2:
#___3lvl Parameter___
cstr: 'blue2red'

#______________________________________________________________________________
# plot vertical section of volume transport through transect
transect_transp:
#___2lvl Parameter___
transects:
- [[ -66, -66],[-67,-55], 'Drake Passage']
#- [[ -30, -30],[-80, 90], '30°W, 80°S-90°N']
#- [[-170, -170],[-80, 90], '170°W, 80°S-90°N']
#- [[-56.5,-52.1,-49.8,-49.5,-49.0,-47.6,-45.7,-44.0,-42.8,-37.8,-35.2,-30.6,-27.9,-21.0,-12.3,-9.2,-4.0], [ 51.0, 52.7, 53.6, 55.0, 56.5, 59.0, 59.8, 60.4, 60.0, 59.6, 59.2, 58.9, 58.0, 58.0, 57.5,57.0,57.0], 'OSNAP']
#- [[-56.5,-52.1,-49.8,-49.5,-49.0,-47.6,-45.7,-44.0], [ 51.0, 52.7, 53.6, 55.0, 56.5, 59.0, 59.8, 60.4], 'OSNAP-West']
#- [[-44.0,-42.8,-37.8,-35.2,-30.6,-27.9,-21.0,-12.3,-9.2,-4.0], [ 60.4, 60.0, 59.6, 59.2, 58.9, 58.0, 58.0, 57.5,57.0,57.0], 'OSNAP-East']
plt_contb: False
cstr: 'blue2red'

#______________________________________________________________________________
# plot time series of volume transport through transect
transect_transp_t:
#___2lvl Parameter___
transects:
- [[ -66, -66],[-67,-55], 'Drake Passage']
#- [[-56.5,-52.1,-49.8,-49.5,-49.0,-47.6,-45.7,-44.0,-42.8,-37.8,-35.2,-30.6,-27.9,-21.0,-12.3,-9.2,-4.0], [ 51.0, 52.7, 53.6, 55.0, 56.5, 59.0, 59.8, 60.4, 60.0, 59.6, 59.2, 58.9, 58.0, 58.0, 57.5,57.0,57.0], 'OSNAP']
year: [${initial_year}, ${next_year}] #VARIABLE!!!!
do_allcycl: False
do_concat: False

##_______________________________________________________________________________
## plot zonally averaged section
#transect_zmean:
#___2lvl Parameter___
box_regions:
- global
- ocean_basins/Atlantic_Basin.shp
- ocean_basins/Pacific_Basin.shp
- ocean_basins/Indian_Basin.shp
#___Variables________
temp:
#___3lvl Parameter___
cstr: 'cmocean.thermal'
salt:
#___3lvl Parameter___
cstr: 'cmocean.haline'
sigma2:
#___3lvl Parameter___
cstr: 'cmocean.dense'
Kv:
#___3lvl Parameter___
do_rescale: 'log10'
cstr: 'wbgyr'
crange: [1.0e-6, 1.0e-0, 1.0e-4]
#N2:
##___3lvl Parameter___
#do_rescale: 'log10'
#cstr: 'wbgyr'
#crange: [1.0e-8, 1.0e-4, 1.0e-6]
#KvN2:
##___3lvl Parameter___
#do_rescale: 'slog10'
#cstr: 'blue2red'
#crange: [1.0e-8, 1.0e-8, 1.0e-12]

# plot climatology bias of zonally averaged section
transect_zmean_clim:
#___2lvl Parameter___
box_regions:
- global
- ocean_basins/Atlantic_Basin.shp
- ocean_basins/Pacific_Basin.shp
- ocean_basins/Indian_Basin.shp
##___Variables________
temp:
#___3lvl Parameter___
crange: [-2.0,2.0,0]
cstr: 'blue2red'
salt:
#___3lvl Parameter___
crange: [-0.75,0.75,0]
cstr: 'blue2red'
sigma2:
#___3lvl Parameter___
crange: [-0.35,0.35,0]
cstr: 'blue2red'

#_______________________________________________________________________________
# plot meridional overturning streamfunction based on z-coordiante vertical
# velocity for different basins
zmoc:
#___2lvl Parameter___

#___Variables________
gmoc:
amoc:
ipmoc:

# plot time series of maximum AMOC upper circulation cell
zmoc_t:
#___2lvl Parameter___
which_lats: [26, 40, 'max']
year: [${initial_year}, ${next_year}] #VARIABLE!!!
do_allcycl: False
#___Variables________
amoc:
Loading

0 comments on commit ee67e3a

Please sign in to comment.