Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Directory structure

Gliffy Diagram
size800
nameMacros_structure
pagePin7

Typical macro structure

Code Block
languagebash
titleTypical structure of the macros
#=========================================
# Plot analysis fields
#=========================================

#-------------------------------------------------------------------------
#Available parameters:
# mslp,t2,wind10,speed10,sst
# t,z,pt,eqpt,wind,speed,w[850,500,200]
# r[850,700,500,200]
# vo850, pv320K
# tp (only for ERA5)
#
#Adding ".flag" suffix to 'wind' results in wind barbs otherwise arrows are used
#Adding ".s" suffix to 'z' results in a shaded plot instead of contours
#-------------------------------------------------------------------------

#Define plot list (min 1 - max 4)
plot1=["t850","mslp"]

#Experiment ID
# an: operational analysis
# e5: ERA5 analysis
exp_id = "e5"

#Map type: 1=Atl, 2=Norway 
mapType=1

#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#-------------------------------------
# Do not edit below this line!!!!!
#-------------------------------------
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

...

plot_maps(exp_id,plots,-1,steps,mapType)

...

Note

After the   Do not edit below this line!!!!!   line the macros should not be modified.

Study the analysis

Available macros in the Analysis folder are:

...

Info

Precipitation is available only in ERA5 data, but not in the operational analysis.

Study the operational high-resolution forecast (HRES)

Available macros in the HRES_forecast folder are:

  • hres_1x1.mv: plots the HRES forecast in 1 panel for 1 to 4 variables over a pre-defined area
  • hres_2x2.mv: plots the HRES forecast in 4 panels for several variables over a pre-defined area
  • hres_xs.mv: plots cross-section from the HRES forecast for several variables over a user-defined line
  • mv_track.mv: a "drag-and-drop" macro, users have to drop it into a plot (e.g. an mslp plot) and the macro visualizes the track on top of the original plot (track.csv is for track from the HRES forecast)

Study the user experiments

Available macros in the Experiments folder are:

...

Info

3 macro work for physics tendencies: exp_1x1.mv, exp_xs.mv and exp_profile.mv.

Forecast verification

Available macros in the Forecast_errors folder are:

...

Info

Physics tendencies cannot be verified with these macros.

Precipitation can be verified only against ERA5 data.

Saving figures

The participants will need to save plots for the group presentations on Friday. The plots generated by the macros can be easily saved into files if you run the macro not from the Macro window, but with right click on the macro and selecting the Execute point. Then the output is not displayed on the screen, but it is automatically saved into .ps and animated .gif files. The figures are stored in the figures folder which is linked into every directory mentioned above.