Metview's documentation is now on readthedocs!

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 19 Next »





















db = retrieve(
        type     : ,
        repres   : ,
        obsgroup : ,
        time     : 00,
        date     : -2,
        filter   : "select an_depar@body,fg_depar@body " &
                   "where vertco_reference_1=5"
        )                


bin_100 = binning(
        binning_x_count : 100,
        binning_y_count : 100
        )


bin_plot = odb_visualiser(
        odb_plot_type      : ,
        odb_x_variable     : "fg_depar@body",
        odb_y_variable     : "an_depar@body",
        odb_value_variable : ,
        
        odb_data           : db,
        odb_binning        : bin_100
        )


bin_grid_shade = mcont(
        legend                         : ,
        contour                        : ,
        contour_min_level              : 1,
        contour_shade_min_level        : 1,
        contour_level_count            : 20,
        contour_shade                  : ,
        contour_shade_technique        : ,
        contour_shade_method           : ,
        contour_shade_max_level_colour : ,
        contour_shade_min_level_colour : ,
        contour_shade_colour_direction : 
        )


title = mtext(
        text_line_count : 1,
        text_line_1     : "Sensor: AMSU-A  Channel: 5 Param: Tb"
        )


hor_axis = maxis(
        axis_position         : ,
        axis_title_text       : "fg_depar (K)",
        axis_tick_interval    : 0.5,
        axis_minor_tick       : ,
        axis_minor_tick_count : 4,
        axis_grid             : ,
        axis_grid_colour      : ,
        axis_grid_line_style  : 
        )


ver_axis = maxis(
        axis_orientation      : ,
        axis_title_text       : "an_depar (K)",
        axis_tick_interval    : 0.5,
        axis_minor_tick       : ,
        axis_minor_tick_count : 4,
        axis_grid             : ,
        axis_grid_colour      : ,
        axis_grid_line_style  : 
        )


scatter_view = cartesianview(
        x_min              : -1,
        x_max              : 1,
        y_min              : -1,
        y_max              : 1,
        subpage_y_position : 12.5,
        subpage_y_length   : 75,
        horizontal_axis    : hor_axis,
        vertical_axis      : ver_axis
        )


to_psfile = ps_output
(
    output_name :  
)


mode = runmode()
       (mode = )     setoutput(to_psfile)
 if  (mode = )       setoutput(to_psfile)
     print()
 if



plot(scatter_view,bin_plot,bin_grid_shade,title)
  • No labels