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()
tomcross_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()
tomxs_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()
tomvert_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()
tomxsectview()
Average View
- What is true for Cross Section View is also true for Average View, except:
- The macro function name has changed from
averageview()
tomaverageview()
- The macro function name has changed from
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()
tomvertprofview()
- it gains a new parameter for setting the limits of the x-axis
- The macro function name has changed from
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
tovertical_scaling
- change
top_pressure
totop_level
andbottom_pressure
tobottom_level
- change
Average View
- What is true for Cross Section View is also true for Average View, except:
- The macro command remains the same,
maverageview()
- The macro command remains the same,
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
- The macro command remains the same,