New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 13691 – NEMO

Changeset 13691


Ignore:
Timestamp:
2020-10-28T16:09:37+01:00 (3 years ago)
Author:
laurent
Message:

Improvements for "oce+ice capable" STATION_ASF!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r13648_ASINTER-04_laurent_bulk_ice/tests/STATION_ASF/EXPREF/plot_station_asf_OCE.py

    r13690 r13691  
    2020 
    2121dir_figs='.' 
    22 size_fig=(13,8) 
     22size_fig=(13,8.5) 
    2323size_fig0=(12,10) 
    2424 
     
    143143 
    144144# t_skin 
    145 vtemp_in = [ 'sst'            ,               'theta_zu'                 ,               't_skin'                   ] ; #,               'theta_zt'                 
    146 vtemp_lb = [ 'SST (bulk SST)' , r'$\theta_{zu}$ (pot. air temp. at 10m)' ,           'Skin temperature'             ] ; #, r'$\theta_{zt}$ (pot. air temp. at 2m)'  
    147 vtemp_cl = [  'k'             ,                clr_mod                   ,                clr_red                   ] ; #,                clr_mod                   
    148 vtemp_lw = [   3              ,                   1.3                    ,                   0.7                    ] ; #,                 2                        
    149 vtemp_ls = [     '-'          ,                   '-'                    ,                   '-'                    ] ; #,                 '-'                      
    150  
     145vtemp_in = [ 'sst'           ,               'theta_zu'               ,               'theta_zt'               ,     't_skin'       ] 
     146vtemp_lb = [ 'SST (bulk SST)', r'$\theta_{zu}$ (pot. air temp. at zu)', r'$\theta_{zt}$ (pot. air temp. at zt)', 'Skin temperature' ] 
     147vtemp_cl = [  'k'            ,                clr_mod                 ,                'purple'                ,      clr_red       ] 
     148vtemp_lw = [   3             ,                   1.3                  ,                   1.3                  ,         0.7        ] 
     149vtemp_ls = [     '-'         ,                   '-'                  ,                   '--'                 ,         '-'        ] 
    151150ntemp = len(vtemp_in) 
    152151 
     
    177176    ax1.grid(color='k', linestyle='-', linewidth=0.3) 
    178177    plt.legend(loc='best', ncol=1, shadow=True, fancybox=True) 
    179     ax1.annotate('Algo: '+L_ALGOS[ja]+', station: '+cforcing, xy=(0.4, 1.), xycoords='axes fraction',  bbox={'facecolor':'w', 'alpha':1., 'pad':10}, zorder=50, **font_inf) 
     178    ax1.annotate('Algo: '+L_ALGOS[ja]+', station: '+cforcing, xy=(0.5, 1.), xycoords='axes fraction', ha='center',  bbox={'facecolor':'w', 'alpha':1., 'pad':10}, zorder=50, **font_inf) 
    180179    plt.savefig('01_temperatures_'+L_ALGOS[ja]+'_'+cforcing+'.'+fig_ext, dpi=int(rDPI), transparent=False) 
    181180    plt.close(1) 
     
    207206         
    208207    fig = plt.figure(num = jv, figsize=size_fig, facecolor='w', edgecolor='k') 
    209     ax1 = plt.axes([0.08, 0.25, 0.9, 0.7]) 
     208    ax1 = plt.axes([0.08, 0.23, 0.9, 0.7]) 
    210209    ax1.set_xticks(vtime[::xticks_d]) 
    211210    ax1.xaxis.set_major_formatter(mdates.DateFormatter('%Y-%m-%d %H:%M:%S')) 
     
    223222    ax1.grid(color='k', linestyle='-', linewidth=0.3) 
    224223    plt.legend(loc='best', ncol=1, shadow=True, fancybox=True) 
    225     ax1.annotate(cvar_lnm+', station: '+cforcing, xy=(0.3, 1.), xycoords='axes fraction',  bbox={'facecolor':'w', 'alpha':1., 'pad':10}, \ 
     224    ax1.annotate(cvar_lnm+', station: '+cforcing, xy=(0.5, 1.04), xycoords='axes fraction', ha='center',  bbox={'facecolor':'w', 'alpha':1., 'pad':10}, \ 
    226225                 zorder=50, **font_inf) 
    227226    plt.savefig(L_VARO[jv]+'_'+cforcing+'.'+fig_ext, dpi=int(rDPI), transparent=False) 
Note: See TracChangeset for help on using the changeset viewer.