forked from willmayfield/mpr_plots
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplot_options.yaml
More file actions
53 lines (52 loc) · 2.46 KB
/
plot_options.yaml
File metadata and controls
53 lines (52 loc) · 2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
data:
# experiment
expt: hrrr_hwt2024
# initializations to grab data from
init_beg: 2024042912
init_end: 2024053112
# Full or relative path to filename containing MET MPR data you wish to plot. Can be a single file,
# a glob-able regex pattern match (e.g. /path/to/nc/data/*.nc), or a list of files
#filename: '/scratch2/BMC/fv3lam/RRFS_prototype/expt_dirs/nssl-mpas-hn_hwt2024/2024050112/metprd/PointStat/point_stat_NSSL-MPAS-HN_mem000_ADPSFC_NDAS_020000L_20240501_140000V.stat'
#filename: '/scratch2/BMC/fv3lam/RRFS_prototype/expt_dirs/{expt}/2024050112/metprd/PointStat/*.stat'
filename: '/scratch2/BMC/fv3lam/RRFS_prototype/expt_dirs/{expt}/??????????/metprd/PointStat/*{obtype}*060000L*.stat'
#filename: '/scratch2/BMC/fv3lam/RRFS_prototype/expt_dirs/{expt}/{init_beg}/metprd/PointStat/*.stat'
# Variable name to plot as a list. Currently only supports one variable name.
var:
- TMP
obtype: ADPSFC
# - ADPSFC
plot:
# The filename and title of the output plot(s). You can reference the following variables in the resulting plots:
# {var} = Variable name
# {units} = Variable units
# {filename} = Name of file being read for plotted data
# {fnme} = Name of file (minus extension) being read for plotted data
# {date} = The date of plotted data, in %Y-%m-%d format
# {time} = The time of plotted data, in %H:%M:%S format
filename: 'stat_plots/{expt}_{var}_{init_beg}-{init_end}.png'
title: 'Plot of {var}, for HWT experiment {expt}, {init_beg}-{init_end}'
# Range of latitudes to plot. Should be a 2-element list, with the first entry being less than the second.
# Alternatively, set to "auto" and it will show a 5% buffer surrounding the extent of the data.
latrange: auto
# - 10
# - 45
# Range of longitudes to plot. Should be a 2-element list, with the first entry being less than the second
lonrange: auto
# - -110
# - -30
# Aggregation metric, current;ly 'mean' or 'median'
agg_type: 'mean'
# Colorbar settings: Will not include colorbar if this section is omitted
colorbar:
#"horizontal" or "vertical" (don't use this yet)
orientation: vertical
# Text to tabel colorbar; can use variables described at start of "plot:" section
label: 'Units: {units}'
# Colormap for output from Matplotlib. Reference: https://matplotlib.org/stable/gallery/color/colormap_reference.html
colormap: 'PRGn'
# Image dots per inch
dpi: 300
# Image height in inches
figheight: 4
# Image width in inches
figwidth: 8