Commit fc38ebf2 authored by Stephan Lorenz's avatar Stephan Lorenz
Browse files

[paleo_quickplots]: add parameter ocean_depth to temp30w salt30w, not working for dens30w

parent 0378d2ab
...@@ -1467,7 +1467,7 @@ for tave_int in tave_ints: ...@@ -1467,7 +1467,7 @@ for tave_int in tave_ints:
IaV.lon_sec, IaV.lat_sec, IaV.dist_sec, IaV.data = pyic.interp_to_section(temp, fpath_ckdtree=IcD.sec_fpath_dict[sec_name_30w]) IaV.lon_sec, IaV.lat_sec, IaV.dist_sec, IaV.data = pyic.interp_to_section(temp, fpath_ckdtree=IcD.sec_fpath_dict[sec_name_30w])
pyic.vplot_base(IcD, IaV, pyic.vplot_base(IcD, IaV,
clim=[-2., 30.], cincr=2.0, cmap='cmo.thermal', clim=[-2., 30.], cincr=2.0, cmap='cmo.thermal',
asp=0.5, do_write_data_range=True, asp=0.5, do_write_data_range=True, ocean_depth=ocean_depth,
save_data=save_data, fpath_nc=path_nc+fig_name+'.nc', save_data=save_data, fpath_nc=path_nc+fig_name+'.nc',
) )
save_fig('Temperature at 30W', path_pics, fig_name) save_fig('Temperature at 30W', path_pics, fig_name)
...@@ -1486,7 +1486,7 @@ for tave_int in tave_ints: ...@@ -1486,7 +1486,7 @@ for tave_int in tave_ints:
IaV.lon_sec, IaV.lat_sec, IaV.dist_sec, IaV.data = pyic.interp_to_section(salt, fpath_ckdtree=IcD.sec_fpath_dict[sec_name_30w]) IaV.lon_sec, IaV.lat_sec, IaV.dist_sec, IaV.data = pyic.interp_to_section(salt, fpath_ckdtree=IcD.sec_fpath_dict[sec_name_30w])
pyic.vplot_base(IcD, IaV, pyic.vplot_base(IcD, IaV,
clim=[32., 37.], cincr=0.25, cmap='cmo.haline', clim=[32., 37.], cincr=0.25, cmap='cmo.haline',
asp=0.5, do_write_data_range=True, asp=0.5, do_write_data_range=True, ocean_depth=ocean_depth,
save_data=save_data, fpath_nc=path_nc+fig_name+'.nc', save_data=save_data, fpath_nc=path_nc+fig_name+'.nc',
) )
save_fig('Salinity at 30W', path_pics, fig_name) save_fig('Salinity at 30W', path_pics, fig_name)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment