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 4 Next »

Introduction

Metview 4.4 introduces new icons for Cross Section Data, Average Data, Vertical Profile Data, Cross Section View, Average View and Vertical Profile View. Their functionality remain largely the same, but the concepts have been cleaned up, with a clearer separation between the responsibilities of the Data icons and the View icons. For example, specifying that the result should be plotted with a logarithmic axis should not be part of the Data icons, but should instead be the sole responsibility of the View icons, as it is a purely visual characteristic. Additionally, some parameters were not generic enough - for example, the Top Pressure parameter can also be used when the data are in model levels, and has therefore now been renamed to Top Level.

Migrating from Metview 3 is a little different to migrating from Metview 4.3, so both cases are treated separately here.

Migrating from Metview 3 to Metview 4.4

Cross Section Data

  • Existing icons will continue to work, but with the following limitations:

    • They will appear in faded colours in the user interface
    • Pressure Level Axis will be ignored; Linear will be used. The Cross Section View can be used to change this
    • Top Pressure and Bottom Pressure will be ignored; Metview will generate its result using the whole data range. The Cross Section View can be used to change this
  • To migrate to the new icon:
    • To control the type (linear/log) or the range of the vertical axis, the use the Cross Section View
    • The macro function name has changed from cross_sect() to mcross_sect()

Average Data

  • What is true for Cross Section Data is also true for Average Data, except:

    • The Average Section View icon is used to control the visualisation aspects
    • The macro function name has changed from xs_average() to mxs_average()

Vertical Profile Data

  • What is true for Cross Section Data is also true for Vertical Profile Data, except:

    • The Vertical Profile View icon is used to control the visualisation aspects
    • The macro function name has changed from vert_prof() to mvert_prof()

Cross Section View

  • Existing icons will continue to work as they currently do

  • The new icon introduces the ability to select between nearest gridpoint and interpolated point
  • The new icon introduces the ability to supply custom axis definitions
  • To migrate to the new icon:
    • Parameter Pressure Level Axis has been replaced by Vertical Scaling
    • Parameters Top Pressure and Bottom Pressure have been replaced by Top Level and Bottom Level
    • The macro function name has changed from xsectview() to mxsectview()

Average View

  • What is true for Cross Section View is also true for Average View, except:
    •  The macro function name has changed from averageview() to maverageview()

Vertical Profile View

  • What is true for Cross Section View is also true for Vertical Profile View, except:
    • The macro function name has changed from vertprofview() to mvertprofview()
    • it gains a new parameter for setting the limits of the x-axis

Migrating from Metview 4.3 to Metview 4.4

Cross Section Data

  • See the notes under Migrating from Metview 3 to Metview 4.4.

Average Data

  • See the notes under Migrating from Metview 3 to Metview 4.4.

Vertical Profile Data

  • See the notes under Migrating from Metview 3 to Metview 4.4.

Cross Section View

  • Icons from Metview 4.3 will not be visible in the user interface. It is hoped that not many users will have used this view icon in Metview 4.3, as it was not fully implemented, and did not work in batch mode
  • The new icon introduces the ability to select between nearest gridpoint and interpolated point
  • The new icon introduces the ability to supply custom axis definitions
     
  • The macro command remains the same, mxsectview(), but  may fail if it uses the old parameter names. It is recommended to update any macros which use this function:
    • change pressure_level_axis to vertical_scaling
    • change top_pressure to top_level and bottom_pressure to bottom_level

Average View

  • What is true for Cross Section View is also true for Average View, except:
    • The macro command remains the same, maverageview()

Vertical Profile View

  • What is true for Cross Section View is also true for Vertical Profile View, except:
    • The macro command remains the same, mvertprofview()
    • it gains a new parameter for setting the limits of the x-axis

 

  • No labels