You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add parallelism with starmap: script will create plots in parallel
with the provided number of tasks via the -p argument
- Change example file to be much smaller
- Fix problem with memory leakage when making a large number of plots
Ref: matplotlib/matplotlib#20300
Script for plotting MPAS input and/or output in native NetCDF format
38
+
37
39
options:
38
40
-h, --help show this help message and exit
39
41
-c CONFIG, --config CONFIG
40
42
File used to specify plotting options
41
43
-d, --debug Script will be run in debug mode with more verbose output
44
+
-p PROCS, --procs PROCS
45
+
Number of processors for generating plots in parallel
42
46
```
43
47
44
48
The config file is where you will specify all the various options for what you want to plot, including which files, variables, levels, etc you want to plot. To setup the script to use your specific options, you’ll need to create a configuration file (`config_plot.yaml`). An example file `config_plot.yaml.example` is provided for reference, and you can view all available options in the `default_options.yaml` file.
@@ -65,7 +69,6 @@ This plotting utility is in a very early form, and has several known limitations
65
69
66
70
1. The user must know the name of the variable they want to plot, as well as the number of vertical levels if the variable has multiple.
67
71
2. Only the [PlateCarree](https://scitools.org.uk/cartopy/docs/latest/reference/projections.html#platecarree) projection is currently supported for output maps
68
-
3. The plotting script runs serially, which means it can take a long time to create a lot of large-domain plots.
69
-
4. Certain variables that have additional dimensions such as grid property values (e.g. kiteAreasOnVertex) may not work out-of-the-box.
72
+
3. Certain variables that have additional dimensions such as grid property values (e.g. kiteAreasOnVertex) may not work out-of-the-box.
0 commit comments