We need to revisit macros, where strings can be inserted into titles and labels. For example, the title "Flux %{RANGE}" should display "Flux 2015-05-01" when the day is displayed.
I need to go through and figure out what is supported where, and to make the support uniform. Support should also allow:
Mission: %{METADATA.GlobalAttributes.Mission_group}!cSource: %{METADATA.GlobalAttributes.Source_name}
Version=%{USER_PROPERTIES.VERSION}
I've made it so that the plotElement legend element and the plot title both use the same code (LabelConverter in org.virbo.autoplot.dom). The plot uses the first plotElement for dataset metadata.
some metadata has spaces (e.g. JPEG metadata), and this probably needs to be fixed.
some metadata has excessive data, and it would be nice to be able to use a regular expression to extract it. E.g.:
would grab just RBSP-A of "RBSP-A>Radiation Belt Storm Probe A". Or string replace, like many editors have a regex replace.
Last edit: Jeremy Faden 2015-05-05
Chris was just asking about getting at QDataSet properties, for example the CACHE_TAG, and UNITS and TITLE would be nice too. I need to make sure that these wouldn't conflict with existing names, but given that USER_PROPERTIES is already supported, anything should be supported.
You can now use ${PROPERTIES.name} to get at dataset properties. For example, ${PROPERTIES.DEPEND_1.UNITS} will print the y tag units.
See also https://sourceforge.net/p/autoplot/feature-requests/491/