-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Describe the bug
These issues were reported by Chris Nolte in the following presentation
2024-06-verdi-issues.pptx
Issue 1: parsing configuration file
Issue 2: turn off column/row labels when configuring plot ( title, subtitle, footer, axis lines and domain and range tick labels)
Issue 3: managing white space on plot: remove footer 1 and display footer 2 in the footer 1 position.
To Reproduce
Steps to reproduce the behavior:
- Untar the tar.gz file that is provided at the bottom of this issue to your machine
- Use the verdi batch script method to load a dataset, load a configuration file, create plot, and save plot image.
- The configuration file containes options to turn off the column/row labels (axis lines and domain and range tick labels)
- verdi.command -batch $cwd/tileplot_png_test.txt
The above file contains the following content: (you will need to edit the paths in the script)
<Global>
dir=/Users/lizadams/downloads/nolte_test
configFile=/Users/lizadams/downloads/nolte_test/test_configure.cfg
f=yearlyavg_aelmo_gmt_v54_cb6r3_ae7_aq_WR413_MYR_GCAM2CMAQ_12US1_Ref_2015
f=yearlyavg_aelmo_gmt_v54_cb6r3_ae7_aq_WR413_MYR_GCAM2CMAQ_12US1_2015_2015
saveImage=png
imageDir=/Users/lizadams/downloads/nolte_test
</Global>
#######################
# Data files picked #
# up from patterns #
# specified for names #
#######################
<Task>
s=PM25[1]-PM25[2]
imageFile=PM25_Ref-2015
gtype=tile
</Task>
<Task>
s=PM25_OA[1]-PM25_OA[2]
imageFile=PM25_OA_Ref-2015
gtype=tile
</Task>
It generates the following plot for PM25:
Expected behavior
It should create the same plot as the command line option with the x and y axis lines removed, the configuration plot has been modified to hide the tick marks and axis labels by making them white, and legend removed as per the config file, except this plot also has a bug, in that the subtitle won't turn off.
cd ~/downloads/
verdi.command -f $cwd/yearlyavg_aelmo_gmt_v54_cb6r3_ae7_aq_WR413_MYR_GCAM2CMAQ_12US1_Ref_2015 -f $cwd/yearlyavg_aelmo_gmt_v54_cb6r3_ae7_aq_WR413_MYR_GCAM2CMAQ_12US1_2015_2015 -configFile $cwd/test_configure.cfg -s "PM25[1]-PM25[2]" -g tile -saveImage "png" $cwd/test.png -quit
Screenshots
Output from command line option
Desktop (please complete the following information):
- OS: Mac
Additional context
Please see the attached tar.gz file that contains the files and configuration files used in the examples above.
nolte_test.tar.gz
Chris Nolte has also updated his example to use files available from the VERDI distribution.
It is available on atmos under the following directory:
/home/cnolte/project/verdi

